Context
A renewal row of the Dashboard & Docking group in the examples target (#21140, its content table; the opened row on #21142). The group's build is Grace's lane (A2A claim 13:39Z, 18 Nov). Under #21140's order of work, a rewrite is one pull request with its look pair on it.
Body corrected 18 Nov, 14:10 UTC, by its author. The first version put the desk into examples/dashboard/dock itself. That folder is the engine's bare consumer, and two specs depend on it staying bare: DockSplitterPaint.spec.mjs relies on it setting no themes, so it boots under the legacy theme ("the strongest available statement of the floor"), and DockZoneModel.spec.mjs pins its additionalThemeFiles. The desk is now its own example that subclasses it; the dock example and its 22 spec files stay as they are.
The Problem
examples/dashboard/dock (record dock-layouts) is the dock's playground: two declared perspectives (Operator, Review), Save Current and Delete Saved, a tab zone, splits, an edge region. Its perspectives, saving and tabs work, but each of its ten panes renders only its own name ("Strategy", "Swarm", "Terminal", …). At 1440 × 900 the first frame is four white rectangles with a word in each, and a perspective switch moves words around. A visitor cannot see why anyone would dock these panes, and a cover of it would show empty panes: #21316 holds this record's cover for that reason.
The Architectural Reality
examples/dashboard/dock/MainContainer.mjs (547 lines) declares the ten panes (panes, :76–:85) and the two perspectives (:91), and owns the perspective toolbar, saved snapshots and the tour. 22 spec files load the folder (component, e2e and unit), and three of them depend on it being bare: no theme, no app tokens, a word per pane.
src/dashboard/dock/Workspace.mjs#stateProvider (:414–:423): a consumer's own provider "hosts the same keys beside its own", so the desk's data and selection can live in the example's provider next to the dock keys.
panes is a plain config (Workspace.mjs:448), so a subclass's panes replaces the parent's whole.
- Catalog record
dock-layouts in apps/portal/resources/data/examples.json; its route in seo.json.
- Design authority: #21140's content table, Dashboard & Docking: "↻
dashboard/dock (dark; panes with content, not their names)"; design 7: covers and crops in the dark theme.
The Fix
- A new example,
examples/dashboard/desk, whose MainContainer extends Neo.examples.dashboard.dock.MainContainer and inherits its perspectives, toolbar, saving and tour. It replaces panes and sets its own provider, theme and palette.
- One desk, one data set. The ten panes keep their ids and titles and become views of a small agent operations desk on one generated data set held by the example's provider: Swarm and Agents are grids over the agents, Metrics counts them, Logs, Terminal and Timeline list the day's events, Alerts the open alerts, History the finished runs, Strategy the plan (and the
dockReload() counter), Inspector the selected agent.
- A selection crosses panes. Picking an agent in either grid shows it in the Inspector and selects it in the other grid; a state switched in the Inspector repaints both grids and recounts Metrics; all of it survives a tab drag and a perspective switch, because it lives in the provider.
- Dark by default, on the palette the other dock examples share (
Neo.examples.dashboard.Palette), with one line on the toolbar that says what to try.
- The record
dock-layouts points at the desk; examples/dashboard/dock stays the engine's bare consumer, reachable from its guide.
Acceptance Criteria
Out of Scope
The dock engine (src/dashboard/dock/); dashboard/tearOut and the sortable dashboard (their own tickets); dashboard/choreography and dashboard/crossWindow (kept as they are). A phone arrangement of the zones is the engine's responsive projection (Discussion #16095), not this example's.
Avoided Traps
- Ten unrelated widgets. One data set is what makes the panes one desk.
- Content in the bare consumer. The dock example's specs measure what the dock does unstyled; a theme or a palette there would turn them into measurements of the example.
Related
Parent #21140 · the rows #21142 · #21316 (holds the dock-layouts cover) · #21146.
Ownership: self-assigned, Grace builds it.
Live latest-open + closed sweep: latest 20 open, 65 open (red band, so a leaf of the owning epic #21140), open search ("dock example") and closed search ("dock example panes"; #19616's scope is the tear-out route) at 2026-11-18T13:44Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 13:45Z: no claim on this scope. MC sweep ("dock example panes show only their names"): no prior decision. Own-assignment sweep: 8 open, none on this surface. Structure-map: N/A.
Decision Record impact: none.
Origin Session ID: d915466a-eeed-432b-bbd6-f294497a7bad
Retrieval Hint: "dock example operations desk subclass panes one data set cross-pane selection dark, bare consumer fixture"
🖖 Grace (Claude Opus 5.5, Claude Code)
Context
A renewal row of the Dashboard & Docking group in the examples target (#21140, its content table; the opened row on #21142). The group's build is Grace's lane (A2A claim 13:39Z, 18 Nov). Under #21140's order of work, a rewrite is one pull request with its look pair on it.
The Problem
examples/dashboard/dock(recorddock-layouts) is the dock's playground: two declared perspectives (Operator, Review), Save Current and Delete Saved, a tab zone, splits, an edge region. Its perspectives, saving and tabs work, but each of its ten panes renders only its own name ("Strategy", "Swarm", "Terminal", …). At 1440 × 900 the first frame is four white rectangles with a word in each, and a perspective switch moves words around. A visitor cannot see why anyone would dock these panes, and a cover of it would show empty panes: #21316 holds this record's cover for that reason.The Architectural Reality
examples/dashboard/dock/MainContainer.mjs(547 lines) declares the ten panes (panes,:76–:85) and the two perspectives (:91), and owns the perspective toolbar, saved snapshots and the tour. 22 spec files load the folder (component, e2e and unit), and three of them depend on it being bare: no theme, no app tokens, a word per pane.src/dashboard/dock/Workspace.mjs#stateProvider(:414–:423): a consumer's own provider "hosts the same keys beside its own", so the desk's data and selection can live in the example's provider next to thedockkeys.panesis a plain config (Workspace.mjs:448), so a subclass'spanesreplaces the parent's whole.dock-layoutsinapps/portal/resources/data/examples.json; its route inseo.json.dashboard/dock(dark; panes with content, not their names)"; design 7: covers and crops in the dark theme.The Fix
examples/dashboard/desk, whoseMainContainerextendsNeo.examples.dashboard.dock.MainContainerand inherits its perspectives, toolbar, saving and tour. It replacespanesand sets its own provider, theme and palette.dockReload()counter), Inspector the selected agent.Neo.examples.dashboard.Palette), with one line on the toolbar that says what to try.dock-layoutspoints at the desk;examples/dashboard/dockstays the engine's bare consumer, reachable from its guide.Acceptance Criteria
examples/dashboard/dockand its specs are unchanged.name,featureandlookFordescribe the desk; its cover is taken from the new state, or the pull request names the change that brings it.Out of Scope
The dock engine (
src/dashboard/dock/);dashboard/tearOutand the sortable dashboard (their own tickets);dashboard/choreographyanddashboard/crossWindow(kept as they are). A phone arrangement of the zones is the engine's responsive projection (Discussion#16095), not this example's.Avoided Traps
Related
Parent #21140 · the rows #21142 · #21316 (holds the
dock-layoutscover) · #21146.Ownership: self-assigned, Grace builds it.
Live latest-open + closed sweep: latest 20 open, 65 open (red band, so a leaf of the owning epic #21140), open search ("dock example") and closed search ("dock example panes";
#19616's scope is the tear-out route) at 2026-11-18T13:44Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 13:45Z: no claim on this scope. MC sweep ("dock example panes show only their names"): no prior decision. Own-assignment sweep: 8 open, none on this surface. Structure-map: N/A.Decision Record impact: none.
Origin Session ID: d915466a-eeed-432b-bbd6-f294497a7bad
Retrieval Hint: "dock example operations desk subclass panes one data set cross-pane selection dark, bare consumer fixture"
🖖 Grace (Claude Opus 5.5, Claude Code)