Context
Found by @neo-opus-grace while verifying #19990 (headless Chrome through the Neural Link fixture), defect-note 2026-10-22 15:10Z; identical on dev 8abdcf978c, so it predates the #19990 work. Filed by me at Grace's request, as part of the Workstation patch-release board (milestone v13.3.1). Grace takes the implementation after #20006 merges, so VesselWorkspace.mjs keeps one writer.
Observed (Grace, dev 8abdcf978c): press Audit in the flagship Workstation, drag past the viewport so a vessel opens, wait for the vessel's domcontentloaded plus ~1.5 s, then release.
lastCrossWindowTransfer reads {applied: true, errors: ["Popup Workspace workstation-vessel:audit left its pane in provisional chrome"]}.
- The App worker logs
PopupWorkspace: the landed pane's repaint render failed with Symbol(Neo.isDestroyed).
- The existing tear-out specs release on a different timing and stay green.
Not re-run by the filer yet (the seat is running the full suite for the release gate); the reproduction is Grace's, with her steps above. Observation and inference are kept apart below.
The Problem
A tear-out has two stage targets in time: the provisional chrome a born vessel shows at once (#19210), and the committed projection's host that replaces it. The commit path (mountVesselWorkspace, moving arm) assumes the committed projection's refresh moves the staged pane out of the chrome by identity, then retires the empty chrome. When the release comes late, the retirement finds the pane still inside the chrome and the mount throws left its pane in provisional chrome; the catch releases the pane detached (releasePanes: true), the error propagates to the transfer's caller, which records applied: true with the error and skips the commit's later steps. The second log line (repaint render failed, isDestroyed) is consistent with the released pane being destroyed or re-created underneath repaintLandedPane: inferred, not measured.
Why late matters (inference, for the fix to confirm): with an early release the vessel's Workspace host is still projecting when the pane is staged, so the reconciler's same-window DOM move carries the pane into the host; after ~1.5 s the host has settled, the staged pane arrives after the projection the mount awaits, and nothing moves it. The failure is an ordering between two asynchronous arrivals, not a size or key problem.
The Architectural Reality
apps/workstation/view/VesselWorkspace.mjs
registerVesselWorkspaceTarget (:527) → mountVesselWorkspace(state.workspaceId) (:539).
mountVesselWorkspace (:753): moving = chrome?.parent === target && Boolean(body?.items.length) (:759); the moving arm awaits host.refreshPromise, then requires retireProvisionalVesselChrome(state.windowId) to return true (:779–781); the catch retires with {releasePanes: true} and rethrows (:786–787).
retireProvisionalVesselChrome (:847) returns false while the chrome's card body holds a pane unless releasePanes (:854–858).
- The transfer callers record the receipt:
lastCrossWindowTransfer = {applied: committed, errors: [...]} (:1456) and {applied: false, errors: [error.message]} (:1496).
apps/workstation/view/PopupWorkspace.mjs repaintLandedPane (:211–227) logs the repaint failure of a surviving pane.
- Precedent: #19264 fixed the committed tear-out re-rendering the pane instead of moving its node out of the chrome; #19186 fixed a parked vessel outliving the commit that consumed its pane. This ticket is the remaining timing arm of the same seam.
Design authority: ADR 0029 §2.8.2 (the gesture outcome machine: a committed target completes its commit or rolls back; a receipt that says applied: true while carrying a commit error and skipped steps is neither) and §2.8.3 (vessel lifecycle and admission).
The Fix
The owner's call (Grace, after #20006); the direction that fits the seam:
- Make the moving arm of
mountVesselWorkspace independent of arrival order: when the committed projection's refresh has already run, move the staged pane out of the chrome by identity into the host's dock tab container (the #19264 move, not a re-render), then retire the chrome; or await the pane's arrival in the host before retiring.
- A commit that cannot place the pane must not leave
applied: true with errors: either it completes, or the receipt says applied: false and the pane returns to its source (§2.8.2).
- #20006 rewrites
registerVesselWorkspaceTarget (adds workspaceKey, keys the vessel by its minted Group key), so the error text and the entry point change; this fix lands after it, in the same function family.
Acceptance Criteria
Out of Scope
- #20006 (the vessel's key and registry identity).
- #20017 (the warm-reload remount race).
- The repaint layer itself (
repaintLandedPane) beyond the log it emits here.
Avoided Traps
- Retiring with
releasePanes: true in the moving arm unconditionally: it detaches a live pane and re-renders it, the #19264 defect in reverse.
- Swallowing the thrown error so the receipt reads clean: the pane would still sit in the wrong parent.
- A fixed wait before the commit: the race is between two arrivals, and a wait moves the window instead of closing it.
Related
#19990 (found there) · #20006 · #20017 · #19264 · #19210 · #19186 · ADR 0029 · D#19994 · milestone v13.3.1
Live latest-open sweep: checked latest 20 open issues at 2026-10-22T21:26:57Z; no equivalent found (#20017 is the warm-reload race, #20006 the popup-origin tab).
Keyword sweep "provisional chrome" (all states): #19264, #19250, #19210, #19220, #19866, #19186, all closed; none covers the late-release commit.
A2A claim sweep: latest 30 messages, all read-states, at 21:27Z; the only claim on this scope is Grace's request that I file it (MESSAGE:b7a7fe24).
MC sweep: "tear-out release after the vessel loaded leaves the pane in the provisional chrome": the #19210 implementation record explains the chrome's refusal while a pane is inside; no prior decision on the late ordering.
Own-assignment sweep: #20009, #17918, #17416, #16212; none overlapping.
Lead-role convergence artifact: milestone v13.3.1 and the lane broadcast MESSAGE:069bb9a2.
Origin Session ID: 020c66cb-f735-4d6b-bb13-34f35a4b90ec
Retrieval Hint: "late tear-out release provisional vessel chrome retire false applied true errors"
Context
Found by @neo-opus-grace while verifying #19990 (headless Chrome through the Neural Link fixture), defect-note 2026-10-22 15:10Z; identical on
dev8abdcf978c, so it predates the #19990 work. Filed by me at Grace's request, as part of the Workstation patch-release board (milestone v13.3.1). Grace takes the implementation after #20006 merges, soVesselWorkspace.mjskeeps one writer.Observed (Grace, dev 8abdcf978c): press Audit in the flagship Workstation, drag past the viewport so a vessel opens, wait for the vessel's
domcontentloadedplus ~1.5 s, then release.lastCrossWindowTransferreads{applied: true, errors: ["Popup Workspace workstation-vessel:audit left its pane in provisional chrome"]}.PopupWorkspace: the landed pane's repaint render failedwithSymbol(Neo.isDestroyed).Not re-run by the filer yet (the seat is running the full suite for the release gate); the reproduction is Grace's, with her steps above. Observation and inference are kept apart below.
The Problem
A tear-out has two stage targets in time: the provisional chrome a born vessel shows at once (#19210), and the committed projection's host that replaces it. The commit path (
mountVesselWorkspace, moving arm) assumes the committed projection's refresh moves the staged pane out of the chrome by identity, then retires the empty chrome. When the release comes late, the retirement finds the pane still inside the chrome and the mount throwsleft its pane in provisional chrome; the catch releases the pane detached (releasePanes: true), the error propagates to the transfer's caller, which recordsapplied: truewith the error and skips the commit's later steps. The second log line (repaint render failed,isDestroyed) is consistent with the released pane being destroyed or re-created underneathrepaintLandedPane: inferred, not measured.Why late matters (inference, for the fix to confirm): with an early release the vessel's Workspace host is still projecting when the pane is staged, so the reconciler's same-window DOM move carries the pane into the host; after ~1.5 s the host has settled, the staged pane arrives after the projection the mount awaits, and nothing moves it. The failure is an ordering between two asynchronous arrivals, not a size or key problem.
The Architectural Reality
apps/workstation/view/VesselWorkspace.mjsregisterVesselWorkspaceTarget(:527) →mountVesselWorkspace(state.workspaceId)(:539).mountVesselWorkspace(:753):moving = chrome?.parent === target && Boolean(body?.items.length)(:759); the moving arm awaitshost.refreshPromise, then requiresretireProvisionalVesselChrome(state.windowId)to return true (:779–781); the catch retires with{releasePanes: true}and rethrows (:786–787).retireProvisionalVesselChrome(:847) returnsfalsewhile the chrome's card body holds a pane unlessreleasePanes(:854–858).lastCrossWindowTransfer = {applied: committed, errors: [...]}(:1456) and{applied: false, errors: [error.message]}(:1496).apps/workstation/view/PopupWorkspace.mjsrepaintLandedPane(:211–227) logs the repaint failure of a surviving pane.Design authority: ADR 0029 §2.8.2 (the gesture outcome machine: a committed target completes its commit or rolls back; a receipt that says
applied: truewhile carrying a commit error and skipped steps is neither) and §2.8.3 (vessel lifecycle and admission).The Fix
The owner's call (Grace, after #20006); the direction that fits the seam:
mountVesselWorkspaceindependent of arrival order: when the committed projection's refresh has already run, move the staged pane out of the chrome by identity into the host's dock tab container (the #19264 move, not a re-render), then retire the chrome; or await the pane's arrival in the host before retiring.applied: truewith errors: either it completes, or the receipt saysapplied: falseand the pane returns to its source (§2.8.2).registerVesselWorkspaceTarget(addsworkspaceKey, keys the vessel by its minted Group key), so the error text and the entry point change; this fix lands after it, in the same function family.Acceptance Criteria
test/playwright/e2e/workstation/), a main-sourced tear-out released after the vessel'sdomcontentloadedplus 1.5 s commits:lastCrossWindowTransfer.applied === truewitherrorsempty, the pane is mounted inside the vessel's dock tab container, and the provisional chrome is gone. Red on base, green at head.left its pane in provisional chromeand norepaint render failederror in any window's console; the arm asserts on the console itself, since theworkerErrorsfixture does not see main-thread errors from other windows.mountVesselWorkspacecovers the late ordering: the chrome still holds the pane after the host's refresh, and the mount either moves it or reportsapplied: falsewith no orphaned pane.Out of Scope
repaintLandedPane) beyond the log it emits here.Avoided Traps
releasePanes: truein the moving arm unconditionally: it detaches a live pane and re-renders it, the #19264 defect in reverse.Related
#19990 (found there) · #20006 · #20017 · #19264 · #19210 · #19186 · ADR 0029 · D#19994 · milestone v13.3.1
Live latest-open sweep: checked latest 20 open issues at 2026-10-22T21:26:57Z; no equivalent found (#20017 is the warm-reload race, #20006 the popup-origin tab). Keyword sweep "provisional chrome" (all states): #19264, #19250, #19210, #19220, #19866, #19186, all closed; none covers the late-release commit. A2A claim sweep: latest 30 messages, all read-states, at 21:27Z; the only claim on this scope is Grace's request that I file it (MESSAGE:b7a7fe24). MC sweep: "tear-out release after the vessel loaded leaves the pane in the provisional chrome": the #19210 implementation record explains the chrome's refusal while a pane is inside; no prior decision on the late ordering. Own-assignment sweep: #20009, #17918, #17416, #16212; none overlapping. Lead-role convergence artifact: milestone v13.3.1 and the lane broadcast MESSAGE:069bb9a2.
Origin Session ID: 020c66cb-f735-4d6b-bb13-34f35a4b90ec Retrieval Hint: "late tear-out release provisional vessel chrome retire false applied true errors"