Invisible War chain integration on current main — 2026-10-15
Source integration prepared off main and subsequently merged by root at
3fdb29373325607fc2780a5d64832e5b3dd4ac08. Subsequent normal
build and native conformance passed on module 04ede with the reviewed fixture
repair: see combined validation results.
The preparation record below describes the earlier source-only phase.
This task branch starts at main 88cb3c77973aee82b55255fce1a13f4339cc2298.
It applies the selected diff from held base
eb26d3a567d0a71ba6c1672afbebd82836d36d65 to
4a65118df097b7a9f9244bde186862a70d56c9ae, excluding
tools/iw-native-validation.py. Historical documents retain their original
commands and claims; that omitted Python controller can be recovered from its
historical commit, but is not a supported current integration runner.
The three-way application had no textual conflicts. The integrated
lib/thread-manager.js retains main's guarded cooperative crash diagnostics
and the held chain's send scheduling, callback ownership, loader publication,
and exact receiver retirement. Relative to the held thread manager, the only
difference is the current-main crash diagnostic block. Other unrelated main
changes remain intact. Scalar cross-process messages remain the supported
scope; pointer marshalling and original Invisible War execution are not proven.
Two historical native test filenames are explicitly assigned to the E2E tier
in tools/test-tiers.js: receiver-retirement-native and scoped-dll-native.
They require an admitted module and are inappropriate for default unit runs.
Local verification completed in a 6.9 MB explicit non-cone sparse checkout:
- Syntax checks for all selected JavaScript and whitespace checks.
- Main's actual cooperative crash diagnostic regression, including throwing exports and logging sinks.
- Full process-send-admission tiny-module actual Worker suite: deferred receiver exit, trap, replacement, raw process exit/error, sender retirement, nested sends, independent scheduling, and exact ownership.
- Process broker; thread send frame ownership; scoped loader and scoped yields; wait identity and reservation; scoped DLL lifecycle.
- Actual Worker admission cycle reproduction (
--admission).
During that initial preparation, no full WAT/WASM build, native full-module test, remote command, browser,
original IW run, main merge, or deployment was performed for this integration.
The prior receiver-retirement evidence is
scratch/runs/20261015-iw-receiver-native/attempt1-reviewed, archived with SHA-256
5fa94ff85bd3e54d362d2939e8c26c639ee29bf21d62a6b2429a0e6aad5588f5.
It tested candidate 66 / old f859 / restored under canonical a948. It does not
prove the combined current-main build.
The subsequent validation used a separately reviewed bounded JavaScript controller to stage the complete tracked build closure and dependencies in an isolated remote checkout, pin physical source bytes, run the full build, record the produced module hash, and run combined native conformance. The existing historical native controllers deliberately pin older sources and a948; they must not be relabeled as current-build proof. Updating the native fixtures for an explicit expected combined module hash and running admission, scoped loader, receiver retirement and cross-process native routes is recorded in the linked result. Root owns the sole remote lane, its grant, TODO/STATUS, and any integration decision.
Selected held paths:
docs/iw-admission-native-20261015.mddocs/iw-current-lifecycle-port-20261015.mddocs/iw-independent-send-admission-20261015.mddocs/iw-native-scoped-endpoints-20261015.mddocs/iw-native-source-audit-20261015.jsondocs/iw-native-validation-20261015.mddocs/iw-receiver-retirement-native-20261015.mddocs/iw-retirement-native-validation-20261015.mddocs/iw-retirement-slot-fix-20261015.mddocs/iw-scoped-callback-yields-20261015.mddocs/iw-scoped-lifecycle-20261015.mddocs/iw-send-cycle-regression-20261015.mddocs/iw-send-frame-ownership-20261015.mddocs/iw-send-wait-ownership-20261015.mddocs/iw-send-wait-reservation-20261015.mddocs/iw-send-wait-retirement-20261015.mddocs/re-notes/deus-ex-invisible-war-demo.mdhost.jsindex.htmllib/dll-loader.jslib/guest-thread-host.jslib/guest-worker.jslib/host-window.jslib/process-boot.jslib/process-send-broker.jslib/thread-manager.jslib/thread-send-waits.jssrc/09a5-handlers-window.wattest/run.jstest/test-admission-native-candidate.jstest/test-cross-thread-send.jstest/test-dll-same-module-concurrent.jstest/test-dll-worker-message-lifecycle.jstest/test-process-send-admission.jstest/test-process-send-broker.jstest/test-process-send-runtime.jstest/test-receiver-retirement-native.jstest/test-retirement-native-candidate.jstest/test-scoped-dll-endpoints-candidate.jstest/test-scoped-dll-lifecycle.jstest/test-scoped-dll-native.jstest/test-thread-send-frame-ownership.jstest/test-thread-send-scoped-loader.jstest/test-thread-send-scoped-yields.jstest/test-thread-send-wait-identity.jstest/test-thread-send-wait-reservation.jstest/test-worker-thread-scheduler.jstools/repro-process-send-cycle.jstools/repro-thread-send-wait-ownership.jstools/repro-thread-send-wait-retirement.jstools/run-admission-native-candidate.jstools/run-receiver-retirement-native.jstools/run-retirement-native-candidate.js