Deus Ex: actual driver input preflight before browser construction

The demonstrated JSON omission is repaired in the run-owned preparation of the actual natural-writer driver. Twelve offline cases pass; the intact captured file closure reaches the injected launch callback without constructing Chrome. The local default runtime cannot be qualified: puppeteer-core is absent here. A successor needs the previously qualified Puppeteer 25.7.0 CJS/ESM environment and executable /usr/bin/google-chrome, followed by fresh controls and HTTP qualification. This is preparation evidence, not game launch or natural writers.

The failed attempt is 0829d7e87. Evidence and runnable helpers are in scratch/runs/20261104-deusex-complete-driver-input-preflight/. No production code changed. The ignored helpers are retained there, with new implementation patches, the actual-driver delta, Git SHA and relevant binary diff for recovery.

Actual inputs and the causal repair

stage.cjs starts from the captured driver's exact SHA-256 b4fa63911fa7d0985baab9908892f0ec427039d3bc1c96b361d76a9400950bc1. It stages an explicit list of small inputs, including native-paths.json, 1,171 bytes, SHA-256 7c37fb7cc2321763d157a237c5ea12330291421d015dc36fdee16efb3679fc8a. There is no upload glob. staging-plan.json lists 25 small input transfers (1,232,263 bytes total) and 462 existing-only input references by path, size and SHA-256. Its SHA-256 is 574c8ac716e016f1885a16dbb270d0c8cf1b5d6573183f577b470076176ae173. Two transferred files are manifests; the remaining transfers plus existing-only references form the 485 verified pins.

The actual driver is generated from its captured body with narrow changes:

The preflight derives 251 required names from actual inputs: original app registry exe/DLL/file lists, all 19 native JSON DLL paths, current page/Worker script lists, literal nested relative requires, and explicit late driver/control inputs. It checks every declared pin, including non-JavaScript inputs. A future registry mechanism such as localFileManifest requires a closure update rather than being silently ignored. The captured-driver hash and unique patch anchors bound this implementation to this driver's actual dynamic expressions; this is not a claim that regexes discover every possible JavaScript dependency.

The closure includes INI/U/INT/map/texture/audio data, fonts and substitutions, support DLLs and TLB, original fixture, original and compatible WASM, nested helpers, and archived replay inputs. Media/modules remain at existing paths; none were copied. Both existing WASM files matched the captured pins: 4ddc8336097ef4b8503c6e6d2bb7fb05a2a1084800322523c8959b7128ca217a and d4c5171a2865a1dbc360d53e3a32fbfa2149e1bcdabaf57ee6dad4bd9338a367. Notepad remains the authorized existing 53,248-byte e7b01ab8… fixture reference. The small archived capture is losslessly expanded to a distinct run input: 927,592 bytes, exact raw SHA-256 77096a5d507c4536acdc23127476bcc9b5591148facef700a4cce8644bf6123a. Its existing compressed original is preserved. The integration control's fallback observer.cjs is explicitly included, even when the positive arm uses the published adapter.

Historical unused helper-directory aliases and the old remote supervisor's package.json are not requirements of this prepared driver. The complete old 566-pin manifest remains unchanged at the predecessor evidence path. Root source, media and build pins were retained without repinning. Newly generated helper pins are explicitly separate. The HTTP helper uses the staged actual server and prerequisite helpers; its unused historical session.cjs import is removed.

Focused evidence and limits

focused-tests.json records twelve actual-driver cases. Ten file-input negative cases cover omitted JSON manifest entry, absent companion, changed path, same-size changed bytes with identical parsed paths, different declared companion hash, missing late producer helper, missing nested readiness helper, omitted nested native DLL pin, absent nested DLL, and absent INI. Each fails before server construction and before the launch callback. DLL/INI absence uses narrowly scoped I/O fault injection; no shared media is renamed, changed or copied.

The intact case hashes all 485 real files, runs the actual generated driver with the captured clock, constructs/closes its actual ephemeral HTTP server, and reaches exactly one injected launch callback. That callback throws OFFLINE_LAUNCH_BOUNDARY; no browser object or Chrome import is constructed. The twelfth case invokes the default actual driver and confirms the local missing Puppeteer prerequisite also fails before server construction. The captured clock allows testing the original finite deadline; it does not establish a new runtime window. test-composition.cjs additionally passes the published composition, return-preservation, duplicate rejection, driver bounds and capture ordering checks. intact-preflight.json independently records the real file check.

All eight predecessor control command hashes were rechecked unchanged, including integration a7e61017…, queued transport b201cb17…, optional/pixel 1be33be0…, replay fdb1acd8…, and composed actual afdf1f5f…. Their published results are preserved, not rerun locally: no WASM compilation, heavy CLI, Chrome, original game or owning collector interval ran. A local HTTP qualification invocation stopped at MODULE_NOT_FOUND: puppeteer-core; http-preflight.log preserves it. No HTTP/import success or full-build success is claimed for this worker.

Precise successor recipe

Use a separately assigned original-run runtime. Do not resume the old box. Locally, regenerate/check inputs with:

node scratch/runs/20261104-deusex-complete-driver-input-preflight/stage.cjs
node scratch/runs/20261104-deusex-complete-driver-input-preflight/test-preflight.cjs

Transfer each exact uploads entry from staging-plan.json, retaining its relative target, verifying size/SHA-256 at destination. This includes both JSON manifests and every listed non-CJS input. Verify all existingOnly references; missing/different media or modules are a prerequisite, not permission to copy or repin them. The plan's outer hash above binds the two manifests. Restore the qualified source/build by recorded Git plus predecessor narrow patch/rebuild recipes if necessary; never transfer a source archive or module/media binary. stage.cjs runs locally, not against a remote root with different predecessor helper locations. Keep the run's relative directory unchanged on the target.

On the assigned runtime, from its repository root, use a fail-fast shell:

set -e
export DEUSEX_OUTPUT="$PWD/scratch/runs/20261104-deusex-complete-driver-input-preflight"
export DEUSEX_PIXEL_INPUT="$DEUSEX_OUTPUT/archived-producer.json"
export OBSERVER_HELPER="$PWD/lib/deusex-ordered-producer-observer.js"
export RESULT_NAME='../20261104-deusex-complete-driver-input-preflight/integration-result.json'
node "$DEUSEX_OUTPUT/input-preflight.cjs"
node -e 'require(process.env.DEUSEX_OUTPUT+"/input-preflight.cjs").runtimeLaunch().then(()=>console.log("runtime imports/executable ready"))'
node "$DEUSEX_OUTPUT/test-composition.cjs"
node tools/check-browser-cache-versions.js --self-test
node scratch/runs/20261104-deusex-worker-observer-integration/integration.cjs
node scratch/runs/20261104-deusex-worker-observer-integration/transport.cjs
node "$DEUSEX_OUTPUT/test-next-boundaries-fixed.cjs"
node "$DEUSEX_OUTPUT/replay.cjs"
node "$DEUSEX_OUTPUT/test-composed-actual.cjs"
node "$DEUSEX_OUTPUT/http-preflight.cjs"
node "$DEUSEX_OUTPUT/input-preflight.cjs"

Retain each command's log, return code and command hash. Preserve the queued transport result at its original helper directory. Repeat the predecessor's served checks for both WASM paths: exact pinned size/SHA-256 plus isolation and no-store headers. The HTTP helper qualifies the current actual script graph; do not use its old 157 count as an expectation after adding explicit inputs. Any failure is terminal before Chrome.

Only once these pass, with an assigned future UTC DEUSEX_CLOSE_AT and the full eight-minute browser window plus recovery reserve fitting the assignment, the existing supervisor should invoke once:

node "$DEUSEX_OUTPUT/next-driver-fixed.cjs"

The supervisor supplies the actual future close timestamp; the captured 2026-11-04T12:23:00Z default has expired. Retain first-failure/no-retry behavior, normal original launch and natural readiness/observation; no guest calls, writes, forced Draw/repaint or speculative emulator/pixel modification.

No box was assigned or accessed by this worker. Coordinator board reports old bx_g8gbdt7c STOPPED normally at 2026-11-04T12:17:18.162Z, prior expiry 12:34:58.651Z. Its custody remains with the coordinator; it was not resumed. This task ends after explicit-path publication. There is no original-writer, allocation-lifetime, gameplay or fresh-pixel claim from these offline tests.