Context
Grace captured this as a defect-note on 2026-10-10 at 14:03Z. DockOperationsNL › "a deferred first document cannot poison the SharedWorker mount or later edge resizes" failed 2 of 10 runs on dev 6c1e478f9d, with worker ownership holding two edge-zone root shells for root: one mounted, one mounted: false.
I reproduced it independently on dev 453915f332. A local probe, never committed, re-read ownership every 250 ms for up to 5 s after the arm's own read:
- Of 70 runs, 6 read two shells. In each of the 6, the bootstrap shell (
neo-container-1, mounted) sat beside the real document's shell (neo-container-3, mounted: false), and verifyComponentConsistency read consistent: false.
- All 6 settled by the next 250 ms tick, leaving one shell: the real one, mounted. A consistency read after the settle returned
true, and the arm's later edge-resize steps passed.
The Problem
The arm reads ownership and consistency once, after two gates. Both gates pass before the projection's shell swap finishes. The worker commits the deferred document (five items) first, and at that moment the DOM still holds exactly one root shell, the bootstrap one. About 9% of runs read in that window and fail, even though the engine settles a moment later.
The Architectural Reality
test/playwright/e2e/dashboard/DockOperationsNL.spec.mjs, in that arm: a topology poll and a DOM count gate, then a single findInstances({parentId}) plus verifyComponentConsistency read.
- The fixture is
test/playwright/component/apps/dock-first-mount/app.mjs: a DeferredDockWorkspace with a bootstrap document, whose real document commits before the first mount.
- Design authority: #17888, the defect this arm guards, defines the poison as permanent: "the workspace comes up wrong and stays wrong … the old shell never left … Not self-healing". A swap that completes within 250 ms is not that defect.
The Fix
The fix is test-only. Poll worker ownership, bounded at about 5 s, until it holds exactly one mounted edge-zone root shell for root, and only then read verifyComponentConsistency. A second shell that never leaves, #17888's poison, still fails the arm when the poll times out. No engine change.
Acceptance Criteria
Out of Scope
The engine's order of commit before projection. It settles within 250 ms, and the arm's guarantee does not need it changed.
Related
Live latest-open sweep: checked the latest 20 open neo issues at 2026-10-10T14:18:31Z, plus a search for the arm's title; no equivalent found. A2A claims in the last 60 minutes: only my own lane-intent. Memory Core sweep: no prior decision on this arm. Own assignments: no overlap.
Retrieval Hint: "DockOperationsNL deferred first document root shell mid-swap settle gate"
Origin Session ID: c8bc6416-bf17-4e1c-9183-0ce0d7aeed48
Context
Grace captured this as a defect-note on 2026-10-10 at 14:03Z.
DockOperationsNL› "a deferred first document cannot poison the SharedWorker mount or later edge resizes" failed 2 of 10 runs ondev6c1e478f9d, with worker ownership holding twoedge-zoneroot shells forroot: one mounted, onemounted: false.I reproduced it independently on
dev453915f332. A local probe, never committed, re-read ownership every 250 ms for up to 5 s after the arm's own read:neo-container-1, mounted) sat beside the real document's shell (neo-container-3,mounted: false), andverifyComponentConsistencyreadconsistent: false.true, and the arm's later edge-resize steps passed.The Problem
The arm reads ownership and consistency once, after two gates. Both gates pass before the projection's shell swap finishes. The worker commits the deferred document (five items) first, and at that moment the DOM still holds exactly one root shell, the bootstrap one. About 9% of runs read in that window and fail, even though the engine settles a moment later.
The Architectural Reality
test/playwright/e2e/dashboard/DockOperationsNL.spec.mjs, in that arm: a topology poll and a DOM count gate, then a singlefindInstances({parentId})plusverifyComponentConsistencyread.test/playwright/component/apps/dock-first-mount/app.mjs: aDeferredDockWorkspacewith a bootstrap document, whose real document commits before the first mount.The Fix
The fix is test-only. Poll worker ownership, bounded at about 5 s, until it holds exactly one mounted
edge-zoneroot shell forroot, and only then readverifyComponentConsistency. A second shell that never leaves, #17888's poison, still fails the arm when the poll times out. No engine change.Acceptance Criteria
--repeat-each=40at the PR head. The same loop read 6 of 70 runs mid-swap ondev.Out of Scope
The engine's order of commit before projection. It settles within 250 ms, and the arm's guarantee does not need it changed.
Related
Live latest-open sweep: checked the latest 20 open neo issues at 2026-10-10T14:18:31Z, plus a search for the arm's title; no equivalent found. A2A claims in the last 60 minutes: only my own lane-intent. Memory Core sweep: no prior decision on this arm. Own assignments: no overlap.
Retrieval Hint: "DockOperationsNL deferred first document root shell mid-swap settle gate"
Origin Session ID: c8bc6416-bf17-4e1c-9183-0ce0d7aeed48