No curated labels: it has to land before the Engine 14 cut, and a maintainer owns it (see the end).
Context
Found by the steward rehearsal of #20667 on dev 2f5c29f473, with the engine installed from a tarball packed from dev. A package in its own repository extends the Workstation's Workspace and declares one arrangement, perspectives: {shipped: <its document>}: the seam #20661 made boot and "Reset to default" honour. Its top bar now shows Operations and Planning, and its own header test fails the same way with the engine installed and linked: ["Start dense tour","Start film tour","Operations","Planning","Light mode"] against the three controls it declares.
A leaf of #20667 (host seams), for the Engine 14 cut on Mon 23 Nov: what the cut ships is what a package builds on until the next one.
The Problem
Since #20910 (15d42c0c72, 16 Nov) the switch has two fixed buttons. In a workspace that declares only shipped:
- Planning is a dead control. Its handler runs
selectArrangement('planning'), and resetTopology('planning') finds no declared document and returns "planning" is not a declared arrangement. It is refused safely; nothing changes on screen.
- Operations names the arrangement that is already active, so
selectArrangement returns null and nothing happens either.
- A package can drop them only with a private patch of the engine's toolbar, which #20667's predicate rules out.
Observed: the two buttons in a package's top bar and its header test's failure. Read, not run: what a click does (the code path above).
The Architectural Reality
apps/workstation/view/TourToolbar.mjs:78-97: the arrangement-switch group. Two buttons, pressed bound to data.dock.perspective.active, handlers onShowOperations / onShowPlanning.
apps/workstation/view/WorkspaceController.mjs:152-174: both handlers call selectArrangement(name), which calls Workspace#resetTopology(name) unless name is already active.
apps/workstation/view/Workspace.mjs:116: perspectives: {shipped: initialDocument, planning: planningDocument}, a config a subclass overrides.
- The engine already knows what is declared:
Neo.dashboard.dock.Workspace#declaredPerspectives() (src/dashboard/dock/Workspace.mjs:680) returns PerspectiveSelection#names. What it publishes for binding is dock.perspective: {active, modified} plus pending (src/dashboard/dock/projection/PerspectiveState.mjs:90-106). The names are not in it.
- Precedent: #18610 and #18611 bound the dock example's and Demo B's switchers to published truth; #20661 made boot and reset honour a subclass's
perspectives.shipped.
Design authority: #20910 ("Operations and Planning in the top bar switch arrangements through resetTopology(name)") designed the switch for the Workstation's two declared arrangements. It did not decide what a subclass that declares one arrangement shows.
The Fix
- The switch shows one button per declared arrangement and hides itself when the workspace declares fewer than two. The engine's two labels stay (
shipped → Operations, planning → Planning).
- The declared names reach the binding from what the workspace already knows (
declaredPerspectives()), for example published beside active in dock.perspective. The pull request names the binding it chose and why.
Acceptance Criteria
Out of Scope
Labels for arrangement names other than the engine's two: no second package needs them yet (#20667's admission test). The planning arrangement itself.
Avoided Traps
- A package-side override of the toolbar's items. It works for one package and is the private patch #20667 exists to remove.
- Hiding the buttons with CSS. A hidden control stays in the tab order and the accessibility tree.
Related
Parent #20667 · #20910 (the switch) · #20661 (perspectives.shipped) · #18610, #18611 (switchers bound to published truth)
Decision Record impact: none.
Live latest-open + closed sweep: latest 20 open read (77 open, red band) and searches across all states ("workstation arrangement switch perspectives", "workstation arrangement perspectives declared"; closed hits #20661, #18609, #18610, #18611, #20986 read), rechecked by 2026-11-17T15:35Z: no equivalent; no open epic but #20667 owns host seams, so this files under it. A2A in-flight sweep: latest 30 messages, all read-states: no claim on the switch. MC sweep: query_raw_memories on the symptom, 5 results, no prior decision. Own-assignment sweep: no Workstation item among mine. Structure-map: N/A, no new .mjs placement.
handoff: @neo-opus-grace (author of #20910's switch), agreed on the A2A fork of 2026-11-17 together with the shape above. Vega, as #20667's steward, re-runs the package's header test on the pull request's head.
Origin Session ID: 1110da14-71ba-47a4-a627-b5091c1fe3d5
Retrieval Hint: "workstation arrangement switch undeclared perspectives, subclass declares only shipped"
No curated labels: it has to land before the Engine 14 cut, and a maintainer owns it (see the end).
Context
Found by the steward rehearsal of #20667 on
dev2f5c29f473, with the engine installed from a tarball packed fromdev. A package in its own repository extends the Workstation'sWorkspaceand declares one arrangement,perspectives: {shipped: <its document>}: the seam #20661 made boot and "Reset to default" honour. Its top bar now shows Operations and Planning, and its own header test fails the same way with the engine installed and linked:["Start dense tour","Start film tour","Operations","Planning","Light mode"]against the three controls it declares.A leaf of #20667 (host seams), for the Engine 14 cut on Mon 23 Nov: what the cut ships is what a package builds on until the next one.
The Problem
Since #20910 (
15d42c0c72, 16 Nov) the switch has two fixed buttons. In a workspace that declares onlyshipped:selectArrangement('planning'), andresetTopology('planning')finds no declared document and returns"planning" is not a declared arrangement. It is refused safely; nothing changes on screen.selectArrangementreturnsnulland nothing happens either.Observed: the two buttons in a package's top bar and its header test's failure. Read, not run: what a click does (the code path above).
The Architectural Reality
apps/workstation/view/TourToolbar.mjs:78-97: thearrangement-switchgroup. Two buttons,pressedbound todata.dock.perspective.active, handlersonShowOperations/onShowPlanning.apps/workstation/view/WorkspaceController.mjs:152-174: both handlers callselectArrangement(name), which callsWorkspace#resetTopology(name)unlessnameis already active.apps/workstation/view/Workspace.mjs:116:perspectives: {shipped: initialDocument, planning: planningDocument}, a config a subclass overrides.Neo.dashboard.dock.Workspace#declaredPerspectives()(src/dashboard/dock/Workspace.mjs:680) returnsPerspectiveSelection#names. What it publishes for binding isdock.perspective:{active, modified}pluspending(src/dashboard/dock/projection/PerspectiveState.mjs:90-106). The names are not in it.perspectives.shipped.Design authority: #20910 ("Operations and Planning in the top bar switch arrangements through resetTopology(name)") designed the switch for the Workstation's two declared arrangements. It did not decide what a subclass that declares one arrangement shows.
The Fix
shipped→ Operations,planning→ Planning).declaredPerspectives()), for example published besideactiveindock.perspective. The pull request names the binding it chose and why.Acceptance Criteria
Workspacesubclass that declares onlyshippedshows no arrangement switch; the engine's Workstation still shows both buttons, the active one pressed.WorkstationPlanningDeskNL.spec.mjsstill passes.Out of Scope
Labels for arrangement names other than the engine's two: no second package needs them yet (#20667's admission test). The planning arrangement itself.
Avoided Traps
Related
Parent #20667 · #20910 (the switch) · #20661 (
perspectives.shipped) · #18610, #18611 (switchers bound to published truth)Decision Record impact: none.
Live latest-open + closed sweep: latest 20 open read (77 open, red band) and searches across all states ("workstation arrangement switch perspectives", "workstation arrangement perspectives declared"; closed hits #20661, #18609, #18610, #18611, #20986 read), rechecked by 2026-11-17T15:35Z: no equivalent; no open epic but #20667 owns host seams, so this files under it. A2A in-flight sweep: latest 30 messages, all read-states: no claim on the switch. MC sweep:
query_raw_memorieson the symptom, 5 results, no prior decision. Own-assignment sweep: no Workstation item among mine. Structure-map: N/A, no new.mjsplacement.handoff: @neo-opus-grace (author of #20910's switch), agreed on the A2A fork of 2026-11-17 together with the shape above. Vega, as #20667's steward, re-runs the package's header test on the pull request's head.
Origin Session ID: 1110da14-71ba-47a4-a627-b5091c1fe3d5
Retrieval Hint: "workstation arrangement switch undeclared perspectives, subclass declares only shipped"