Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
docs: what the kanban board hides but does not unmount
enes75f1d25b5ae5
diff --git a/CLAUDE.md b/CLAUDE.mdindex 5acd953a7..48fcfb5c2 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -9707,7 +9707,12 @@ a full-page board view is MOUNTED (mount is the signal: both board views are conrendered, so it cannot drift from the view state the way a recomputed `kanbanOpen` flag can, and itneeds nothing from Canvas), and `:root[data-nt-canvas='covered'] .react-flow` overrides`--nt-anim-state` on that subtree alone — the variable INHERITS, so that one declaration is the-whole gate for every animation reading it. It is not a second writer of `data-nt-window` because+whole gate for every animation reading it. **The pinned sessions sidebar gets the same override**+(`:root[data-nt-canvas='covered'] .sessions-sidebar`): it sits at z 12, BELOW the board, stays+mounted and laid out there, and its working spinners and unread pulses kept the frame loop open+under an opaque board (measured, 20 working agents: GPU 4.5 % + renderer 5.7 % → ~0 %). Anything+else that animates under the board owes the same line; anything ABOVE it (the controls cluster,+the pills, a pinned explorer at z 26) is on screen and must not get it. It is not a second writer of `data-nt-window` becausethe two facts are independent (a board on a focused window; an unfocused window with no board) andone attribute with two owners is a race over who clears it. The claim is refcounted: React canmount the incoming view before unmounting the outgoing one, and a plain set/clear pair would let@@ -9717,11 +9722,27 @@ that unmount erase the live view's claim.not the terminals: xterm pauses only on its own GEOMETRIC IntersectionObserver, and a node underthe board still intersects. MEASURED BEFORE the pause (dev, 12 streaming terminals): board open36.5 % GPU vs 0.0 % over silent terminals, and `visibility: hidden` on the canvas 35.5 % — no help.-The number WITH the pause has not been measured. Each+The number WITH the pause is below (a different harness, so not directly comparable). EachTerminalNode wraps its RenderService's `_handleIntersectionChange` so xterm is told "notintersecting" while `boardOpen` (Omni included) is up and the node is not the focus-mode node (thefocus surface, z 40, sits above the board, z 25); uncovering replays the real entry through xterm's-own resume and then `fullRepaint`. Parsing never stops, so nothing is lost. Two rules: never fold+own resume and then `fullRepaint`. Parsing never stops, so nothing is lost. **Pausing the render+service is not enough on its own**: three per-output xterm 5.5 paths run beside it and never ask+whether it is paused — `CoreBrowserTerminal._syncTextArea` (every cursor move: a style/layout pass+per frame for a hidden textarea), `Viewport.syncScrollArea` (every scroll: offsetHeight/scrollTop+reads around writes, i.e. forced layouts) and `RenderService.handleSelectionChanged` (every scroll,+via `SelectionService.refresh`; the DOM renderer answers it with a FULL `renderRows`, so every+terminal without a WebGL context repainted its whole screen behind the board on every line). The+pause holds all three while covered (an instance property shadows each, a held call is recorded)+and replays each ONCE on uncover: the scroll area immediately, the selection with its latest range+(RenderService keeps that range only through this call), the textarea last; a covered dispose (a+park) replays too, the scroll area deferred. MEASURED (Server Edition, headless Chrome, 20 terminals+streaming a status line 10×/s, board open, glass on, CSS animations held): render pause alone+GPU 9.3 % + renderer 17.8 %, main thread 14.4 %, ~950 forced layouts per 15 s; with the three paths+held GPU 0.4 % + renderer 3.1 %, main thread 1.5 %, zero layouts. Only the board holds them — a+terminal that is merely off screen on the canvas still runs xterm's stock paths.+`board-render-pause.xterm.test.ts` drives a real xterm 5.5 so a rename in an upgrade fails there+instead of turning the hold into a silent no-op. Two rules: never foldthe board into `reportVisible` / the WebGL budget's visibility (that verdict drives hibernation andthe offscreen teardown — the board would put the very sessions it shows to sleep), and any other"is the board up" predicate must OR in `isGlobalKanbanOpen()` (`boardCoversCanvas` missed the Omni@@ -9758,7 +9779,13 @@ infinite): an unread node stays unread until someone looks, and a wait can lastcanvas those three kept the frame loop open indefinitely. MEASURED (46-node SSH canvas, 14 unreadnodes, 8 waiting ropes, FOCUSED window, dev build): idle renderer+GPU **~120% → ~25%**, and pausingevery remaining animation no longer moves it. Pausing any ONE family alone saved far less (85–104%),-which is the first-animation step above again. Only the attention glow (and its minimap beat) and+which is the first-animation step above again. **The board card's RUNNING chip is bounded too**+(`.kanban-badge--running`, `nt-pulse 1.1s ease-in-out 4`, ending at the chip's own opacity 1 /+scale 1): looping, one chip held the frame loop open for as long as its agent worked, and the+covered gate cannot reach it because the board is what covers the canvas; under Liquid Glass every+column's backdrop-filter ran again each frame (measured, 20 RUNNING cards, glass on: GPU 50 % →+17.5 %). The chip mounts when the agent starts working, so each new turn pulses again;+`settings.boardRunningPulse` off still holds it still. Only the attention glow (and its minimap beat) andReact Flow's animated edges (working subagent and loop edges, the driven-browser rope — see the`dashdraw` paragraph below) stay infinite — needs-you is the one state that must keep pulling theeye, and an edge animates only while its work runs — and the idle and covered gates pause all ofdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 016b7cea1..a72fa3a96 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -1661,6 +1661,15 @@ carrying information the user needs at a glance. A dependency's stylesheet countthe same test scans `@xyflow/react/dist/style.css` so an upgrade that adds an infinite animationfails there. The full measurement table and the reasoning are in CLAUDE.md § Idle energy.+**The kanban board hides things it does not unmount.** The canvas and a pinned sessions sidebar+stay mounted under the opaque board, and so do their terminals. An animation on something under+the board needs the covered override (`:root[data-nt-canvas='covered'] …`, pinned in+`src/renderer/lib/canvasCovered.test.ts`), and a status animation ON a board card must be bounded+to a few cycles, because no gate pauses what is on screen while an agent works for an hour. A+terminal under the board keeps parsing; `terminal/board-render-pause.ts` stops it drawing and also+holds xterm's textarea, scroll-area and selection paths, which ignore the render pause. If you add+another per-output xterm call that touches the DOM, hold it there too.+## Pull requests- Branch from `main`. CI runs `quality`, `CodeQL` and `Dependency review`; all three are required.