Galaxy Shell / docs
Docs / Decisões e planos

Workspaces on several outputs (the part that did not land)

openspec/changes/multi-output-workspaces/design.md · Editar no GitHub ↗

Esta página ainda não tem tradução em português. O conteúdo abaixo está em inglês.

Este documento registra decisões, planejamento ou evidências de uma etapa do projeto. Não implica que todos os itens estejam implementados ou validados na versão atual.

Nesta página

Workspaces on several outputs (the part that did not land)

The landed part and the current rules are in openspec/specs/multi-output-workspaces/spec.md. The sections below are the original text of the doc, unchanged.

Status and decision record

  • Status: proposed on 2026-11-02; phase 1 implemented on 2026-11-02, phase 2 on 2026-11-02, phase 3 on 2026-11-02 and phase 4 on 2026-11-02 (see Implementation). Revised the same day after the user changed the model (independent workspaces per output), after review round 1, after review round 2 (the last review round of this spec, see Review record), again after the user answered open questions 2, 3 and 9 (revision 3: a complete workspace on each output), and after review rounds 1 and 2 of revision 3 (see Review record). The user has not approved the whole spec yet. Each decision below carries a recommended default, a reason and an alternative. Phases 5 to 7 are not implemented. The code facts were checked at 6d54d19 and again at origin/main 9d6dc3d, the base of this revision. The line numbers are those of 9d6dc3d.
  • Decision of 2026-11-04: the drag of a workspace button onto another output is dropped, and the sections below that describe it are history (the user: "Arrastar workspace para outro monitor não faz mais sentido devido ao fluxo atual"). The protected workspace menu stays the path to move a workspace. An unfinished compositor half stays only in the local branch worktree-agent-a0b10547863856ee5; do not resume it.
  • Implementation: since 2026-11-03 the feature is always on, gated only by the compositor capabilities (workspaceOutputs, outputChats) and the live workspace_outputs lease that the core renews; until then phase 1 of the core (web-shell/core) was implemented behind the setting workspaceOutputs, see web shell development, section "Workspaces on several outputs, phase 1 of the core". The compositor side of phase 1 is implemented behind the workspaceOutputs lease, see Smithay development. Phase 2 (one chat per output, W8) is implemented on both sides: the compositor in Smithay development, section "Workspaces on several outputs, phase 2", and the core and the host in web shell development, section "Workspaces on several outputs, phase 2 of the core and the host". Phase 3 (Canvas on an extra output, W9) is implemented on both sides; its as-built decisions are in Layouts on an extra output, after W9. Phase 4 (the host and core UI) is implemented; its as-built decisions are in Refusals, after the table. From phase 2 the lease can be live in a real session (until 2026-11-03 only when the setting was on; since then always on a supporting compositor). Open question 10 (the reading of "exceto HUD") uses the reading of this spec, because the user did not correct it: the bars, the panels and the overview stay on the primary output.
  • Decision of 2026-11-03, no setting: the user said "remover opcao de mostrar workspace em outros monitores, ela deve ser ativo sempre, nao uma feature flag" ("remove the option to show workspaces on other monitors; it must always be active, not a feature flag"). The protected setting workspaceOutputs, its route /api/workspace-outputs-enabled and its settings toggle are removed. The core always renews the lease on a compositor that reports capabilities.workspaceOutputs and capabilities.outputChats, and drops a saved workspaceOutputs from state.json when it loads the profile. The lease stays: it is the version-skew safety, not a user choice. Text below that names the setting, its default, its route or its toggle is history from before this decision; see architecture decisions, section "2026-11-03: workspaces on several outputs always on".
  • Revision proposed on 2026-11-03: one workspace list, one camera per monitor proposes to replace W1 (one output per workspace) with one workspace on several outputs and one camera per pair (workspace, output), and revises W3, W8, W9, W11 and W12. The user approved it on 2026-11-03 with its recommended defaults; the decisions below stay the current contract until a phase of it ships. Its phases 1 to 4 have shipped: a Canvas workspace (with capabilities.sharedCanvas) and a Grid workspace (with capabilities.sharedGrid, since 2026-11-03) can show on several outputs, always on (capability plus lease); W1, W8 and W9 below are history for those workspaces and stay the contract for Focus, Monocle, Pair and Floating.
  • Owner of the decisions: the user. The open questions at the end need an answer before phase 1 starts, or the recommended defaults apply.

The user's words (2026-11-02, Portuguese, quoted)

"agora não consigo mover as coisas para o monitor secundário, queria poder clicar em um workspace aqui na barra de workspaces e arrastar um workspace inteiro para lá"

Translation: "now I cannot move things to the secondary monitor; I wanted to click a workspace here in the workspace bar and drag a whole workspace there."

Two options were offered: (a) move the windows of the workspace to the grid of the extra output, or (b) the extra output shows the workspace. The user chose: "Mostrar o workspace" ("Show the workspace").

The first version of this spec proposed a swap rule (the xmonad greedyView). The user answered it:

"não, o monitor 1 tem espaco para workspace e o monitor 2 vai ficar com espaço para workspace também, não funcionaria?"

Translation: "no, monitor 1 has room for a workspace and monitor 2 will have room for a workspace too, wouldn't that work?" So each output shows its own workspace independently, as in i3 and Sway. Nothing swaps. See W3.

The user then answered open questions 2 and 3 (revision 3):

"sobre as perguntas em aberto, sim o monitor 2 teria as mesmas habilidades que o monitor 1, exceto HUD, de resto sim, chat proprio e tudo mais, um workspace completo"

Translation: "about the open questions, yes, monitor 2 would have the same abilities as monitor 1, except the HUD; for the rest yes, its own chat and everything, a complete workspace."

And clarified the chat:

"vai ser um workspace separado, então continua sendo um chat só por workspace"

Translation: "it will be a separate workspace, so it stays one chat per workspace." Every workspace already has its own conversation. A workspace on an extra output keeps its own conversation, and its chat window shows on that output.

And answered open question 9, to the text "A alternativa é trocar o workspace do monitor em foco." ("The alternative is to change the workspace of the monitor in focus."):

"isso mesmo"

Translation: "exactly that." Super+Left/Right, the bar wheel and the swipe step the workspace of the focus output (see Keyboard and focus).

The reading of "exceto HUD" (to confirm with the user). This spec reads "HUD" as the bars and the HUD surfaces: the top bar, the bottom workspace bar, quick settings, notifications, the tray menu, the protected workspace-menu panel and the plugin panels of the hud band and the overlay. They stay on the primary output only. The overview and the workspace transitions with planes also stay on the primary output, because the overview shows every workspace and is not part of one workspace. Everything else that a workspace has on the primary output, it has on an extra output too: its chat window, every layout including Canvas with its own camera, the floating chat on a canvas, the presentations, approvals in its chat, the composer, voice and "Mostrar ao agente". This reading is open question 10.

The chat on a canvas (alignment of 2026-11-02). A parallel change makes the canvas chat a centered floating chat, hidden by default, that a Super tap shows and hides. It has no collapse button and no collapsed state. This spec builds on that model: each output chat has its own visible or hidden state, and the spec uses no collapsed dock. Where the earlier text of this spec named the chat dock, /api/chat-dock or a collapsed dock, it now means the visibility of the output chat. The phase that ships it (phase 2 or 3) follows the routes and commands that the parallel change ships, with an optional output.

Decision

  • Each output can show its own workspace. This is a change of the workspace model. It is not a bulk send_to_output of the windows.
  • The outputs are independent: a move or a selection never pulls a workspace from one output to another as a side effect (W3).
  • A workspace on an extra output is a complete workspace there (W8, W9): its own chat window with its own conversation (one chat per workspace, as today), every layout including Canvas with its own camera, and every ability of the primary output, except the HUD (the bars and the HUD panels stay on the primary output, see the reading of "exceto HUD" above).
  • Super+Left/Right, the bar wheel and the swipe step the workspace of the focus output (answer to open question 9).
  • The user moves a workspace to an extra output with a drag of its button in the bottom workspace bar onto that output. A protected menu on the same button is the path without a drag.
  • An extra output that shows no workspace keeps its shared grid of today, so nothing regresses.
  • Everything ships behind a new protected setting, workspaceOutputs, off by default. (History: the setting was removed on 2026-11-03; the feature is always on with a supporting compositor.)

Decision of 2026-11-03: a default workspace and a bottom bar on each extra output

The user, on 2026-11-03 (Portuguese, quoted): "Era para o segundo monitor ter um HUD de workspaces e uma camera propria, isso não tá acontecendo". Translation: "The second monitor was supposed to have a workspace HUD and its own camera; that is not happening." The answers that followed decide:

  1. W2 is reversed. On connect (login and hotplug), an extra output that shows no workspace and has no saved pair (the outputs plan of window-session.json) and no replug pair gets a new empty conversation, opened there as a Canvas workspace with its own output chat and camera (defaultOutputs in core/workspace-navigation.js). The saved assignment and the replug memory win: the rule waits while either holds a pair for that connector. It waits while locked, restoring or busy, and runs only on a compositor with capabilities.outputBars, so an older compositor keeps the shared grid of W2. The empty conversation that the rule created for a connector is reused while it stays empty, open and on no output, so a reconnect of the core or a replug makes no duplicate. The core sends workspace_output with canvas: true; the compositor switches the workspace to Canvas only while the protected setting canvas is on, so with the setting off the workspace keeps the Grid of a new workspace.
  2. Open question 10 is amended for the bottom bar only. Each extra output that shows a workspace gets the protected bottom workspace bar (the same page, /desktop-sessions#output=<connector>, the same isolation), drawn in a 40 px strip at the bottom of that output. It shows the workspace of its output as the active tab and steps back (lower opacity of its controls; since 2026-11-10 the bar itself keeps the color of the primary bar, the owner: "a barra secundaria ta com outra cor") while its output does not have the focus. A click on another tab shows that workspace on its output through the protected /api/workspace-output ("Mostrar em N"); the right click opens the protected workspace-menu panel on the primary output. It takes no wheel. It reported no bar glass until 2026-11-10; since then it reports its own pill with the name of its output, and the compositor blurs behind it as behind the primary bar (the owner asked for the same glass on both bars; web panels, The bar of an extra output). The top bar, quick settings, notifications, the tray, the workspace-menu panel and the HUD plugin panels stay on the primary output.

As built: the core declares the bar from the bottom-bar template with output (/host-window, main key only, capabilities.outputBars); the compositor accepts output on a bottom bar, keeps one bar per output, places it at the bottom strip of its output while that output shows a workspace, reports outputs[].bar, and gives the workspace of that output the area above the strip (a Canvas camera keeps the whole output and the bar floats over it). The primary bar rules (strips, bar glass, overview, transitions) read only the bars without output. The bar of an extra output has its own pill (bar_glass with output, capabilities.outputBarGlass, outputBarGlass in the snapshot), drawn only by the scene of its output. The text of W2 and of open question 10 below is history.

Not this feature: dragging windows between overview cards

The owner rejected dragging windows between overview cards, and that rule stays (AGENTS.md, architecture decisions, canvas windows). This feature is different, and the two must stay apart:

  • The drag starts only on a workspace button of the protected bottom bar. It never starts in the overview, on a card, on a window or on a top bar dot.
  • The drag moves a whole workspace to an output. It never moves a window between workspaces.
  • The drop target is an output, chosen by the compositor from the pointer position. It is never a card.
  • The overview keeps no drag of any kind. A card click stays a selection.

What this spec changes

Earlier text Where New status
"Each extra output has one grid for its static area, shared by all workspaces." openspec/specs/tiling-spec/spec.md (Model, Outputs) Still true for an extra output that shows no workspace. An extra output that shows a workspace draws the grid of that workspace.
"Workspaces, the overview, thumbnails, workspace transitions and previews, [...] the chat, the web bar and web panels exist on the primary output only." docs/smithay-development.md (Several monitors) Workspaces can show on an extra output, each with its own chat window there. The overview, the slide and depth transitions, the bars and the web panels stay on the primary output (the HUD exception).
"Switching workspace changes the primary output only." docs/smithay-development.md (Several monitors) A selection of a workspace that an extra output shows moves the keyboard focus to that output. A selection of a workspace that no output shows puts it on the output that has the focus (W3). Super+Left/Right, the bar wheel and the swipe step the workspace of the focus output.
"The canvas and the chat exist only on the primary output." openspec/specs/canvas-windows/spec.md (Two monitors) Each output that shows a workspace has the chat window of that workspace. A Canvas workspace can show on an extra output with its own camera and its output chat as the floating chat (phase 3).
Open question 6: "Should the second monitor get its own canvas viewport? Recommended default: no for now." openspec/specs/canvas-windows/spec.md Answered by W9: the extra output gets no viewport of its own. A workspace that shows there brings its own camera.
The chat role is a singleton: "Only one window for this role" for a second chat. openspec/specs/window-layers/spec.md (The typed control commands and their refusals) One chat per output: the chat declaration gets an optional output (a connector name), and a second chat of the same output is refused with the same text (W8, phase 2).
The chat glass regions, chat_glass and the chat visibility on a canvas act on the one chat. openspec/specs/web-panels/spec.md, openspec/specs/canvas-windows/spec.md (phase 5) Each command gets an optional output; without it, the command acts on the chat of the primary output, as today (phase 2).
"The compositor captures the primary output only." web-shell/core/window-capture.js:58 "Mostrar ao agente" of the chat of an extra output captures that output (phase 2).
The agent prompt: "workspaces show on the primary output only, and a window on a secondary output shows on every workspace", and "(its workspace on the primary output, or its secondary output)" web-shell/core/runtime.js (prompt, the window_action text) Phase 1 changes both texts. With the setting on, a workspace can show on an extra output, a window of a shared grid shows on every workspace, desktop_state reports outputs[].workspace, focusedWorkspace and windows[].shared, and the grid of a held window is the grid of its workspace on the output that shows it, or the shared grid of its output. A Node test checks the new texts.

These earlier texts stay as they are until the phase that changes them ships. Each phase updates the current contract in its own commit.

Current state (verified at 6d54d19 and 9d6dc3d)

  • The compositor has one active workspace: Desktop.workspace (native/smithay/src/desktop.rs). select_workspace (desktop.rs:641) changes it, and the workspace command of the core calls it. About 77 lines outside the *_tests.rs files read desktop.workspace: 32 in desktop/canvas_mode.rs, 20 in desktop.rs, 10 in desktop/tiling.rs, 4 in desktop/layout.rs, 4 in scene.rs, 3 in state.rs, 2 in desktop/snapshot.rs, 1 in outputs.rs and 1 in thumbnail_motion.rs.
  • Each window has WindowMeta.workspace and WindowMeta.output, a Slot (Primary or Extra(id), native/smithay/src/outputs.rs). A window on an extra output "stays visible on every workspace" (visible_window, desktop.rs:1158).
  • Each extra output has one grid, shared by all workspaces: GridKey::Extra(id) (home_grid, grid_of, grid_area, desktop/tiling.rs:53-150). grid_of gives GridKey::Workspace only for the active workspace.
  • send_to_output (outputs.rs:541) refuses declared windows, and a window that reaches the primary output joins the active workspace (WindowMeta::move_to, desktop.rs:450).
  • choose_output (outputs.rs:607) opens a new application window on the output under the pointer, once, at its first commit with a buffer. The core bind (Command::Bind, desktop.rs:1653-1688) changes the workspace only and keeps meta.output.
  • remove_extra_output returns the windows of an unplugged output to the primary output, on the active workspace, as new windows (return_windows_of, drop_extra_grid).
  • Alt+Tab (Shortcut::Next, input.rs:576-590) skips windows on extra outputs (on_secondary).
  • Super+T (toggle_grid_layout, tiling.rs:691-716), Super+G and Super+F on a canvas (canvas_fills, canvas_focused, canvas_mode.rs:1190-1198) and the client maximize (set_app_maximized, desktop.rs:1854-1867) act on the active workspace of the primary output. Only the grid keys (zoom, fill, move, resize, float) act on the grid of an extra output.
  • The workspace id of the compositor is the conversation id of the core. The core decides each switch: the compositor sends input requests (InputRequestKind: ChatFocus, WorkspaceIndex, workspace_previous, workspace_next, WorkspaceSwipe, the overview kinds), and the core answers with the workspace command (web-shell/core/workspace-navigation.js, selectConversation). The chat shows the conversation of store.state.active. A selection waits while isBlocked holds (a turn, a model selection, a change, an account login; server.js:354), during a switch and during an overview transition.
  • The core treats output === "secondary" as "shows on every workspace" at nine sites (see Core sites that read "secondary").
  • The core validState (web-shell/core/smithay.js:199) checks only listed keys of each entry of state.windows and state.outputs; extra keys pass. It checks the exact keys and the kind of each input request (smithay.js:221-266) and throws "Invalid Smithay input requests" for an unknown kind, and the core then disconnects (smithay.js:1263).
  • Command uses deny_unknown_fields (desktop.rs:45), so an older compositor refuses a new key on an existing command.
  • An older compositor answers an unknown command with id 0, which ends the connection (smithay.js:1461-1470).
  • The canvas lease (canvas::Lease, canvas.rs:618-663) has holders, a grace time and expired. allowed_while_locked (desktop.rs:314-331) accepts only CanvasEnabled {enabled: true}, set_canvas_enabled refuses off while locked (canvas_mode.rs:553-570), and the core sends off again after the unlock (canvasOffAfterUnlock, smithay.js:1500-1512). The grace time ends also while locked (canvas_tick, canvas_mode.rs:578).
  • The bottom bar (route /desktop-sessions) holds the workspace tabs and reads the host snapshot wm (vendor/interface/host/host.js:88, 160, 621). Only the top bar reads the small bar view /api/state?view=bar (barState, web-shell/core/state-response.js:65, host.js:2042-2073), which carries wm.connected, wm.capabilities and wm.sessionRestore only. Both bars are host windows with role bar, declared on the primary output (window layers). The bars take no keyboard focus. No extra output has a bar or bar glass (true at those commits; an extra output has a bar since 2026-11-03 and its bar glass since 2026-11-10).
  • Host windows are declared and solved on the primary output only. The chat role is a singleton: the compositor refuses a second chat with "Only one window for this role" (window layers). desktop.chatWindow() (desktop-client.js:186) finds the one window with role chat.
  • The core runs one turn at a time (turn, server.js:303). isBlocked (server.js:354) holds during a turn, a model selection, a change and an account login. focusChat (server.js:332) raises the one chat, and expands a collapsed canvas dock only for an approval. Approvals live in their conversation (c.approval). Pinned surfaces are stored per conversation (surface-pins.js).
  • The chat page polls /api/state (host.js:2556) and shows store.state.active. /api/send sends to store.state.active, and a voice send must name it (server.js:1604-1607).
  • /api/desktop-chat-glass-regions, /api/desktop-chat-glass, /api/chat-dock and /api/chat-dock-side (server.js:1463-1497, until the parallel chat change lands) act on the one chat. The compositor keeps one set of chat glass regions (Command::ChatGlassRegions, desktop.rs:268, 1502).
  • "Mostrar ao agente" refuses a window that is not on the primary output when there are several outputs (window-capture.js:79), because the compositor captures the primary output only.
  • scene::workspace_elements (scene.rs:1344) renders a workspace with the geometry of the first output of the space, the primary output.
  • The nested backend of scripts/nested-qa.py has one output.
  • Live layout, from a read-only state query of 2026-11-02: two outputs, DP-1 (primary) and HDMI-A-1 (extra, on the right), both 1920 x 1080.

The drag

Where it starts

  • Only on a workspace tab of the protected bottom bar, with the primary button. Not on the top bar dots: they are small, and the top bar takes no keyboard focus. Not in the overview.
  • Only while the lease has a live holder, at least one extra output is connected, and the session is not locked.
  • The tab disables the native HTML drag (draggable="false" and preventDefault on dragstart), so Chromium never starts a Wayland data-device drag.

Start handshake

  1. The bar page sees a press on a tab and a motion of 8 px or more while the button is held. It marks the tab as dragging (web style only) and stops the click: the release after this point never selects.

  2. The bar page sends POST /api/workspace-drag {workspace} with the launch cookie of the protected host. The core refuses it when the capability or a live lease is missing (unsupported), the workspace is not an open conversation (unknown_workspace), the session restore runs (restoring), or the workspace is the only open workspace (no_other_workspace: every drop of it is either nothing or that refusal).

  3. The core sends the typed command workspace_drag {workspace} to the compositor on its control connection.

  4. The compositor accepts the command only when all of these are true:

    • the primary pointer button is held now;
    • the implicit grab of that press belongs to a bound window with role bar and edge bottom of the registered host client;
    • the press started 1500 ms ago or less, and the pointer moved 8 px or more from it;
    • no other pointer grab, no overview, no workspace transition and no lock;
    • the lease has a live holder;
    • the workspace is a known id of the workspace order.

    The refusals are typed: no_press, not_bar, busy, locked, disabled, unknown_workspace.

  5. On a refusal the bar page clears the dragging style and shows the refusal text on the tab for 3 s (see Feedback). A fast flick whose release came before the command gets no_press and does nothing. That is safe.

Decision W6: the compositor tracks the drag. Recommended: the protected host names the workspace, and the compositor owns the pointer from then on. Reason: the pointer leaves the bar window, and only the compositor sees every output. The compositor checks the held press, so a host bug cannot start a grab without a button. It does not check which tab is under the press (Known limits). Alternatives:

  • A Wayland data-device drag with a private MIME type. Rejected: a drop needs a client surface that accepts the offer, an empty output has none, and any client under the pointer could read the offer.
  • The host reports the rectangle of each tab, or the tab x with the command, and the compositor checks it. Rejected for now: the tabs animate their widths, so the host would send many rectangle updates for one rare gesture. The command needs one message per drag.

The grab

  • The compositor replaces the implicit grab of the bar with a WorkspaceDragGrab. The bar surface gets a pointer leave and no button release.
  • The bar page clears its press state on pointerleave, pointercancel and lostpointercapture while it drags, and on any later pointermove or pointerdown whose buttons value has no primary button. It never treats a held button as a drag start after a leave. Browser test: a press, a motion of 8 px, a pointerleave with no release, then a normal click selects the tab and starts no drag.
  • The grab takes every motion, button and axis event. No client gets pointer input until the grab ends.
  • Escape cancels the grab. The compositor takes Escape from the keyboard during the grab, because the bar has no keyboard focus.
  • The lock, the unplug of every extra output, a VT switch, the loss of the core connection and the loss of the last lease holder cancel the grab. A cancel moves nothing.
  • The drop target is the output under the pointer at the release, from extra_slot_at or the primary geometry. The compositor decides it, not the host.

Feedback

Decision W7: feedback uses compositing and effects only. Recommended:

  • A ghost: a picture of the dragged workspace at 192 x 108 under the pointer at 85 percent opacity. It is a new offscreen render from scene::workspace_elements with the output geometry as a parameter (the output that shows the workspace, or the primary output), at 10 Hz or less during the drag. It does not reuse the cached overview texture, which has the primary geometry. The scene of the output under the pointer draws it, as grab_guest draws a dragged window across outputs. It is a picture of the windows, not a control.
  • A target mark: every output except the one under the pointer gets a 30 percent dim. This is an effect on existing pixels, with no shape and no text.
  • The tab of the bottom bar keeps its dragging style. The bar is web, on the primary output.
  • A refusal at the start or at the drop shows its text on the tab for 3 s, in the bar page. The text comes from the core, not from the compositor. The bottom bar reads it from the host snapshot wm (see Bars).

Reason: AGENTS.md keeps every visual part web-based, and Smithay does compositing, transforms and GPU effects. A text label "HDMI-A-1" next to the pointer would be native UI, so there is none. Alternative: a protected web panel that follows the pointer. Rejected: host windows are declared on the primary output only, and a panel per motion event is slow.

The drop

  1. The compositor ends the grab and gives the pointer focus back with a normal motion.
  2. It queues a new input request workspace_drop {generation, workspace, output}, where output is the connector name of the target, only while the lease has a live holder. It changes no workspace by itself.
  3. The core reads the request and calls the shared refusal function (see Refusals). Then:
    • A drop that changes the workspace of an output waits for nothing: when a selection block holds (isBlocked, a switch in progress, an overview transition, the session restore), it is refused with busy or restoring.
    • Else the core sends one command, workspace_output {workspace, output, primary?}. primary is set only when the source is the primary output and the target is an extra output: the core picks it by The primary pick (W3). The drop never runs selectConversation plus a second command.
  4. After the command the core reads the answer state. It sets store.state.active and desktop.activeWorkspace to focusedWorkspace. When that changed, it calls markOpened(next, previous.active) (conversations.js:40), as the session route does (workspace-navigation.js:239), saves the store and announces the selection (announceSelection), so the bars repaint. So the memory policy (memory-policy.js:145, 260) and The primary pick read current times. It runs syncWorkspaceOrder as a selection does.
  5. The core acknowledges the generation, as for the other input requests.
  6. A refusal shows its text on the tab (see Feedback).

Focus after a move: the focus stays on its output. When the moved workspace had the focus, the focus follows it. The chat window of the moved workspace goes with it: the host closes the output chat of the source output (or the primary chat shows the new primary workspace) and opens the output chat of the target output (W8). A conversation shows in one chat window at a time, because a workspace shows on one output at a time (W1).

The menu (the path without a drag)

  • A right click on a workspace tab opens a protected panel workspace-menu, with the precedent of the protected tray-menu panel (system tray).
  • Like tray-menu, it opens at a fixed anchor, not under its tab: above the centered bottom bar since 2026-11-04 (openspec/specs/shadcn-migration/spec.md, phase 6), before that the bottom left of the primary output, above the bottom bar. Its title names the workspace.
  • Items: "Mostrar em <output>" for each extra output that does not show this workspace, and "Tirar de <output>" when an extra output shows it.
  • Each item has the state from the shared refusal function. An item that a selection block refuses shows disabled with the busy text. The core checks again at the click.
  • The panel sends POST /api/workspace-output {workspace, output} (output null to take it off). The core applies W3 or W4 with the same single command and the same state update as the drop.
  • The menu ships in phase 4, before the drag, so the user can check the model live before the grab exists.

Declaration of the panel, in the format of window layers (Declarations of the host windows):

Window role layer space placement input keyboard other
Workspace menu panel (protected) overlay screen from web-panels.json: anchor bottom (bottom-left before 2026-11-04), offset_x 8, offset_y 48, area output, no confine normal from keyboard (true) close_on_blur, fit_content

The core appends workspace-menu once to an existing web-panels.json with a new marker .web-panels-protected-v3, as v2 did for tray-menu. Tests: the registry refuses an isolated plugin entry with the id workspace-menu (phase 4 adds that rule if it is missing), and an isolated plugin cannot bind the protected declaration.

Refusals

One core function, workspaceMoveRefusal({workspace, output, source}) in a new module web-shell/core/workspace-outputs.js, gives the refusal for the drop, the menu click and the state of each menu item. The core maps each code to a Portuguese text.

Code When Reaches
disabled History: the setting was off. The code went with the setting on 2026-11-03. none
unsupported No capability, or no live lease. tab, menu
locked The session is locked. tab, menu
busy A selection block holds. tab, menu
restoring The session restore runs. tab, menu
no_output The connector is gone. tab, menu
unknown_workspace The workspace is not an open conversation. tab, menu
no_other_workspace The primary workspace leaves and no other workspace is free; also the drag of the only open workspace. tab, menu
no_press, not_bar The drag start. tab
invalid_primary The compositor refused the primary hint (a race). tab, menu
failed Any other error of the compositor or its transport (no connection, a timeout). Added in phase 4. tab, menu

The text of the last refusal goes in the host snapshot as wm.workspaceOutputs.refusal {workspace, code, text, until}.

Validation of the primary hint, in the compositor: primary is accepted only when the source of the move is the primary output, the target is an extra output, primary differs from workspace, it is a known id of the workspace order, and no output shows it. Else invalid_primary, and nothing changes.

As built (phase 4, 2026-11-02):

  • The refusal function is workspaceMoveRefusal({workspace, output}, {live, state, conversations, blocked, restoring, shared}) (until 2026-11-03 it also took setting and refused disabled first) in web-shell/core/workspace-outputs.js. It has no source: phase 4 has only the menu, and phase 5 adds the drag codes no_press and not_bar at the drag start. Its checks run in this order, which differs from the table: unsupported, locked, restoring, busy, unknown_workspace, no_output, no_other_workspace. The restore comes before a block, so a move during the login restore names the restore, and an unknown workspace comes before a bad output. Node tests with two conditions true at once pin the order. The texts are in workspaceMoveRefusalTexts; the spec gave none, so the texts are new. A move to the primary output is accepted as a selection target, and a move that changes nothing is not refused. That includes output: null for a workspace that no extra output shows: the route answers ok and the compositor changes nothing. The menu never offers that item, and a refusal code for it would only add a text that no user path shows.
  • A typed refusal of the compositor keeps its code. Any other error of setWorkspaceOutput (for example "Smithay control is not connected" or a timeout) is failed, with a generic Portuguese text; the raw text goes to the core log only.
  • busy covers a selection block of the core (an approval, a turn that holds the selection), a workspace switch and an overview transition. The core checks again at the click, and a move holds the switch block while the compositor applies it.
  • The core sends primary only when the workspace leaves the primary output for an extra output (movePrimaryHint, The primary pick). A compositor refusal keeps its code (invalid_primary and the others) and its text.
  • The routes: GET /api/workspace-menu gives the menu of the last named workspace with a serial, POST /api/workspace-menu {workspace} names it (a right click on a tab), and POST /api/workspace-output {workspace, output} moves it. All three are in the token-checked /api/ block: the launch cookie alone, Origin: null and a foreign origin get 403. They come before the switch guard, so a move during a switch gets the typed busy refusal.
  • The host offers the right click only while the lease is live. The menu panel is HeroUI (ui-src/host/workspace-menu.jsx). With one output it shows "Nenhum outro monitor conectado." and no item.
  • The registry marker is .web-panels-protected-v4, not v3: the screenshot UI took v3 first. The isolated-id refusal covers only the id workspace-menu, because an isolated volume-indicator stays allowed for compatibility.
  • The bar wheel: without a live lease the host picks the next or the previous open workspace and sends select {id}, as before phase 4, and sends nothing at the first or the last one. Under a live lease it sends select {step}; the core applies the step rule and answers {ok, moved}. When moved is false (the first or the last workspace), the host does not poll, does not show the selecting state and does not focus the composer. The core also accepts select {step} without a lease, with the rule of today.
  • History: the settings toggle "Workspaces em vários monitores" was a plain settings item, later a HeroUI item, shown only with workspaceOutputs and outputChats in the capabilities; it was removed on 2026-11-03 with the setting. The tab badge, the quieter mark, the dot ring and the card badge are in the plain bar and overview code, because HeroUI phase 9 has not landed.
  • The replug memory (ReplugMemory) waits while the session is locked, a selection block holds or the restore runs. A shown or closed workspace drops its pair. A new compositor instance, the lease off and a disconnect clear the pairs (the setting off did too until 2026-11-03), so a projector plugged into the same port later gets no workspace. A pair goes only after its move succeeds; a busy, restoring, locked or invalid_primary refusal keeps it for a later snapshot, and any other refusal drops it. A replug move notes no refusal on the tab.
  • The menu number of an output and the tab badge use the same place: the index among the outputs with a valid connector name.

Hot unplug and replug

Decision W12: an unplugged output gives its workspace back without a move. Recommended:

  • When an extra output that shows W goes away, W shows on no output. Its windows keep workspace W, their cells and their canvas rectangles. The primary output does not change. The user gets W back with a selection.
  • The host closes the output chat of that output (W8). A turn of W goes on in its conversation. An approval of that turn stays pending in the conversation and shows when the user selects W again and its chat shows.
  • When it was the focus output, the focus output becomes the primary output, and active follows (W8).
  • The windows of the shared grid of that output return to the primary workspace, as today.
  • The core keeps the pair (W, connector name) in memory for the session. When the same connector comes back, and W is open and on no output, the core shows W there again. A laptop dock or a loose cable then costs nothing. A core restart loses this memory; phase 6 saves the assignments for the next login (W11) but not this memory (not built). Since phase 5 of one workspace list, one camera per monitor a workspace that can show on several outputs comes back on its connector also while another output shows it, with the camera that the compositor kept for that view.
  • An unplug during a drag re-evaluates the target at the release. A drop on a removed output is a cancel.
  • The loss of the primary output ends the session, as today.

Validation plan

Gates of each phase

  • python3 scripts/prepare-project.py --root "$PWD" --dependencies-only, then npm run format:check, npm run check and npm test in web-shell.
  • python3 -m unittest discover -s scripts/test without AGENT_NATIVE_*, DISPLAY and WAYLAND_DISPLAY.
  • cargo fmt --check, --cargo test --locked --features session, and Clippy with -D warnings. Without rustfmt or Clippy, --cargo check --locked --all-targets --features session with 0 warnings, and the report says that fmt and Clippy did not run.
  • No U+2014.

Regression with the lease off

Each phase runs the test suites of the base unchanged with the setting off. Each phase also adds one test per changed path that runs the same scenario with the lease off and checks the behavior of 6d54d19: a shared window shows on every workspace, workspace changes the primary output, Super+Left/Right and the swipe step the primary output, Alt+Tab skips extra outputs, Super+T acts on the primary workspace, the host makes only the primary chat, each chat route without output acts on the primary chat, validState and window-session give the same output as at 6d54d19.

Tests per phase

  • Phase 1 (Rust, in-process clients over two and three synthetic outputs): each row of the W3 move table; the selection rule (a workspace on an extra output moves the focus, a workspace on no output goes to the focus output); workspace with primary: true (a scheduled selection): W on no output goes to the primary output and the focus moves there, W on an extra output moves only the focus, and without a live lease the key changes nothing; the swipe on the primary output skips workspaces on extra outputs, and a swipe with the focus on an extra output queues workspace_previous or workspace_next with no thumbnail motion; focus_output changes (a press on each output, a new window, Super+Shift+Left/Right, an unplug); shown_slot for each kind of window; each consumer of the Data model table; Alt+Tab per output; Super+T, Super+Shift+T and the maximize on the focused workspace; a new window on an extra output joins its workspace; bind moves a window to an extra output only when its workspace shows there and keeps a shared window shared otherwise; Super+Shift+Left/Right into a workspace on an extra output; the shared grid windows hide and come back; Grid cells carry over between outputs of different sizes; the chat cells stay reserved through a layout pass and a fill while no output chat is bound; a Canvas workspace stays on the primary output (the internal rule of W9); unplug; the lease tests of The lease; the lock tests of Lock; the snapshot fields; the primary validation. The ignored EGL test that draws a workspace on an extra output in local coordinates moves to phase 2 (decision of the phase 1 review): in phase 1 scene::workspace_elements reads the geometry of the output that shows the workspace itself, and no offscreen render of it exists yet.
  • Phase 1 (Node, synthetic cores from testEnvironment): the setting and the lease tests of The lease; validState with the new fields; the old validState accepts them; one test per row of Core sites that read "secondary"; active follows focusedWorkspace at once, also during a block, and calls markOpened; the drop calls markOpened; The primary pick with lastOpenedAt, with createdAt only, and the tie-break by the workspace order; the tests of The focus during a selection; the step rule (workspace_previous, workspace_next and the swipe step from the focused workspace, skip the workspaces that another output shows, no wrap at the ends, and do nothing with no free workspace); the core sends primary: true only for a scheduled selection and never without the capability; a turn whose focus moves to another output keeps its conversation, and its tool calls act on the workspace of the turn; the prompt test of runtime.js; the agent send_to_output refusal workspace_on_output and its absence on an older compositor; desktop_state fields.
  • Phase 2 (Rust): the chat declaration with output, one chat per output, the refusals "Only one window for this role" and "Unknown output", chat_of and the home grid of each output chat, the Focus presentations and Floating, Monocle and Pair with an output chat on an extra output, the Super tap to the output chat of the focus output, a press on an output chat moves the focus output, the glass regions and chat_glass per output chat, the paint marker per chat window, the capture of a named output, the negative tests of Security. (Node): /host-window with output, /api/state?output=N, /api/send and the approval answers refused with "A conversa mudou. Tente novamente." when the conversation left that output, one turn at a time across the chats, focusChat raises the output chat of the conversation of the turn and expands only its dock for an approval, the lease renewed with both capabilities from a real phase 2 compositor. (Host): the host creates the output chat when an extra output shows a workspace, closes it when the output shows its shared grid, at the unplug and at the end of the lease, keeps the bars, the wallpaper and the primary chat, and repairs an output chat that does not bind. (Browser against a synthetic core): two chat pages, one per output, each with its own conversation, composer, approvals and glass regions.
  • Phase 3 (Rust): the camera projection into an extra output, the fit viewport over the whole output, pan and zoom input routed by the pointer output, the downscale cache and the fractional scale per output, the lock gates on that output, the canvas lease and the agent limits on that output, the end of the internal rule of W9. (Node): the chat visibility route with output, a Canvas workspace in the replug memory.
  • Phase 4 (Node and browser against a synthetic core): the protected settings toggle of workspaceOutputs (history; since 2026-11-03 the tests prove that no toggle and no route exist); the bar wheel with step on the focus output; the wm.workspaceOutputs field and the barState rings, the badge and the ring, the workspace-menu panel and its marker, the route, the shared refusal function and each code on the tab and in the menu, a menu item disabled by a selection block, the card badge, the negative tests of Security, the replug memory in the same login.
  • Phase 5 (Rust): workspace_drag accepted only with a held press on the bound bottom bar; each refusal; Escape, the lock, the unplug and the loss of the last lease holder cancel; the drop target per output; the workspace_drop request only under a live lease; no client gets input during the grab; the ghost renders with the geometry of its output and draws on the output under the pointer (ignored EGL test); the negative tests of Security. Node: the route, validState for workspace_drop, the single command at the drop, the selection blocks at the drop, the active update and announceSelection, the single-workspace refusal at the start. Browser: the bar page cleanup after a pointerleave without a release.
  • Phase 6 (Node): the workspaceOutputs and primaryWorkspace record fields, the restore order, a missing connector, a closed workspace, a Canvas workspace restored on an extra output, the output chats created after the restore, a restore behind the lock, and a loader test with the 6d54d19 WindowSession.load().
  • Stop every test core you start. Check with pgrep -af "core/server.js".

What nested QA can prove

scripts/nested-qa.py runs one private nested session with one output, no gestures and no provider (nested QA). With one output it can prove only:

  • The bar badge, the ring, the menu panel and its items render (the menu lists no target with one output).
  • No regression of the bars, the chat, the overview and the transitions with the setting on and off.

Almost everything new in this spec needs a second output: a workspace on an extra output, its output chat, the routing of each chat, the Super tap per output, Canvas with its own camera there, the step on the focus output, Alt+Tab per output, the move, the drag, the ghost across an edge, the unplug. So the nested option with two virtual outputs (open question 7) is required before phase 4, the first phase with a user path. It ships in phase 2, or as its own branch before phase 4. Phases 1 to 3 have no settings toggle, so their nested proof waits for phase 4, unless the two-output option also gets a step that turns the setting on in its own private core. Phase 4 then runs nested QA over the paths of phases 1 to 4, and phase 5 over the drag. If the option cannot be built, each phase reports that it has no nested proof and depends on the in-process tests and the live check. Report every nested run as nested proof only: no real monitors, no hot unplug of a real cable, no gestures and no provider (so no real turn or approval in an output chat).

The live check that needs the user (under coordination.lock)

  • DP-1 and HDMI-A-1: a workspace shown on HDMI-A-1 with its output chat; a message, a turn and an approval in that chat with the real provider; the Super tap on each output; "Mostrar ao agente" from the chat of HDMI-A-1; voice from each chat.
  • A selection of a workspace on HDMI-A-1 by a tab click and by Super+1..9 (the focus moves, nothing moves between monitors); Super+Left/Right and the bar wheel with the focus on each output; the three-finger swipe with the focus on each output (touchpad only).
  • Grid, Focus and Canvas (pan, zoom, fit and the floating chat) on HDMI-A-1.
  • The menu, the drag in both directions, Alt+Tab on each output, a new window under the pointer on HDMI-A-1.
  • A cable unplug and replug of HDMI-A-1 with a workspace on it, also during a turn of that workspace.
  • A new login with saved assignments.
  • The lock with a workspace on HDMI-A-1.
  • The memory of one output chat.

Migration phases

Each phase is one branch in a worktree with its own review rounds, gates and nested QA, rebased on origin/main. It ships behind workspaceOutputs (off by default). With the setting off, the behavior equals 6d54d19. (History: since 2026-11-03 no setting exists, and without a live lease the behavior equals 6d54d19.) Compositor phases take effect only at a new login; host and core phases at a host and core restart or the next login.

Phase Scope Proof
0 This document, the dated section in docs/architecture-decisions.md, and the work log entry. Docs gates.
1 Compositor data model (shown, focus_output, shown_slot, the consumers, the three classes of desktop.workspace, the camera uses sorted per output), W1 to W3, W5, W9 without Canvas (the internal rule keeps Canvas on the primary output), W12 without the replug memory, the lease, workspace_output, the selection rule and the step rule, the primary key of workspace, the swipe with the focus on an extra output, the snapshot fields, the keys on the focused workspace, the lock. Core: the setting with the route /api/workspace-outputs-enabled and its Node tests (no settings toggle), the lease, validState, the "secondary" sites, the wait of setWorkspace, active that follows the focus with markOpened, the step rule, the turn code that reads the conversation of the turn (turnWorkspace, agentWorkspace()), the observe binding of a new window, the memory policy over every shown workspace, archive and create, The primary pick, the agent refusal, desktop_state, the agent prompt text of runtime.js. No UI. In-process tests. The ignored EGL test of a workspace on an extra output moves to phase 2.
2 Output chats (W8): capabilities.outputChats, the chat declaration with output, one chat per output, the output chat in each layout except Canvas, the Super tap, the glass regions and chat_glass per chat, the paint marker per chat, the capture of a named output, the nested option with two virtual outputs (open question 7). Host: create, declare, close and repair the output chats. Core: /api/state?output, the routing of the send, the retry, voice, approvals and focusChat. From this phase the lease can be live in a real session, because the compositor reports both capabilities. Depends on phase 1. In-process tests, host tests, browser against a synthetic core with two chat pages.
3 Canvas on an extra output (W9): capabilities.outputCanvas, the camera per output, the fit viewport over the whole output, the chat visibility route with output, input routed by the pointer output, sharp zoom per output, the end of the internal rule. Depends on phases 1 and 2 (the floating chat is the output chat). Builds on canvas phases 3 to 8, which are on main. In-process tests.
4 Host and core UI: the protected settings toggle of workspaceOutputs (removed on 2026-11-03), the bar wheel with step, the badges, the rings, the card badge, the workspace-menu panel, /api/workspace-output, the refusal function, the replug memory in the same login (W4, W10, W12). First visible step and first user path to an extra output. The nested two-output option, unless an earlier phase has it. Browser against a synthetic core, nested QA with two outputs over phases 1 to 4, then the live check of the menu, the output chat and Canvas on HDMI-A-1.
5 The drag: /api/workspace-drag, workspace_drag, the grab, Escape, the ghost and the dim, workspace_drop, the refusal text on the tab (W6, W7). In-process tests, nested QA with two outputs, live check.
6 Persistence and the login restore (W11), and the replug memory across a core restart (W12). Built on 2026-11-03 with phase 5 of shared-workspace-cameras.md, except the replug memory across a core restart (see W11, As built (phase 6)). Node tests (done), a new login live (needs the user).
7 The live check of the whole feature with the user. The decision on the default of the setting is taken: on 2026-11-03 the user removed the setting. User.

Rollback per phase (since 2026-11-03): revert the host, the core and the compositor of the phase together, or revert the core and wait for the lease rule (the end of the grace time). No data is lost with that order. A rollback of the compositor across phase 2 rolls back the host and the core of phase 2 or later too. (History: turn workspaceOutputs off first, or keep it off.)

Review record

Revisions 1 and 2 had two review rounds. Revision 3 had its own two review rounds, the limit for a docs-only review of a revision.

  • Round 1: fixes in 7ebec80.
  • Round 2 (one code-reviewer, no HIGH finding). Each finding was checked against the code at 9d6dc3d:
    1. MEDIUM, fixed: the setWorkspace wait during a press on another output. See The focus during a selection.
    2. MEDIUM, fixed: the optional key primary: true on workspace (W3), with its callers and tests. The compositor cannot tell the caller, so the Rust tests cover each caller kind of the key and the Node tests check that the core sets it for each caller. Revision 3 keeps only the scheduled caller.
    3. MEDIUM, fixed: one predicate live for every new rule, and the rules of the grace time (The lease), with a Rust test of the grace state.
    4. MEDIUM, fixed: the follow of the focus and the drop call markOpened, and The primary pick has a tie-break.
    5. LOW, fixed: the agent prompt of runtime.js is in What this spec changes and in phase 1, with a prompt test.
    6. LOW, fixed: one term (most recently opened) and the reason to exclude V (The primary pick).
    7. LOW, fixed: bind keeps meta.output, and the shown output follows shown_slot (W5).
    8. LOW, fixed: phase 1 has the route and its tests and no settings toggle; phase 4 adds the toggle.
  • Revision 3 (the answers of the user to open questions 2, 3 and 9, and the clarification "um chat só por workspace"): W8 is now one chat per workspace shown on the output of that workspace, W9 gives Canvas to an extra output in phase 3, W10 records the HUD exception, the step rule replaces the primary key for Super+Left/Right, the bar wheel and the swipe, the canvas_on_extra_output refusal is removed, and the phases are reordered (output chats in phase 2, Canvas in phase 3, the first visible step in phase 4). Revision 3 review round 1 (one code-reviewer): 1 HIGH, 7 MEDIUM, 7 LOW, each checked against the code. Fixed: the core observe binding of a new window (HIGH, W5 and Core sites), the lease only with both capabilities so that phase 1 is inert in a real session (The lease), the core reads of the active workspace and the turn workspace (Core reads of the active workspace), the memory policy protects every shown workspace, archive and create (Archive and create), no wrap of the step, the alignment with the centered floating chat of the parallel change (no collapsed dock), the chat visibility is not saved (W11), and the LOW items (types, the workspace shape, the swipe check, the internal Canvas rule, the nested option in phase 2, the tie order, this record).
  • Revision 3 review round 2 (one code-reviewer, the fix commit only): no HIGH, 1 MEDIUM, 2 LOW. Fixed: the connect resend (smithay.js:1180) is the one workspace command before the renewal; observe keeps the rule of today for a shared window; the chat-dock facts are marked as true until the parallel chat change lands. This was the last round of revision 3.

What stays open for the implementation phases: the bar wheel keeps the selection rule of a tab click until phase 4; the keyboard has no path to move a workspace (Known limits, open question 5); most of the feature has no nested proof until the two-output nested option exists (open question 7); the open questions below.

Open questions for the user

  1. Answered on 2026-11-02: "não, o monitor 1 tem espaco para workspace e o monitor 2 vai ficar com espaço para workspace também, não funcionaria?". Each monitor shows its own workspace. A selection of a workspace on the extra monitor moves the keyboard there and does not pull it to the primary monitor (W3).
  2. Answered on 2026-11-02: "sim o monitor 2 teria as mesmas habilidades que o monitor 1, exceto HUD, de resto sim, chat proprio e tudo mais, um workspace completo", and "vai ser um workspace separado, então continua sendo um chat só por workspace". The workspace on the extra monitor has its own chat window there, for its own conversation (W8).
  3. Answered on 2026-11-02 by the same answer ("exceto HUD"): no bar on the extra monitor. The bars stay on the primary monitor, and the tabs keep their monitor badge (W10).
  4. While the extra monitor shows a workspace, what happens to the windows that sat on its shared grid? Recommended default: they hide and come back when you take the workspace off that monitor. Alternative: they join the workspace that arrives.
  5. Do you want a key to move the current workspace to the monitor on the side? Recommended default: no key in these phases; the menu covers the path without a drag, and the keyboard has no path (Known limits). If yes, Super+Ctrl+Shift+Left/Right is free.
  6. When the same monitor is plugged in again, should it show the same workspace again? Recommended default: yes, in the same login and at the next login, by connector name.
  7. Should nested QA get an option with two virtual outputs? Recommended default: yes, required before phase 4 (the first user path), built in phase 2 with the output chats. Without it most of the feature has no nested proof.
  8. After the live check, should workspaceOutputs be on by default? Recommended default: yes, as for the other settings that passed their live check. The setting stays as the rollback. Answered on 2026-11-03: "remover opcao de mostrar workspace em outros monitores, ela deve ser ativo sempre, nao uma feature flag". The setting is removed; the feature is always on with a supporting compositor, and the rollback is the lease end or a revert of core and compositor together.
  9. Answered on 2026-11-02: to "A alternativa é trocar o workspace do monitor em foco.", the user said "isso mesmo". Super+Left/Right, the bar wheel and the swipe step the workspace of the monitor that has the keyboard, with a cut on the extra monitor (Keyboard and focus).
  10. Amended on 2026-11-03: the bottom workspace bar shows on each extra output too (Decision of 2026-11-03); the rest of this reading stays. History: this spec read "exceto HUD" as the top bar, the bottom workspace bar, quick settings, notifications, the tray menu, the workspace-menu panel and the HUD plugin panels; they stay on the primary monitor. The overview also stays on the primary monitor. Everything else, including the chat, the chat dock, Canvas, approvals, the composer, voice and "Mostrar ao agente", works on the extra monitor too. Recommended default: this reading.
  11. Should the chats of two monitors answer at the same time? Recommended default: no, one turn at a time, as today; a send from the other chat during a turn gets the refusal of today. Alternative: concurrent turns, a separate core change with its own spec.