Context
Operator screen recording, 2026-10-19 13:42Z, the v13.3 cut day: in apps/workstation, the v13.2 flagship, a pane torn out by its tab and carried back over the main window does not reintegrate (seconds 15–17). Main paints an accepted tab-into preview under the hand, the release commits the tear-out instead, and the live session's receipt reads lastCrossWindowTransfer: {applied: true, errors: ['Popup Workspace workstation-vessel:alerts left its pane in provisional chrome']}. Operator: an issue in the flagship app is a release blocker.
Reproducing it surfaced a second defect on the native title-bar path. Both reproduce in a real browser (Playwright, CDP window moves, the real mouse) on dev ddcd2eddf9 and on the v13.2.0 release source (b3c78f5523). Reversing the post-release dock commits (#19841, #19775, #19778) one at a time changes neither: both shipped with v13.2.0.
The Problem
- Edge release (the recording). Tear a pane out past the window edge, carry the vessel back over main's right column short of the 60 % reattach overlap, and main paints an accepted in-window preview under the pointer. On release the zone is still detached, so it fires
dockTearOutTerminal: the detach commits and the pane stays in its popup, booted or still booting.
- Second title-bar return. Pop a pane out and return it by its OS title bar; pop a second one out and return it the same way: the second never docks. The first return's vessel stays in
VesselPark.parked, so every later park is refused (seven retries, then the drop is abandoned without a trace).
The Architectural Reality
src/dashboard/dock/interaction/TabSortZone.mjs: onDragMove fires dockCrossZoneDragMove, the in-window preview, on every frame, detached or not; processDragEnd routes every detached release to dockTearOutTerminal.
- Design authority (1): ADR 0029 §2.8.6, amended
#19533: "inside a window it is that window's tab-header proxy, outside every window it is a vessel, the rule re-entry into the source window always followed."
src/dashboard/dock/window/VesselPark.mjs: onConversionIn refuses while any slot is held; the coordinator's committed terminal disposes the park. VesselWorkspace#onNativeWindowRelease (apps/workstation/view/VesselWorkspace.mjs) closes the returned vessel once main adopts and clears the coordinator's candidate first, so that terminal never runs, and nothing tells the park.
- Design authority (2): the
VesselPark contract: "Commit is the ONLY disposition … the slot clears only after strict success", and onVesselRetired "Forgets a vessel another owning lifecycle has already retired."
- Coverage: the workstation NL battery returns one popup per session, and its morph arm cancels rather than drops. Hosted CI runs it (
e2e-brain, blocking, since 2026-10-13) and passed with both bugs in, because no arm made either gesture.
The Fix
TabSortZone.processDragEnd: a detached release whose pointer lies inside the source window's drag boundary is a re-entry. The zone fires dragBoundaryEntry (the host retires the vessel, zero mutation), then dockCrossZoneDrop at the release point. A release outside still fires dockTearOutTerminal.
VesselWorkspace#onNativeWindowRelease: the release retires the park when the released window is the parked vessel's, matched by workspace key or window id.
- Found while proving (1): the re-entry retires a booted vessel, which leaves the Group while the drop's write prepares, and
Commit refuses any write whose member set changed. DragAffordances#onDrop commits its operation rather than only the document, and WorkspaceSet#commit reduces an operation once more at the queue head when that refusal (now code: 'participants-changed') is the reason.
Contract Ledger
| Surface |
Authority |
Behavior |
Fallback |
Docs |
Evidence |
dockTearOutTerminal (TabSortZone → host) |
ADR 0029 §2.8.6 |
fires only for a detached release outside the source window |
a release inside re-enters and fires dockCrossZoneDrop |
processDragEnd JSDoc |
DockTabSortZone.spec.mjs arms |
VesselPark slot of a released vessel |
VesselPark contract |
retired by the native release |
— |
retireReleasedPark JSDoc |
Workspace.spec.mjs arms |
Commit membership refusal |
Commit.run |
the error carries code: 'participants-changed' |
message unchanged |
inline |
DockWorkspaceSetTransaction.spec.mjs arms |
dock operation commit (WorkspaceSet#commit) |
the Group queue head |
an operation refused by a membership change is reduced once more |
a whole-document write is never re-sent |
commit JSDoc |
DockWorkspaceSetTransaction.spec.mjs arms |
Decision Record impact: aligned-with ADR 0029 §2.8.6.
Acceptance Criteria
Out of Scope
- A native drop that lands while main is still settling a previous return is abandoned on its first null preview instead of awaiting
answerWhenPreviewable (follow-up).
Related
#17844, #19533, #19264, #19775, #19778, #19841
Live latest-open sweep: the 20 latest open issues at 15:14Z, no equivalent (#19655 owns running the NL tier in CI).
A2A claim sweep: the latest 30 lane-claims, none on the dock or the workstation.
MC sweep: "popup dragged back over the main window does not reintegrate … second popup return never docks", no prior decision on either path; the 2026-09-03 finding that the multi-window e2e covers one path recurs here.
Own-assignment sweep: 5 open, none on this surface.
Origin Session ID: 89fbb599-fb07-489d-a8ac-b016affdeab0
Retrieval Hint: "popup carried back over main lands in its popup; second titlebar return never docks; VesselPark stale parked slot; detached release inside the source window"
Context
Operator screen recording, 2026-10-19 13:42Z, the v13.3 cut day: in
apps/workstation, the v13.2 flagship, a pane torn out by its tab and carried back over the main window does not reintegrate (seconds 15–17). Main paints an accepted tab-into preview under the hand, the release commits the tear-out instead, and the live session's receipt readslastCrossWindowTransfer: {applied: true, errors: ['Popup Workspace workstation-vessel:alerts left its pane in provisional chrome']}. Operator: an issue in the flagship app is a release blocker.Reproducing it surfaced a second defect on the native title-bar path. Both reproduce in a real browser (Playwright, CDP window moves, the real mouse) on
devddcd2eddf9and on the v13.2.0 release source (b3c78f5523). Reversing the post-release dock commits (#19841,#19775,#19778) one at a time changes neither: both shipped with v13.2.0.The Problem
dockTearOutTerminal: the detach commits and the pane stays in its popup, booted or still booting.VesselPark.parked, so every later park is refused (seven retries, then the drop is abandoned without a trace).The Architectural Reality
src/dashboard/dock/interaction/TabSortZone.mjs:onDragMovefiresdockCrossZoneDragMove, the in-window preview, on every frame, detached or not;processDragEndroutes every detached release todockTearOutTerminal.#19533: "inside a window it is that window's tab-header proxy, outside every window it is a vessel, the rule re-entry into the source window always followed."src/dashboard/dock/window/VesselPark.mjs:onConversionInrefuses while any slot is held; the coordinator's committed terminal disposes the park.VesselWorkspace#onNativeWindowRelease(apps/workstation/view/VesselWorkspace.mjs) closes the returned vessel once main adopts and clears the coordinator's candidate first, so that terminal never runs, and nothing tells the park.VesselParkcontract: "Commit is the ONLY disposition … the slot clears only after strict success", andonVesselRetired"Forgets a vessel another owning lifecycle has already retired."e2e-brain, blocking, since 2026-10-13) and passed with both bugs in, because no arm made either gesture.The Fix
TabSortZone.processDragEnd: a detached release whose pointer lies inside the source window's drag boundary is a re-entry. The zone firesdragBoundaryEntry(the host retires the vessel, zero mutation), thendockCrossZoneDropat the release point. A release outside still firesdockTearOutTerminal.VesselWorkspace#onNativeWindowRelease: the release retires the park when the released window is the parked vessel's, matched by workspace key or window id.Commitrefuses any write whose member set changed.DragAffordances#onDropcommits its operation rather than only the document, andWorkspaceSet#commitreduces an operation once more at the queue head when that refusal (nowcode: 'participants-changed') is the reason.Contract Ledger
dockTearOutTerminal(TabSortZone → host)dockCrossZoneDropprocessDragEndJSDocDockTabSortZone.spec.mjsarmsVesselParkslot of a released vesselVesselParkcontractretireReleasedParkJSDocWorkspace.spec.mjsarmsCommitmembership refusalCommit.runcode: 'participants-changed'DockWorkspaceSetTransaction.spec.mjsarmsWorkspaceSet#commit)commitJSDocDockWorkspaceSetTransaction.spec.mjsarmsDecision Record impact: aligned-with ADR 0029 §2.8.6.
Acceptance Criteria
Out of Scope
answerWhenPreviewable(follow-up).Related
#17844,#19533,#19264,#19775,#19778,#19841Live latest-open sweep: the 20 latest open issues at 15:14Z, no equivalent (
#19655owns running the NL tier in CI). A2A claim sweep: the latest 30 lane-claims, none on the dock or the workstation. MC sweep: "popup dragged back over the main window does not reintegrate … second popup return never docks", no prior decision on either path; the 2026-09-03 finding that the multi-window e2e covers one path recurs here. Own-assignment sweep: 5 open, none on this surface.Origin Session ID: 89fbb599-fb07-489d-a8ac-b016affdeab0 Retrieval Hint: "popup carried back over main lands in its popup; second titlebar return never docks; VesselPark stale parked slot; detached release inside the source window"