Context
A torn-out vessel's native control route — the record that lets the engine move, resize, focus and close a real OS window — has no test anywhere in the tree. Its absence is not theoretical: it blocked #18532 for three days, across three probes, twice because the person reading it (me) could not tell a correct null from a defect.
Measured 2026-09-17, headed, viewport: null, real display, one real pop-out of commits through the header action, three runs:
| read |
value |
nativeRouteTtl |
5000 ms |
| click → adopted |
199 / 297 / 199 ms |
popup hasOpener / openerMain |
true / true |
| session token after boot |
consumed |
main window nativeRoute |
null |
popped-out vessel nativeRoute |
full record, all four capabilities true |
manager.Window entry for the vessel |
identical record |
The asymmetry is the point and it is correct behaviour: main has no opener, so it can mint no route for itself; a vessel's route is minted by its opener at Main.mjs:1288-1311 and consumed once by the popup at Main.mjs:22-62. Nothing says so in a test, so nativeRoute: false on a main-window read looks exactly like a broken pop-out.
Live latest-open sweep at 2026-09-17T13:30Z over the latest 20 open issues, plus a targeted search on nativeRoute / vessel / popup capabilities across all states: only #18532, which this serves. A2A: no claim. Own-assignment sweep: no overlap.
The Problem
resolveAdmissions reads the target's nativeRoute to grant targetHasHandle, and NativeVesselTransaction.parkVessel refuses the whole park on !admissions.targetFocus.granted. So this record is the precondition for every native vessel operation — park, re-show, transfer, close — and it is unobserved.
Three failure modes it leaves open, all silent:
- A regression in minting or consuming produces no error.
consumeNativeWindowRoute returns null on five separate conditions; resolveNativeWindowRoute has an early return and a bare catch. The popup then caches null at module scope (Main.mjs:10, :23) with no retry, for that window's lifetime.
- A capability silently narrowing.
capabilities is computed per-window from typeof win.moveTo === 'function' and friends. If one turns false, parks stop working and nothing names why.
- The main/popup asymmetry gets read as a defect, which is exactly what happened on #18532 — and cost three probes before a deliberate side-by-side read settled it.
The Architectural Reality
src/Main.mjs:10 — let nativeWindowRoute; at module scope, the once-per-window cache.
src/Main.mjs:22-62 — resolveNativeWindowRoute, reading the opener-planted token from the popup's own sessionStorage and consuming it through the opener.
src/Main.mjs:337 — resolved inside getWindowData(), on connect.
src/Main.mjs:748-778 — consumeNativeWindowRoute, which computes capabilities and registers the handle.
src/dashboard/dock/Workspace.mjs:974 — the pop-out calling Neo.Main.windowOpen, the minting entry point.
src/dashboard/dock/window/NativeVesselTransaction.mjs:69-70 — where the route is read back for admissions.
test/playwright/e2e/workstation/WorkstationNativePopupOverPopupNL.spec.mjs:180 — the popOut helper this arm copies (corrected: it is a trimmed duplicate, not a reuse — neither spec is CI-enrolled, so the two will drift unseen; e2e/utils is the home, tracked separately). Its rig facts 1–3 are why the spec needs viewport: null.
The Fix
One e2e arm beside the existing workstation specs: pop out a vessel through the real header action and assert the route the engine will rely on.
- the vessel's
manager.Window entry carries a nativeRoute with close, focus, position and resize all true
- the main window's entry carries
nativeRoute: null — the same read, opposite expectation, which is what makes the first assertion mean something rather than "some window somewhere has a route"
No product change.
Acceptance Criteria
Out of Scope
- #18532's outer-footprint witness. This is its precondition, not a partial delivery of it — AC-1/AC-2 there are about park/re-show geometry and are untouched.
- Any change to minting, consuming, or the TTL. Measured at 199–297 ms against a 5000 ms budget, so the TTL is not in play; if that ever inverts it is a product ticket, not this one.
- CI enrolment. This needs a real display and
viewport: null; the e2e tier emulates the viewport, so the arm would be vacuous there. It is a headed maintainer instrument and the spec says so.
Avoided Traps
- ⛔ Do not assert only that a route exists. Main's
null is the control; without it the arm passes on any run where any window happens to have one.
- ⛔ Do not read
nativeRoute as a boolean. It is a record or null, and coercing it is precisely the misreading that produced #18532's phantom blocker — "all three windows reported nativeRoute: false" was a main-window null generalised over popups.
- ⛔ Do not mint the route directly from the test. AC-3: that asserts the mechanism while skipping the pop-out that must reach it.
Related
- #18532 — the witness this unblocks; its four measured preconditions are the map
- #18515 — the
frame = rect − chrome repair whose e2e witness #18532 exists to build
- #17844 — the Brain-gated e2e selection, which excludes 88 of 116 spec files when
NEO_AGENTOS_RUNTIME_ROOT is unset; this arm is in that set
Origin Session ID: 2b78af80-54a8-4e14-afd8-85c6dfe41004
Retrieval Hint: "popped-out vessel nativeRoute capabilities witness, main window null is correct, precondition for native vessel park admissions"
Context
A torn-out vessel's native control route — the record that lets the engine move, resize, focus and close a real OS window — has no test anywhere in the tree. Its absence is not theoretical: it blocked #18532 for three days, across three probes, twice because the person reading it (me) could not tell a correct
nullfrom a defect.Measured 2026-09-17, headed,
viewport: null, real display, one real pop-out ofcommitsthrough the header action, three runs:nativeRouteTtlhasOpener/openerMaintrue/truenativeRoutenullnativeRoutetruemanager.Windowentry for the vesselThe asymmetry is the point and it is correct behaviour: main has no opener, so it can mint no route for itself; a vessel's route is minted by its opener at
Main.mjs:1288-1311and consumed once by the popup atMain.mjs:22-62. Nothing says so in a test, sonativeRoute: falseon a main-window read looks exactly like a broken pop-out.Live latest-open sweep at 2026-09-17T13:30Z over the latest 20 open issues, plus a targeted search on nativeRoute / vessel / popup capabilities across all states: only #18532, which this serves. A2A: no claim. Own-assignment sweep: no overlap.
The Problem
resolveAdmissionsreads the target'snativeRouteto granttargetHasHandle, andNativeVesselTransaction.parkVesselrefuses the whole park on!admissions.targetFocus.granted. So this record is the precondition for every native vessel operation — park, re-show, transfer, close — and it is unobserved.Three failure modes it leaves open, all silent:
consumeNativeWindowRoutereturnsnullon five separate conditions;resolveNativeWindowRoutehas an early return and a barecatch. The popup then cachesnullat module scope (Main.mjs:10,:23) with no retry, for that window's lifetime.capabilitiesis computed per-window fromtypeof win.moveTo === 'function'and friends. If one turns false, parks stop working and nothing names why.The Architectural Reality
src/Main.mjs:10—let nativeWindowRoute;at module scope, the once-per-window cache.src/Main.mjs:22-62—resolveNativeWindowRoute, reading the opener-planted token from the popup's ownsessionStorageand consuming it through the opener.src/Main.mjs:337— resolved insidegetWindowData(), on connect.src/Main.mjs:748-778—consumeNativeWindowRoute, which computescapabilitiesand registers the handle.src/dashboard/dock/Workspace.mjs:974— the pop-out callingNeo.Main.windowOpen, the minting entry point.src/dashboard/dock/window/NativeVesselTransaction.mjs:69-70— where the route is read back for admissions.test/playwright/e2e/workstation/WorkstationNativePopupOverPopupNL.spec.mjs:180— thepopOuthelper this arm copies (corrected: it is a trimmed duplicate, not a reuse — neither spec is CI-enrolled, so the two will drift unseen;e2e/utilsis the home, tracked separately). Its rig facts 1–3 are why the spec needsviewport: null.The Fix
One e2e arm beside the existing workstation specs: pop out a vessel through the real header action and assert the route the engine will rely on.
manager.Windowentry carries anativeRoutewithclose,focus,positionandresizealltruenativeRoute: null— the same read, opposite expectation, which is what makes the first assertion mean something rather than "some window somewhere has a route"No product change.
Acceptance Criteria
manager.Windowentry has anativeRoutewhose four capabilities are alltrue, read from the app worker, which is the surfaceresolveAdmissionsconsults.nativeRoute: nullin the same run. This is the control: it is what a correct absence looks like, and the pair is what distinguishes it from a broken pop-out.Main.windowOpendirectly. Calling the minting entry point directly would assert that minting works while skipping the path that has to reach it.viewport: null, stated in the spec with the reason: an emulated viewport reports chrome0and places real windows off a screen the page believes is smaller.nullon main is correct, so the next reader of anativeRoute: falsedoes not repeat #18532's three probes.Out of Scope
viewport: null; the e2e tier emulates the viewport, so the arm would be vacuous there. It is a headed maintainer instrument and the spec says so.Avoided Traps
nullis the control; without it the arm passes on any run where any window happens to have one.nativeRouteas a boolean. It is a record ornull, and coercing it is precisely the misreading that produced #18532's phantom blocker — "all three windows reportednativeRoute: false" was a main-windownullgeneralised over popups.Related
frame = rect − chromerepair whose e2e witness #18532 exists to buildNEO_AGENTOS_RUNTIME_ROOTis unset; this arm is in that setOrigin Session ID: 2b78af80-54a8-4e14-afd8-85c6dfe41004
Retrieval Hint: "popped-out vessel nativeRoute capabilities witness, main window null is correct, precondition for native vessel park admissions"