Caesar III deadline-safe host quit and native food route — 2026-11-12

RESULT

Repair 78b4ae2a4 publishes the actual Caesar browser caller as tools/caesar3-native-browser.cjs. Its authorized host-only quit precedes the gameplay deadline check and uses a separate bounded teardown authorization. The gameplay deadline, reviewed-image hash/freshness checks, live owner check and balanced input-release behavior remain enforced. Closure is shared by concurrent waiters and acknowledges completion only after the owned Chrome child close and server close; unknown closure cannot produce a success receipt.

The focused test extracts the actual emitted action and close functions. A real owned Chrome child and HTTP server demonstrate that expired gameplay input is refused with zero effects, while authorized quit sends only Browser.close, joins Chrome with code 0 and both pipe EOFs, removes its profile and closes the server. The actual fixture parent joins with code 0 and both EOFs. Separate controls retain wrong-owner, stale-image, wrong-hash, missing-review and unknown mouse press/release refusals; expired teardown authorization sends no effect.

Evidence root: scratch/runs/20261112-caesar3-deadline-safe-quit-food-1420/. emitted-controls.log, actual-input-controls.json, owned-child/, fixture-parent-wait.json, transport-tests.log and build.log retain the focused emitted controls, 13 transport tests and successful locked build. emitted-requester-controls.log additionally exercises retained observation, unknown POST and rejected native ACK through the actual requester.

The complete emitted command consumer was also exercised, with its frozen 690-file closure and real owned Chrome/server children. In the late-quit case, command 0 arrived after the gameplay cutoff, received its native ACK, and the actual parent joined 0 with both EOFs. In a separate late-gameplay case, command 0 was refused at the exact gameplay deadline assertion before any trusted input or later capture; the ordinary failure path still completed host browser/server teardown and the actual parent joined 1 with both EOFs. Both Chrome child closes were 0/no signal. This distinction is retained in full-consumer-controls.json, the two full-consumer-*/ output directories, and their actual parent receipts. No game was launched in these lifecycle fixtures and no guest callback was forced.

Assignment 2 food was not reached. The fresh native city ended paused in May 500 BC, 69 residents, after sixteen accepted housing plots, four wells and two prefectures. Shared disk headroom shrank to less than 4 MB above the 1.5 GB floor, preventing the remaining capture-heavy native route while preserving recovery space. This is a renewed storage blocker, not evidence of a game food defect. The prior accepted 1135 Victory → Clerk → Assignment 2 transition is preserved independently. Prior local exit 143 remains of unknown cause; this repair does not reinterpret it.

Prelaunch failure retained

First private box bx_wx8q47ea had an observable independently prearmed four-hour watchdog. All 692 staged hashes passed, but the final emitted closure check still required the former run-local browser.cjs after the caller moved into tools/. That assertion returned 1 in command 6477, before any browser launch or game input. Custody remained terminal; it was not reset or replayed.

Disposal-only recovery retrieved the command's actual output logs with verified hashes. Delegated normal stop stop_beced832af54f67d completed at 14:26:53.858Z, unforced, error null; final state archived, expiry null. Actual manager, watchdog and launcher parent waits all returned 0 with both EOFs. The corrected closure check was then exercised locally through the actual emitted provision function before allocating a fresh box.

Native observations and storage blocker

Fresh box bx_hkwu5rhk entered through ordinary title → Start new game → approved name C → Assignment 1 → To the city. Paused through construction and selected native 100% game speed. Reserved the Senate area and two service-frontage cells, built eight northern and eight southern housing plots, and placed four wells. A southern well placement first returned Must build on cleared land; it was not counted. Clearing its unoccupied tile and a second eastern tile cost 2 denarii each, after which the two remaining wells were accepted at 5 each.

Ordinary immigration produced the first-fire tutorial at 61 residents in April; the last captured premodal live frame had 62. Dismissing the tutorial showed 70, then pausing showed 69 in May. Built two prefectures at the reserved southern road sites for 20 denarii each. Their staffing was not inspected. No Senate, new Victory, promotion, Assignment 2 entry, granary or wheat consequence is claimed for this run.

Available shared space was 1,699,217,408 bytes early in provision and 1,503,997,952 bytes when the remaining route was stopped. Only our own verified raw capture duplicates and closed journal duplicates were removed. Packing 25 exact PNG gzip streams saved only about 0.3 MB. Candidate PNG recompression did not reproduce original streams, so none of those originals was removed on that basis. No claim of continuous floor compliance is made from sparse samples; the reported blocker is the observed remaining headroom. No original allocation occurred below the floor, no RAM gate or workers were used, and no source/media archive was made.

All 68 native commands have ACKs: 59 physical clicks, five keys, one launch, two capture-only commands and one quit. There were no unknown-command, native-command-failure or release-failure outputs. Console logs retain 59 trusted mouse-down observations and ten trusted key observations; do not relabel this as paired DOM mouse-up evidence. Balanced release follows the actual emitted helper and successful command completion. DemoSave remained disabled; there were no guest population, clock, food, resource, configuration or media writes and no fabricated save/continuation.

RECOVERY and disposition

The four-hour independent watchdog was armed and observed before each allocation. The fresh box's original expiry was 2026-11-12T18:27:22.271Z. Shutdown began promptly when the native storage blocker was established. Actual quit completed successfully; Chrome child close was 0 / no signal, the actual browser parent wait was 0 with both EOFs, and independent inspection found all recorded runtime PIDs absent, its profile removed and its server port closed. All 690 runtime hashes passed after closure. Captured module remained 04c534192ee3fe39e388536c2ce710c12c47a5cd2ca4d95c19f9d00b1e8f0a17; original EXE remained d7c73f21d3837b1fc465a6035f4fea6ab5a7eddf62907c72c4dd076a5193d236.

Retrieved and reread 367 unique output member hashes, plus 68 unique full captures referenced by 136 remote raw/compressed paths. The retained output-only attempt2/unique-output.tar.gz has SHA-256 16cb810f9d5aeec6b71337bcb2c6412fcbab50cf39a2e138db2228ef9a512b30. Every tar member was verified without materializing a duplicate uncompressed output tree. closed-audit.json, retrieval-verified.json, unique-output-manifest.json and the PNG transfer indexes preserve the verification. The first 25 exact capture gzip files are members of reviewed-captures-0.xz, with individual hashes in its adjacent JSON; the other 43 remain individually compressed. All 68 original PNG hashes were reread from these retained representations.

Delegated normal stop stop_a4efe3a6870147ab completed at 14:52:43.655Z, forced:false, error:null; final box state archived, expiry null. Actual manager, independent watchdog and launcher parent waits each returned 0 with both EOFs. No box was resumed, deleted, retained or publicly exposed. Exact Git source base, relevant binary diff, owned helper patches and frozen runtime/media hashes provide recovery; Git remains the source archive. Journal compression indexes distinguish a closed prefix from later append-only API events.

Next: restore shared headroom sufficient to retain the rest of the ordinary route, then start fresh through the accepted compact tutorial/Victory/Clerk route and build/fill the Assignment 2 granary with wheat. These stopped boxes provide no saved continuation.