Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

8.6 KB
Raw Blame

Terminal workspace boundaries

The desktop design system governs all app UI around the panes. It replaces this document's former fixed-cell and text-only rules for welcome pages, forms, dialogs, pickers, menus, and buttons. Historical screenshots show prior iterations and are not a presentation specification.

Use the product terminology: a tab groups harnesses; a harness is one running agent session.

Preserve the terminal

Terminal output, direct keyboard input, the in-pane composer, and in-pane find remain terminal-native. Keep the selected terminal font, palette, exact content, scrollback, selection, and input behavior. Real code, paths, and logs may use monospace elsewhere when it helps readability.

Do not recreate, resize, or send input to a terminal merely because app chrome opens or closes. Preserve terminal ownership, pending streams, viewer-owner relationships, and pane state. Closing a pane removes its view immediately. When a session is shown in another pane or tab, Close removes only the chosen view and keeps the shared terminal alive. Closing the last view saves and stops the session, using the existing confirmation when it is working. A tab close applies this rule separately to each session. Recheck remaining views after any wait for inspection or confirmation, before requesting a stop.

Super Tab terminals are views of shared work. Their close control says Hide terminal; it dismisses the local view without inspecting, prompting to stop, or stopping the agent. The close shortcut and closing the Super Tab follow the same rule. The agent remains in its conversation and its terminal can be reopened. The coordinating agent is labeled with its project's coordinator name (Product Manager by default) throughout the Super Tab, including its terminal header; its first message is not its name. Super Tab membership protects an agent from automatic idle and parent cleanup, including while the host is offline and while the Super Tab is paused. Membership only in archived conversations does not, and protection lapses after a week without a confirmed roster (for example after sign-out). If the agent is already stopped, opening its Swarm pane shows retained terminal output or its saved conversation when that machine permits history access. Only the pane's explicit Resume action restarts it; navigation and restoration never undo a stop. Swarm membership does not grant access to machine-wide history.

A coordinator routes each delegation with harness super-tab route. The decision appears in the conversation as one row (who, how — Jev's confidence or the order the instructions give — and why); owners and collaborators can Change it with a reason, which tells the coordinator to hand the task over. A project's Instructions panel holds its routing advice; there is no account-level routing policy or per-Swarm Routing override.

Keep the workspace structure

Tabs remain compact and content-sized, adding one at a time until the row fills. Preserve Command-number navigation and established working/question/done/failure marks. Idle does not need a mark. Motion represents actual work and respects Reduce Motion. Keep the top global actions compact and the Store button familiar. Leave an 8-point control gap before Store. On macOS, notifications live in the system menu bar; the window keeps Search and Store. Linux and browser bars retain their notification bell. Show a count badge only when something is unread. Tooltips explain icon actions and resolve shortcuts from the live keymap.

The footer shows a global harness count, local host CPU/RAM/GPU and subscription allowance used on the left, all in neutral ink with whole percentages. Its right-hand context follows the focused pane: machine, project, branch and PR. Each terminal pane header ends with agent, model and close at every width. Hovering the right edge reveals split right; hovering the bottom edge reveals split down. These icons sit inside the pane, clear of resize gaps. The header has no split, add or zoom icons; zoom remains in menus and shortcuts. Agent and model use the same plain-text selector with no pill or chevron. Their hover/focus changes ink, not weight or size. The left side keeps the session name and activity; only a distinct domain-harness icon remains beside it, rather than repeating the named coding agent. Splitting opens New Harness directly with that pane's agent, machine, and project, then creates into the chosen split on submission. Clicking the agent opens the shared & Agents picker; clicking the model opens the shared Models picker for that harness; the footer does not repeat model or effort. Agent switching saves the original session before starting its replacement in the same project. Its pane and layout survive peer cleanup of the stopped source. Show the replacement terminal as soon as its creation is confirmed, including during startup. Setup and resume warnings preserve keyboard input on an available terminal, with guidance above the output so it cannot cover a prompt. Before the switch, the daemon writes a handoff record into .harness/handoff/ in the project (requests, last answer, git state, tool calls already run, and a transcript), kept out of git. Agents that accept an initial message are told to read it and wait; if it cannot be written they receive bounded recent requests and saved answers instead. Both survive retries; the saved original session keeps the full transcript. A fork with no turns of its own hands off the conversation it was forked from, up to the fork. A switch that leaves the new agent with nothing shows a snack bar saying so, worded apart for "nothing to hand off" and "the handoff could not be made". Do not show worktree implementation paths in everyday labels. User-selected shell/Powerline status styles remain available, including PR state colors and the option to disable color.

The captures below use synthetic pane names. Agent and model remain plain text; only the hovered edge reveals a split control.

Four panes with split right revealed in the dark theme

Nine panes with split down revealed in the light theme

Machine opens its scope, Project opens related harnesses, Branch opens the existing branches/PR history, and the PR opens its URL. These are navigation, not checkout actions. Missing data stays honest. Dependent viewers use their owner's context. See workspace-status-bar.md for behavior and data rules; the desktop design system controls presentation.

Focused panes

All panes stay at full contrast by default. Cmd+Shift+F toggles shading on and off while working (Ctrl+Alt+F on Linux; Alt+Shift+F in the browser). When enabled, panes outside the current focus receive the approved 30% neutral-gray veil; Graphite's inactive background is RGB 64,64,64. Appearance → Workspace → Shade inactive panes toggles this veil through the same saved preference and shows the current shortcut, including remaps. Toggle pane shading is also available in the command search and keyboard shortcuts. Turning it off leaves all panes at full contrast, with the existing focus and waiting-question borders. A single or zoomed pane stays clear. Existing click and keyboard focus actions own selection. Keep the current pane clear while a menu or the tab strip has keyboard focus. Waiting-question borders remain visible above the veil. The overlay does not consume the first click or alter terminal state.

Only the focused pane gets a location-colored rim: blue on this computer, muted teal-gray (AppPalette.remotePaneFocus) on a known remote machine, including a single or zoomed pane. Both use the same solid 1-point boundary. Remote location is a quiet cue with less emphasis than local focus blue; the footer identifies the machine in text. Unfocused panes keep their neutral rim. The existing amber waiting-question border takes precedence over the focus color. Location uses machine identity, independently of the connection's transport mode.

Input and review

Retain existing commands and their live remapping. Menus and visible controls make those commands discoverable without requiring a shortcut lesson. Text editors retain ordinary editing and composition. Disabled actions do not activate.

Review narrow windows, long names, terminal font changes, alternate terminal palettes, dependent viewers, missing Git data, and light/dark app appearance. Opening or dismissing desktop UI must return focus correctly and never type into an agent accidentally. Use synthetic terminal content for saved previews.