This is the gesture phase already planned by #15614. Phase 1's staging extraction shipped through #15616 / #15617. The current source is examples/dashboard/crossWindow/DemoBWorkspace.mjs, not the old app path; it still mixes 4,406 lines of host ownership and demo choreography. The current seam map and Euclid's peer read identify a separable next responsibility.
The Problem
The demo's cross-window gesture driver, source probe, readiness/cancellation reads and witness receipts occupy roughly 900 lines inside the workspace. Readers changing the host still have to navigate this choreography, although it supports only the existing Workbench-to-first-popup demonstration. The parent’s broader host, keyboard and perspective maintenance remains open; moving this responsibility does not complete it.
The Architectural Reality
At d9eb21fa5f, the gesture methods run at lines 1762–2683. The stage facade positionCrossWindowStage at 2152–2154 is inside that textual interval but belongs with the existing stage composition. describeCrossWindowChromeMismatch at 101–137 is an outside-range dependency with an existing named export consumed by unit tests.
Stats, context, settlement resolver and generation stay host-owned and live. The executor replaces crossWindowStats; commit, native admission, disconnect, cancellation and destruction consume it outside this range. A captured construction snapshot or second store would change the contract.
src/core/Base.mjs#destroy removes writable instance fields before delayed work can resume. A separately owned driver handle could therefore disappear before cleanup calls the host's probe-restoration method. src/Neo.mjs#applyMixins copies prototype methods; TopologySeams, already mixed into this host, is the same-owner behavior precedent. Mixin methods overwrite colliding class methods, so the executor must not reuse the host facade's name.
Design authority: #15614's operator-directed maintenance outcome, preserving existing facades and behavior. The docking design record §2.3 permits this per-host stage composition; adopting the normative Workspace superclass is not a prerequisite.
The Fix
Add examples/dashboard/crossWindow/DemoBCrossWindowGesture.mjs as a registered, state-free Neo.core.Base mixin. Move the gesture/probe/cancellation methods there as prototype methods. Keep executeCrossWindowStep(step, options) on the workspace and delegate to a distinctly named internal runner through the host's normal method dispatch, passing the existing static semantic workspace IDs. Preserve viaDesktop = roundTrip and every existing receipt/refusal.
All internal calls continue resolving current host methods, including wrappers installed after construction. Keep the stage facade and semantic commit/native lifecycle ownership on the host. Preserve or re-export the existing named chrome helper. Delete the moved implementations from the workspace rather than leaving a second copy.
Placement: the existing Body example's crossWindow/ directory, beside DemoBCrossWindowStage.mjs; not src/dashboard/, because the Workbench/first-popup choreography is demo-specific. The Engine's Structural Inventory and docking ADR were read; this adds no directory or generic subsystem. The new module has class/method JSDoc explaining ownership rather than historical ticket narration.
Contract Ledger
Surface
Authority
Preserved behavior
Refusal / fallback
Evidence
executeCrossWindowStep(step, options)
Existing host method and TourRunner consumer
Same options, promise and receipt shape; Workbench → first popup only; current host method dispatch
Same unsupported-step, missing-pane and runtime error receipts
An intervening replacement is not overwritten; delayed cleanup remains callable after destruction
Focused lifecycle and wrapper tests
Stage and semantic commit facades
Existing DemoBCrossWindowStage and host methods
positionCrossWindowStage, openCrossWindowStage, adoptCommittedTransferPair and commit ownership remain host-side and wrappable
Existing cancellation/settlement behavior
Projection-before-open and adoption/retirement ordering controls
Named chrome helper
Existing import from DemoBWorkspace
Same exported function and result shape even if implementation moves
Existing mismatch diagnostics
Existing unit imports and native receipt
Acceptance Criteria
The gesture/probe/cancellation implementation has one demo-local owner; the workspace removes it and retains its public entry point. No new driver instance, callback bundle or state store is introduced.
Existing method signatures/options, result shapes, dynamic facade wrappers and named chrome-helper import remain valid. The 104-case DemoBWorkspace/TourRunner baseline passes without weakening its assertions.
Focused tests cover source-probe own/inherited restoration, an intervening replacement, live stats after replacement, and cleanup after destruction. Cancellation retains Escape-before-mouseup ordering and cannot add a semantic commit.
The existing native cross-window transfer, desktop round trip and Escape cancellation journeys pass, preserving pane identity and document outcomes; the third-claimant stage remains independent. State headed/native evidence separately from unit and hosted CI evidence.
The full unit suite and affected existing E2E controls pass. No changes to generic Dock protocols, stage/native ownership, perspective behavior or the tour script; no retired pointer-park/conversion machinery is restored.
New/changed methods carry accurate JSDoc and summaries. The PR reports the removed workspace code and retained ownership, and leaves #15614 open for its other phases.
Out of Scope
Workspace superclass adoption, the remaining host/keyboard/perspective phases, new gesture targets, changing timing/receipt thresholds, Engine collaborator rewrites, film production, and the retired vessel-conversion witnesses.
Avoided Traps
Do not reproduce the old callback-factory prescription or instantiate a new state owner just to shorten the file. Do not capture host methods or stats at construction. Do not move positionCrossWindowStage because it lies between the gesture methods. Do not treat a mixin as a wrapper that leaves overridden host methods intact: use distinct internal runner naming. Preserve the actual assertion contracts from the later receipt and pointer-park corrections.
Ownership: Sophie is implementing this already-planned phase under the active Engine backlog goal; it is not a new standalone contributor lane.
Decision Record impact: aligned-with neomjs/neo#adr:docking-design; no protocol, schema or product-policy change.
Structure map: existing Body example concern; no Brain structure-map command is hosted here.
Live latest-open + closed sweep: latest 20 open and 15 closed DemoBWorkspace hits checked at 2026-11-06 19:31 UTC; relevant Out of Scope / Avoided Traps read, including the full controlling #19461, #19538, #19540 bodies. Phase 1 is delivered; no equivalent remaining gesture extraction found. All-state recent A2A scan found only the planning/peer read, no competing claim. Own-assignment sweep: no open Engine assignment. MC problem-noun sweep returned unrelated records after one transient 502/retry; live source and issue history are the positive authority, not a semantic absence claim.
Context
This is the gesture phase already planned by #15614. Phase 1's staging extraction shipped through #15616 / #15617. The current source is
examples/dashboard/crossWindow/DemoBWorkspace.mjs, not the old app path; it still mixes 4,406 lines of host ownership and demo choreography. The current seam map and Euclid's peer read identify a separable next responsibility.The Problem
The demo's cross-window gesture driver, source probe, readiness/cancellation reads and witness receipts occupy roughly 900 lines inside the workspace. Readers changing the host still have to navigate this choreography, although it supports only the existing Workbench-to-first-popup demonstration. The parent’s broader host, keyboard and perspective maintenance remains open; moving this responsibility does not complete it.
The Architectural Reality
At
d9eb21fa5f, the gesture methods run at lines 1762–2683. The stage facadepositionCrossWindowStageat 2152–2154 is inside that textual interval but belongs with the existing stage composition.describeCrossWindowChromeMismatchat 101–137 is an outside-range dependency with an existing named export consumed by unit tests.Stats, context, settlement resolver and generation stay host-owned and live. The executor replaces
crossWindowStats; commit, native admission, disconnect, cancellation and destruction consume it outside this range. A captured construction snapshot or second store would change the contract.src/core/Base.mjs#destroyremoves writable instance fields before delayed work can resume. A separately owned driver handle could therefore disappear before cleanup calls the host's probe-restoration method.src/Neo.mjs#applyMixinscopies prototype methods;TopologySeams, already mixed into this host, is the same-owner behavior precedent. Mixin methods overwrite colliding class methods, so the executor must not reuse the host facade's name.Design authority: #15614's operator-directed maintenance outcome, preserving existing facades and behavior. The docking design record §2.3 permits this per-host stage composition; adopting the normative Workspace superclass is not a prerequisite.
The Fix
Add
examples/dashboard/crossWindow/DemoBCrossWindowGesture.mjsas a registered, state-freeNeo.core.Basemixin. Move the gesture/probe/cancellation methods there as prototype methods. KeepexecuteCrossWindowStep(step, options)on the workspace and delegate to a distinctly named internal runner through the host's normal method dispatch, passing the existing static semantic workspace IDs. PreserveviaDesktop = roundTripand every existing receipt/refusal.All internal calls continue resolving current host methods, including wrappers installed after construction. Keep the stage facade and semantic commit/native lifecycle ownership on the host. Preserve or re-export the existing named chrome helper. Delete the moved implementations from the workspace rather than leaving a second copy.
Placement: the existing Body example's
crossWindow/directory, besideDemoBCrossWindowStage.mjs; notsrc/dashboard/, because the Workbench/first-popup choreography is demo-specific. The Engine's Structural Inventory and docking ADR were read; this adds no directory or generic subsystem. The new module has class/method JSDoc explaining ownership rather than historical ticket narration.Contract Ledger
executeCrossWindowStep(step, options)DemoBCrossWindowStageand host methodspositionCrossWindowStage,openCrossWindowStage,adoptCommittedTransferPairand commit ownership remain host-side and wrappableAcceptance Criteria
Out of Scope
Workspace superclass adoption, the remaining host/keyboard/perspective phases, new gesture targets, changing timing/receipt thresholds, Engine collaborator rewrites, film production, and the retired vessel-conversion witnesses.
Avoided Traps
Do not reproduce the old callback-factory prescription or instantiate a new state owner just to shorten the file. Do not capture host methods or stats at construction. Do not move
positionCrossWindowStagebecause it lies between the gesture methods. Do not treat a mixin as a wrapper that leaves overridden host methods intact: use distinct internal runner naming. Preserve the actual assertion contracts from the later receipt and pointer-park corrections.Related and ownership
Related: #15614, #15616, #19461, #19538, #19540.
Ownership: Sophie is implementing this already-planned phase under the active Engine backlog goal; it is not a new standalone contributor lane.
Decision Record impact: aligned-with
neomjs/neo#adr:docking-design; no protocol, schema or product-policy change. Structure map: existing Body example concern; no Brain structure-map command is hosted here.Live latest-open + closed sweep: latest 20 open and 15 closed
DemoBWorkspacehits checked at 2026-11-06 19:31 UTC; relevant Out of Scope / Avoided Traps read, including the full controlling#19461,#19538,#19540bodies. Phase 1 is delivered; no equivalent remaining gesture extraction found. All-state recent A2A scan found only the planning/peer read, no competing claim. Own-assignment sweep: no open Engine assignment. MC problem-noun sweep returned unrelated records after one transient 502/retry; live source and issue history are the positive authority, not a semantic absence claim.Origin Session ID: 7367b697-abdc-4e46-963d-5c57378b3551 Retrieval Hint: Demo B gesture decomposition host-live stats prototype cleanup wrappable facade