report
Internal requirements

AGI EXT product requirements

What the VS Code / VSCodium extension for agents-cli must do, for whom, and how each user journey should feel, with the journeys drawn.

  • Publisher identity is frozen: swarmify.swarm-ext
  • Every fact on screen comes from one agents feed watch stream
  • A card click in the Project panel costs zero subprocesses

Secondary agent shortcut

Agents: New Secondary remains available in the Command Palette and accepts a user-assigned keyboard shortcut. The extension supplies no default binding for it; Cmd/Ctrl+Shift+B opens Pages. Activation must not write user keybindings.

What this is

AGI EXT is the VS Code and VSCodium extension for agents-cli. It turns an open-source editor into an integrated agents environment: every coding agent (Claude Code, Codex, OpenCode, Cursor, Antigravity, Grok, Kimi, Droid) runs as a full editor tab, the Active Session sidebar shows what the focused agent is doing, and the Project panel lists every session of the open project on every machine you own, the ones that need you pinned first, beside the project's pull requests and tickets. The editor becomes the place you steer a fleet from, the way it used to be the place you typed code.

The extension is a presentation layer. agents-cli owns every fact (sessions, devices, accounts, attention, activity) and every mechanism (launch, placement, resume, fork, stop, scheduling, watchdog). The extension renders what the CLI streams and turns a gesture into exactly one CLI verb. That split is the product's one architecture rule and the source of almost every requirement below.

It is for developers who already run several agents at once, usually across more than one machine, and who want to see and steer that work without leaving the editor. It is a private repository shipped publicly on the Marketplace and Open VSX under the frozen identity swarmify.swarm-ext.

Summary

Open the editor, press one chord, and an agent starts on the right machine with the right account, in the folder you have open. Look at the sidebar and know what it asked, what it did, and what is left. Open the Project panel and see every agent on the project wherever it runs, reach the ones waiting on you, and start an agent on the next ticket. Close the laptop, come back, and the tabs are exactly where you left them. None of that starts a poller, parses a transcript, or invents a status.

AGI EXT product overview Conceptual product overview. The developer works in one editor window whose agent tabs, Active Session sidebar, and Project panel are rendered by the extension. The extension consumes one feed stream from the agents CLI and issues one-shot CLI verbs. The CLI places work on fleet devices where the real harness binaries run. PRODUCT OVERVIEW · CONCEPTUAL, NOT A DEPLOYMENT DIAGRAM Developer Editor window (VS Code / VSCodium) rendered by AGI EXT Agent tabs one terminal per agent, restorable status bar: label · host Sidebar the one preview Project panel sessions · needs you · PRs · tickets · settings a card click costs zero subprocesses Reader · Autogit artifact viewers · AI commits input agents CLI owns every fact and every mechanism sessions · devices accounts · attention daemon · watchdog feed watch one-shot verbs Fleet devices this laptop claude · codex worker box opencode · grok worker box cursor · droid real harness binaries placed by the CLI ssh Lime arrow: the single live stream every surface reads. Gray arrows: user gestures and the one-shot commands they become.
One editor window, one stream in, one verb out. The extension never talks to a device or a harness directly.

Goals

An agent starts from the editor without a prompt. Agents: New <Harness> opens a tab and the agent is running on a fleet worker with a balanced account in the open workspace. Check: press Cmd+Shift+A on a workspace, watch the tab open with agents run <harness> --interactive --device auto --cwd <workspace> --strategy balanced --mode auto and a live prompt inside it, with no picker shown.

The editor never invents a status. Every phase, needs-you flag, label, and timeline step shown comes from a row the CLI streamed. Check: with the stream stopped, the sidebar says "Waiting for the session stream…" and names the command it expects instead of showing an empty card.

Seeing costs nothing. Selecting a Project panel card, switching tabs, and opening the sidebar spawn no process. Check: ps shows exactly one agents feed watch --json child for all windows while the Active Session sidebar or the Project panel's Sessions tab is visible, and none when neither is.

Tabs survive the editor. Reload, crash, or quit and the agent tabs come back bound to their live sessions. Check: reload the window with three agent tabs open; three tabs return with their labels, and none of the sessions were stopped.

Every session of a project is one list. The Project panel's Sessions tab shows local, remote, background, and ended sessions with the same card shape and the same needs-you rule. Check: a session of this project started on a worker box by another machine appears in the panel with its machine on the card, and focus (↗) opens it in the window that owns the project.

A person sees what is asked from where they are. A permission, question, or plan review turns its session's card red at the top of its group in the Project panel with the agent's own question (the pinned card, when it is the tab in front), and the Active Session sidebar shows the same ask under its header with Reply and Focus. Check: trigger a permission prompt in a tab; the session's card turns red with the harness's question, and it leaves only when the CLI removes the attention row.

Non-goals

No scheduler in the extension. Nothing in the extension launches, resumes, kills, injects, or rotates anything on a timer. The CLI daemon is the only scheduler. A second scheduler in a UI process caused the resume storms and the 31 percent idle CPU incident the current design exists to end.

No transcript parsing or local state reads for facts. The extension does not read ~/.claude/projects, terminal registries, or session state files to decide anything the stream can carry. Remaining readers (src/monitor/sessionParse.ts, src/monitor/readinessDetector.ts) are recorded debt, scheduled for deletion, never extended.

No second platform. The extension does not score devices or accounts, resolve project paths, decide fork identity, or reproduce resume compatibility. Each of those has one owner in the CLI and the extension calls it.

No second session preview. The Project panel is a list whose cards select; the Active Session sidebar is the one session preview. A card click points that preview at the session; it never opens the sidebar, so a closed one stays closed and shows the session when opened. The deleted Fleet dashboard's persisted detail-rail preference produced a blank third-width column on open, and two previews of one session drifted.

No Gemini integration. The extension has no Gemini launch definition, installer, watchdog registration, prewarm configuration, transcript parser, or context-file alias target. Opening a workspace never creates GEMINI.md, even when an old explicit alias mapping requests it. Existing files remain untouched. Other configured aliases still work. The CLI catalog snapshot retains legacy ids solely to match the CLI protocol, not to install or offer the retired harness.

No local-first execution path or silent fallback. A launch under the default target goes to the fleet worker pool. A missing CLI noun is an upgrade error, never a filesystem fallback.

No API keys held by the extension. Autogit generates commit messages through agents run claude --model haiku. The Foreman voice orb and its agents.openaiApiKey setting were deleted with the Fleet dashboard in 0.9.394.

Findings

Three observations from running the extension shaped these requirements more than any design preference.

An always-on session watcher was removed in August 2026 because it pinned about 31 percent of a CPU core and leaked ssh fan-out to feed a view nobody had open. Restoring it behind a demand gate, so the single producer exists only while a visible sidebar or Project Sessions tab, an open Resume picker, or an unresolved tab needs it, is what made the stream affordable again. The same month a side-channel fetch per row produced the CPU incident recorded as agi-cli#3019; that is why a missing field goes onto the CLI row and never into a client fetch.

A persisted "detail rail open" preference in the Fleet dashboard (deleted in 0.9.394) restored a blank third-width column on open with nothing selected, and two previews of one session (the rail and the sidebar) drifted from each other. Removing the rail and making the sidebar the one preview removed the whole class of defect.

Ordinary launches once resolved the workspace through agents projects view <cwd>, and the first weak match in a monorepo silently sent the terminal to a child project's default path. Emitting the exact open workspace as --cwd and reserving --project for the explicit Pick Project command fixed it, and a recovery mapping that was machine-global instead of per-workspace produced a multi-window resume storm on reload. Both are now invariants enforced in code and tests.

Start an agent in a tab

You are in a workspace and want an agent working on it now, without deciding where it runs or which account it uses.

You press Cmd+Shift+A, or pick Agents: New Claude (or any presented harness) from the palette. The extension reads the one setting that matters, agents.launch.defaultTarget, and builds one command. Under the default auto that command is agents run claude --interactive --device auto --cwd <workspace> --strategy balanced --mode auto (the tests in src/core/launchTarget.test.ts assert the same string without the workspace). The workspace is passed exactly as opened: a monorepo root stays the root and a nested project folder stays that folder, locally and remotely. A tab opens at once with the harness's logo, named Placing… while the CLI places the run on a device from the worker pool, rotating the account by usage headroom (Starting… when the launch is local or pinned to a host).

When you want to choose one axis and let the CLI balance the other, the harness has five explicit variants. (Local) emits --local --cwd <workspace> --strategy balanced --mode auto, pinning the launch to the editor’s machine regardless of the configured target. Local defaults and Pick Host’s This Machine choice also emit --local. A hostless version pin emits --local and omits --strategy; an explicit host still wins. (Pick Host) prompts for the device and emits --device <name> --cwd <workspace> --strategy balanced --mode auto. (Pick Account) emits claude@ --interactive --device auto --cwd <workspace> --mode auto, with no --strategy, so the CLI routes to a picker-eligible worker and shows that device's account picker in the tab; a signed-out account can be chosen and authenticates in place. (Auto) chooses both without a prompt, ignoring the configured target, and emits the same --device auto --cwd <workspace> --strategy balanced --mode auto as the default. (Pick Project) is the only variant that replaces the workspace: it shows a project quickpick and emits --device auto --project <slug> --strategy balanced --mode auto, and the CLI resolves the project's configured path on the chosen worker. --strategy balanced rides every automatic-placement variant; only the account picker and a pinned version drop it.

What should happen: within a second a terminal tab exists, the status bar shows the agent's label and, when it runs elsewhere, the executing host shortened to its unique suffix. The tab names the session and nothing else: the logo says which harness, so no CC or CX is written into it (owner video, 2026-10-19). Until the session has a name the tab shows where its launch is: Placing… or Starting…, then New session once the session stream lists the running harness, which agents-cli does before any prompt (formatTerminalTitle, src/core/utils.ts; advanceLaunchStages, src/vscode/extension.ts). The tab title and the status bar show one name: the CLI's resolved title, else its label (your /rename), else the topic or request (streamTitle, src/core/projectPanel.ts); the extension generates no name of its own and no longer reports a tab's title back to the CLI. The editor tab shows at most 34 characters of it, cut at the last whole word with "…" (capTabName, src/core/utils.ts); the card, the status bar and the sidebars show it whole. VS Code gives an extension no way to set a terminal tab's tooltip, so the full name is not on the tab's hover. When the CLI says what a session was started with (startedAs), its card can show it on a faint line under the title, with Settings › A card shows › First message (off by default; owner video, 2026-10-19 1:32 AM: the "started:" prefix was "pretty annoying"). Agents: Rename Session (Cmd+Shift+L) renames the session itself: it types Claude's /rename <name> into the tab, and the new name comes back through the stream; other harnesses have no rename the CLI reads, and the command says so. The picker and --strategy never appear together; --project and --cwd never appear together. These exclusions are enforced by buildAgentLaunchCommand in src/core/agents.ts.

USER JOURNEY · START AN AGENT YOU Press Cmd+Shift+Aor New <Harness> (variant) Answer one prompt at mosthost, account, or project Type into the running agenttab titled CL, host in status bar EXTCLI Build one commandagents run claude --interactive--device auto --cwd <workspace>--strategy balanced --mode auto CLI places the runworker pool, balanced account,cwd re-rooted on the host Stream row arrivestab binds to the session id, title takesthe canonical name, sidebar renders Every automatic-placement variant carries --strategy balanced. Pick Account uses claude@ and no strategy. Pick Project adds --project and drops --cwd.
The extension never scores a device or an account. It pins at most one axis and hands the rest to the CLI.

Come back after a reload or a crash

You closed the editor, or it crashed, with agent tabs open. You want them back exactly as they were, and you want none of the agents killed by the reload itself.

You reopen the workspace. The extension reads the persisted tab metadata for that workspace (terminal id, harness prefix, session id, host, label, pinned version) and reopens each tab through the CLI's resume path. Each restored tab then rebinds from the live stream: the first row that claims the tab's terminal id on the same observer device and host is the tab's session.

What should happen: every tab returns with its label and icon; the status bar and sidebar follow the restored session once the stream reports it; the agent process was never signaled. Closing a tab by hand is different: only a real user close (TerminalExitReason.User) issues agents ps stop <id>. A reload is never treated as a close. Each window keeps its tabs in its own file, so a second window can neither resurrect a tab you closed nor erase this window's tabs; restore opens one tab per session, keeps each tab's device, and skips a session the window already shows.

Where this is still debt: src/core/prewarm.simple.ts still lists OpenCode sessions on tab open, slated for deletion once the CLI daemon owns restore.

USER JOURNEY · RELOAD OR CRASH YOU Editor reloads or crashesthree agent tabs were open Reopen the workspacenothing else to do Same three tabs, same labelsagents still running EXTCLI Persisted tab metadataterminal id, prefix, session id, host,label, version; no stop was sent Reopen through resumeagents run --resume <id>per workspace, never machine-global Rebind from the streamfirst sole live claim on the tab's terminalid binds it; a Previous row cannot Only a real user close sends agents ps stop. Reload and restore are never a close.
Persisted metadata is enough to reopen a tab. It is never proof that a process is alive and never a transcript cache.

See what an agent is doing

The active agent tab shows a copy icon and the first eight characters of its session ID. Hover exposes the full ID and remote host; clicking copies the full canonical ID. Switching to a text editor or a plain terminal clears the session tooltip. Remote attach titles omit host-only placeholders; execution host identity comes from structured stream facts, never task text.

You have several tabs and you want to know, for the one you are looking at, what you asked, what it has done, and whether it is stuck, without scrolling its terminal.

You focus an agent tab, or click a session card in the Project panel. The Active Session sidebar (the agentsPanel.terminal view) takes that session as its subject; the last of the two triggers wins. A focused tab whose harness has not reported its session id yet (Codex, Grok) is still the subject: the sidebar shows that tab, never the previously focused one, and renders its row once the stream binds the id or you set it with Set Session ID for Terminal. The sidebar renders synchronously from the warm presentation store as one card, top to bottom (owner review, 2026-10-12: fewer components, nothing important below the fold). The title line carries the harness icon, the session's title (your /rename, else the CLI's generated title) and two quick icons, each with its words in its tooltip: open its tab (↗; ▶ resume when no tab here holds it) and ⋯, a drawer inside the card with Fork (the panel's own tab forks in place, otherwise Agents: Fork (Pick Session); out of the title since the owner's 2026-10-17 video), the model, the account label, the host, the short session id (copy, and a pencil to rebind the tab, offered even before the harness reports an id), chips for project, branch, a worktree badge only when the agent works in a linked worktree, the start time, tokens, and the raw identity lines; the drawer remembers whether it is open. Under the title one line states where the session is, by who has the ball (sessionStateOf, ballOf, the same words the Project panel uses): "Asks" (an open question or permission), "Stuck" (the CLI flags a live stall or failure), "Ready for review", "Idle" (it finished its turn and asked nothing), "Running", "Waiting" (its turn ended but its own background work still runs; a slowly breathing blue dot, and under the state a "Waiting on its own work" list names each subagent, background shell and monitor with how long it has run), or "Ended" (the process exited or is gone; it says nothing about whether the work succeeded), with how long it ran, when it last moved and, quiet at the end, the account it runs on. Asks and Stuck read amber. A Running session with no activity for five minutes shows "Running, but quiet since

Since the owner's 2026-10-17 videos: the agent's newest agents feed post sits under the title in a gold box ("From the agent"), and its posts are gold in the feed; a blocked post keeps its red strip. The reply box stays at the bottom of the sidebar whatever the card's length. With a plain shell in front (SH, before an agent is adopted into it) the sidebar says "SH is a shell, not an agent session" instead of keeping the last session, and an editor-tab click moves the Project panel's This tab and the sidebar together even before the tab has a session. When the row lists a source beside its rendered page (plan.md and plan.html), Made shows the page once, marked "from plan.md". ⌘K lists sessions waiting on you first, under Needs you, so ⌘K then Enter reaches the ask; every session row carries its harness logo, its state words and its activity as a line of bars (sparkline, from the row's activityHistogram).

What should happen: switching tabs paints instantly with no await, fetch, or lazy enrichment. On an older CLI the cards degrade honestly: request falls back to the cleaned prompt and then the topic, timeline falls back to checkpoints, and the Files card does not appear. Two states are never faked: when no reset has been seen for the subject's scope the Timeline says "Waiting for the session stream…" and names the command; when the CLI reports the timeline unavailable it says so with the CLI's reason.

USER JOURNEY · SEE WHAT AN AGENT IS DOING YOU Focus a tab or click a rowtwo triggers, last wins Read the sidebarrequest, timeline, checklist, files Reply, Focus, or Resumefrom the sidebar footer and header EXTCLI Subject = session rowpresentation state only, neverpersisted; works with no local tab Synchronous paintevery card is a copy off the warm store:no await, no fetch, no transcript read Honest degradationno reset yet: "Waiting for the sessionstream…"; unavailable: the CLI's reason The zero-overhead guarantee: a tab switch or a row click starts no CLI process.
The sidebar is the one session preview. A Project panel card selects; it never opens a second preview.

Manage a project from the left sidebar

You run several agents on one project and want the project's state in view while the right sidebar shows the session you are in: what is open, which sessions stopped, which PRs are ready, what is next.

VS Code's top row names the project and its milestone (owner, 2026-10-27 1:26 PM): the view's title is " / ", which VS Code writes as "AGI: RUSH / 0.2.1 - STABLE FOR RUNNING AGENTS" (the container is named AGI; VS Code always writes its name first and shows no view description in a one-view sidebar). The milestone is the one Issues lists (picked in Issues' ⇅), else the project's next unfinished milestone from one linear goals --json read (the goals of the project's Linear workspace, when the panel shows, at most once a minute, or on Refresh), matched by the project's Linear name, else the company goal, else your day goal; a failed read leaves the project's name alone. Sessions working on today's goal (its ticket id in the title, topic or latest reply) carry ☀ on their card, and ⇅ offers "Only today's goal", a remembered toggle that shows only them. The Project panel is one sidebar view with three tabs: Sessions, Issues (the project's Linear tickets) and Review (its pull requests). Settings is the gear in the view's title bar, the last of the panel's icons (⇄, pop out, then ⚙; VS Code draws its own ⛶ after them), and Refresh lives inside Settings; ⌃1 to ⌃4 switch to Sessions, Issues, Review and Settings while the panel has focus, so they never take Ctrl+1–4 from an editor or a terminal. The header is one row (owner video, 2026-10-18 8:59 PM): the goal, then the tabs as icons with the ✳ Lead first (owner video, 2026-10-22 6:42 AM), then that tab's own controls (☀ and search on Sessions; Review's ⇅ menu). Settings › Tabs turns Review and Issues off; with both off the Sessions tab hides too while Sessions shows (it stays in Settings, as the way back), and the row is the goal and its controls. The goals already sit above the tabs, so there is no Overview tab. Each tab names itself in its tooltip and the active one is tinted; a badge on the Sessions icon counts open asks (never an idle turn) as of the last time Sessions was shown (the stream runs only while Sessions is visible), arrow keys move between tabs, the panel remembers the active tab per workspace, and each tab keeps its scroll while the panel is open. Only the active tab loads. Its project is the one containing the open workspace folder (agents projects status --path <folder> --json), or the one you choose, remembered per workspace. The view's title names it with its milestone, and Switch Project (⇄ in the title bar; one agents projects list --json and one linear projects --json read when it opens) lists every live Linear project, each through the agents project that links it with its repositories (so Review works), or "tickets only, no repositories linked" when none does, then the agents projects whose Linear link is missing or gone ("Linear link gone (AGI UI)"); the shown project is checked and the one found from this folder says so. Detection can be wrong, so a pick wins and is remembered per workspace; Use detection again clears it. With nothing found the title is just "AGI" and Sessions links to Switch Project. Sessions lists every session of the project from the session stream already in memory, filtered on the CLI's confirmedProject, so it starts no process; until agents-cli resolves a renamed project's old names, a session whose checkout is one of the project's repositories (the folder's root, or the repos agents projects list names) is listed too when the CLI gave it no project or a name no registered project has (a session of another live project in the same repository stays there), and its ⋯ menu says what the CLI filed it under; Agents: Resume Session… applies the same rule; a session with a tab in this window is listed whatever project the CLI gave it, or none, since the tab is a fact of this window (owner video, 2026-10-19 12:58 AM: "there's an agent running in the shell, it's not properly recognizing it"), so this window's group is every agent tab here, while the resume picker still lists only the project's sessions; the stream is demanded only while Sessions is the visible tab, and it redraws when the stream changes. It is built to be read at a glance (AGENTS.md, Design). The tab already counts live sessions and marks the ones that need you, so the header holds only a search icon (⌘K; see below) and never changes as the list loads. A filter bar sits at the top of the list, always: typing keeps the listed cards whose title or words hold every word typed (the pinned card stays), a redraw keeps what was typed, Esc clears it, and ⌘K still searches every project (owner video, 2026-10-22 8:50 AM). The panel's header is one row, the same on every tab (owner video, 2026-10-27 1:19 PM): the tabs as icons, then 🔍 and ⇅ in the same place. 🔍 turns the row into the filter field for that tab's list (sessions, pull requests, issues or the Lead's turns) until Esc, and each tab keeps its words; ⇅ is dimmed where there is nothing to sort, and on Issues picks the milestone it lists. The ⇅ menu (owner video, 2026-10-22 6:42 AM) comes with checkmarks: Show first (Tabs in this window, tabs with no agent, ended; with it off a session whose tab is here is listed only while it asks), then Sort (Tab order, the default, which keeps this window's tabs as its tab bar has them; last active; newest; name). View has one grouping choice, Group by topic, on by default (owner, 2026-11-16): a live session joins a group named by its agents-cli workstream, the short name agents-cli's session-title job gives what it is about ("Rush Mac", "Ahrefs SEO"), in the same batched model call that writes its title, so related sessions share one name; topic groups come first. A session with no workstream yet, an Ended one, and every session with the toggle off group by where they live, and this window's tabs are headed by the editor's icon and the workspace (agi-ext 5; the icon already names the app, owner 2026-10-22 1:01 PM). The extension never names a topic itself. The menu's first section is View: Default draws full cards; Compact draws each listed card as its title row (title, state pill, age), the agent's latest line and the row of what it made, with no previews or ask box (owner, 2026-10-22 1:02 PM); the pinned card is never compact. Within a group, what asks comes first, then finished turns, then what works, then what ended, each tier in the chosen sort; Tab order keeps this window's tabs in the tab bar's order after the asks, and Name is the names alone after the asks; the choices, folded groups, the section order and hidden sessions are remembered per workspace. Each section moves with ↑ ↓ on its header (owner, 2026-11-16 2:43 AM); a section the viewer has not placed keeps its own slot, and Settings > Sessions > Section order resets it. ⇅ > Sections (and Settings > Sessions > Order) picks Needs you first, the default, or Your order: under Needs you first every section holding a session that asks moves above the rest, the one whose most pressing ask leads first (urgency, then longest wait), and its header says how many need you; Favorites stay on top and the other sections keep your order (owner video, 2026-11-24 5:00 PM). Dragging a listed live card onto another topic's section moves the session there: the target section shows a dashed outline, the drop runs agents ps topic <id> <topic> --json once (agents-cli stores it on the machine that owns the session, and its title job never changes it back), and the card moves when the stream reports the new topic; "Moved to " floats at the panel's foot, with Undo when the card came from another topic, and a refusal shows the CLI's words (PHNX-4676). A header click always folds its section, even the one holding the front tab's session, which the pinned card shows (2:44 AM). Ended sessions are off unless Settings > Sessions > Ended sessions asks for the last 10, the last 25 or all; a capped Ended says how many older ones it leaves out, and ⌘K finds every one. Settings is one page in six titled sections (Sessions, Cards, Header, Shortcuts, Pull requests, pages and more, Devices) under a row of jump buttons. Ended sessions are shown by default in a folded Ended group, so a session to resume is one unfold away; preferences saved before this default get it too, unless they had turned Ended on or group by Machine or None, which have no Ended group and keep Ended off. Only a real ask is your move (owner recording, 2026-10-13: 11 of 12 Your move cards were idle). The front tab's session is pinned above everything, opened up (owner, 2026-10-18), and its card also keeps its own place in this window's group with the selected rail, so switching tabs never reorders or removes a card (owner video, 2026-10-19 1:32 AM: "this tab should still be showing here… the tab completely vanishes"); its answer buttons are on the pinned card only, and the listed card shows the question. It has no ‹ › since 2026-11-07: it follows the front tab and nothing else. Since 2026-11-12 (the owner's 2026-11-07 5:56 AM video, 3:37: "do some kind of scroll here and then that moves to the next session") a two-finger sideways swipe over it moves the front tab: forward (fingers to the left) does what Agents: Next Agent That Needs You does, back fronts the session tab that was in front before, one further back on each swipe without bouncing between two (it skips a tab since closed), and the card follows the tab it lands on, sliding in from that side for 150 ms (not under reduced motion). A swipe counts once its sideways travel passes 60 px and more sideways than down, then the card ignores the trackpad's momentum until the wheel is quiet for 300 ms, except that 200 ms after a swipe a finger swiping again (faster, or turned back) is the next swipe at once, so swipes can follow each other without a pause (owner, 2026-11-12); the page holds it, so the editor never goes back a page, except over a row inside that can still scroll that way (the Made shelf, a chip row), which scrolls. With nowhere to go the status bar says so ("Nothing needs you: every other agent is working", "No earlier agent tab in this window"). Agents: Next Agent That Needs You fronts an open ask you have not had in front since it asked (by the CLI's urgency, then the longest wait), then a tab whose turn finished after you last had it in front (newest first), then the other asking and idle tabs, the one you saw longest ago first, never one that is working or waiting. Each arrow names its target in its tooltip ("Next that needs you: tab 8 · "), and the pinned card follows the tab you land on. What the window remembers for this is only which session tabs were in front and when (a tab in front for under 1.5 s, as when the editor restores tabs, does not count), never sent anywhere; every ordering fact comes from the rows. Agents: Next Agent That Needs You (<code>agents.nextNeedsYou</code>) does what › does in that mode from any tab or editor; it has no default key, since Cmd/Ctrl+Shift+R is Agents: Reload. an ask from its own agent sits directly under the title row, one line with the Lead's ★ draft (below); the title row is its title, wrapping to two lines, its done verdict and its age, whose hover holds its state, any background work, the host, the tab and the rest, with ⧉ and ⋯ on hover (owner video, 2026-11-07); Claude's own recap (the row's <code>recap</code>, <code>{ text, at }</code>) headed "Recap · 26 min ago", dimmed with "before your last message" once you have written since, else the agent's latest words; what it made, as the Active Session sidebar's Made shelf (every PR it opened, the ticket it is on and every ticket it created, then its artifacts, in one row that scrolls sideways; never a count of edited files), drawn as one row of chips (by default) or as the preview tiles, by Settings › What it made, the same choice for the Active Session sidebar, then, once agents-cli sends them (<code>touchedPrs</code>, <code>touchedTickets</code>), a Touched row of what it only acted on ("merged <a class="link-pill" href="https://github.com/phnx-labs/agi-ext/issues/3995" title="https://github.com/phnx-labs/agi-ext/issues/3995" target="_blank" rel="noopener noreferrer"><svg class="link-pill-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg><span class="link-pill-text">#3995</span></a>"); every step the row carries with its clock time in a box of fixed height that scrolls on its own, newest at the bottom and kept there unless you scrolled up (wheel, or arrow keys once focused), under how many came before, with "Open the sidebar ›" for the rest; and a reply box with the mic, the same one the Active Session sidebar has, which a stream update never redraws (<code>data-keep</code>). Every card's title is the row's <code>title</code> as agents-cli made it (final since 1.23.31), never a prompt or a request headline; a row with none reads Untitled. A click on the pinned card's title renames the session (owner video, 2026-10-19 12:58 AM): it becomes a box, Enter types Claude's own <code>/rename <name></code> into that tab (<code>submitToTui</code>, the same as Agents: Rename Session), Esc or leaving the box cancels, and the card and the tab change when the stream reports the new title (until then the card keeps the stream's title and a notice says what was typed); a stream update never takes the box away. Another harness has no rename the CLI reads, so its title is not editable and its tooltip says so. Its card is also in this window's group, in its usual place. There is no group of asks: a session that asks is a red card that leads its own group, ordered by urgency (the attention item's <code>urgency</code>; a CLI that sends none reads normal), then a session whose agent posted that it is blocked (its latest <code>agents feed post</code> is status.blocked and you have not written since; "Blocked"), then the longest wait, then the CLI's attention kind (question, permission, plan review, declared, failure, stall, review; <code>ATTENTION_KIND_RANK</code>, <code>src/shared/sessionState.ts</code>). A stall or failure the CLI flags is an ask too ("Stuck"). Finished sessions with no tab in this window sit in their own place, after what asks and before what works; Settings > Ready for review and Idle groups (off by default; owner video, 2026-10-22 6:42 AM: "I don't want the separate group of idle tabs") puts them instead under the pinned card in Ready for review (an open review request) and Idle · finished, no tab here (folded by default, with its count). Every session with a tab in this window stays in this window's group, working or finished, in tab order under the default Tab order sort (after what asks), each card carrying the number of its tab ("⌘3" on macOS, "Alt+3" elsewhere), matched to its tab by terminal identity, not by label, so two tabs with one name keep two numbers; one that asks leads it, and its answer buttons exist once (<a class="link-pill" href="https://linear.app/getrush/issue/PHNX-4387" title="https://linear.app/getrush/issue/PHNX-4387" target="_blank" rel="noopener noreferrer"><svg class="link-pill-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z"/></svg><span class="link-pill-text">PHNX-4387</span></a>): the front session's are on the pinned card, its listed card showing the question. Each group is where the session lives, with the app's icon: this window's tabs, named by the workspace beside the editor's icon ("agents"), each other editor window by the workspace its tab's window has open (<code>observerTerminals[].workspaceDir</code> from the CLI), Ghostty (the row's terminal app), other terminals, Background (a headless run, a team member or a cloud task), and Tabs with no agent (an ended session whose tab is still open here, with Close all). A group header is its icon, its name and a count; it draws no row of state dots, which said nothing at a glance (owner video, 2026-10-27 9:24 AM). Each session is an outlined card that always shows the same thing, so nothing moves under the pointer (owner video, 2026-10-12): the harness's logo (from the row's agent type) before its title, and how long since it last moved; its state as the card's tint, amber when it asks, red when it is blocked or the CLI saw it stall (the word is Blocked), green while it works or waits on its own work (the word is Running either way), a plain card when it is idle or ready for review (owner video, 2026-10-22 8:50 AM: three states, Asks, Blocked and Running; Asks and Blocked ring slowly, Running breathes); a listed card shows an ask's question only, its answers on the pinned card, unless Settings > Asks on listed cards says With answers; the pinned card's recap is two lines (the full text on hover) and its Activity box about two-thirds its old height; the state's word is in the card's tooltip, read to screen readers, and on ⌘K's pill with a dot beside the age (Settings > State, on by default; owner, 2026-10-22 12:30 PM) (an Ended card in the Project panel has no pill, since its group says Ended: its age names how long it ran and when on hover, "Ran 13h 8m: yesterday 6:50 PM → today 7:56 AM"; owner, 2026-11-06) (named the same on every surface by <code>sessionStateOf</code> and <code>ballOf</code>, <code>src/shared/sessionState.ts</code>, by who has the ball: Asks, Stuck, Ready for review, Idle, Running, Running · no transcript, Waiting, Ended; a crashed or orphaned process is Ended, which says nothing about whether the work succeeded; the Running dot breathes, except under reduced motion). Waiting is a session with status idle whose own background work still runs (the row's <code>pending</code>: running subagents, background shells with no completion yet, active monitors): it is Running, its dot alone and breathing, and the dot's hover lists each piece of work (⑂ subagents, ▸ shells, ◉ monitors) with how long it has run (no row of its own), and it is the agent's ball, so it is never an ask. A row without <code>pending</code> (an older CLI) reads exactly as before; the cumulative <code>subAgentCount</code> never decides it. A question carries how long it has waited, from the CLI's <code>attention.openedAt</code>, ticking each second in the page ("12s", "5m 02s", "18h 4m"); for its first 20 seconds the card glows amber three times, then the dot keeps a slow ring. A meta line appears only when the session's repository is not the one this window has open, and holds that repository's name; there is no tab number on a card (the tab says it, and ⋯ lists it); the title carries ⚡ for fast mode and ◆ for high, xhigh or max effort when the row says so. The host sits dimmed at the bottom right. Tab, model (with effort and fast), host, folder, session id, the account's email, and the project with its Linear project (and, for a session matched by its repository, what the CLI named it) are in the card's ⋯ menu; a click on a value copies it, with a faint "copied" beside it for a moment and the menu left open (owner video, 2026-10-22 6:42 AM). A working agent's shell command under its words is a card part, Command, off by default; the pinned card's Activity box is one too, on by default. Under the title of an ask, one line gives agents-cli's reason (<code>urgencyReason</code>) and the wait ("Blocks a release (npm publish) · waiting 46m"). Then a two-line preview: an ask in an amber box headed "Asks · <the question's header>", its question in two lines (the full text on hover, and a click on it opens it in place), its answers as one-line buttons "1 Yes, publish from zion" (each option's description on hover) from the attention item's <code>choices</code>, else its question's options, and two links, Other… (a reply box; Enter sends) and Try another way (it sends "I can't answer this right now. Try a different approach that doesn't need me; if there is none, park this and move to the next task."); a permission shows its command line and Approve, Approve for session and Deny. Keys 1 to 9 answer the selected card. An answer runs one <code>agents feed answer <key> --choice <id> --json</code> (or <code>--text</code>) at once and brings that agent's tab forward; with Settings > Undo at 5 seconds it first reads "Sending “<label>” in 5s · Undo", and leaving Sessions during the 5 s sends nothing. When the CLI could not deliver it the card shows why and offers the answers again. Without an ask the preview is the agent's latest words, and the command it is running; until the agent has said anything it is your own prompt, marked "You: …" so it never reads as the agent's words (owner video, 2026-10-19 12:58 AM); up to three previews, the images you attached (dashed, "Attached by you") before images the agent made, each decoded once in the page to a 480 px copy and cached, in a fixed box, and a card whose markup is unchanged is not touched on a redraw (<code>data-h</code>; cards pair by session, <code>data-key</code>), so previews never flash; and chips for its PRs (the GitHub mark; one per PR the session opened, from the row's <code>prs</code>), its ticket (the Linear mark; it opens the ticket in Issues) and its artifact folders. The title is the CLI's title, else the topic, your label or the request, skipping a note Claude Code inserts when another session writes in ("Another Claude session sent a message: …"), a sub-agent hand-back and a bare slash command (<code>sessionTitle</code>, <code>src/core/projectPanel.ts</code>). Hover only reveals the card's icons, Copy first, the action you use most; Add to Favorites is in ⋯, since you star rarely (owner video, 2026-10-27 9:24 AM): ★ then shows after the title on every copy of its card, and a Favorites group (★ and its count) lists the starred sessions right under the pinned card, above every other group, each still in its own group too (its copy shows an ask's question; the answers stay on its own card). Favorites are yours, kept by session id in the extension's global state, so they survive a reload and hold in every window; Settings › Session list › Favorites group turns the group off and keeps the stars. A click on a card shows the session in the other sidebar, and when its tab is in this window brings that tab to the front; it never resumes or opens anything. Every click that opens something (a card, a PR or ticket chip, a folder or image, the pinned card's Made shelf, ↗ and ▶) rings the thing clicked once and says "Opening <it>…" at the bottom of the panel at once, until the extension has acted (owner video, 2026-10-19 12:58 AM: "there's no feedback… I don't know if it's actually opening"); with reduced motion only the words show. Switching tabs moves the selection the other way, on either VS Code event (the active terminal or the active editor tab; the first alone misses editor-area terminal tabs): the card for the tab in front is selected, its group opens if it was folded, and the list keeps its scroll: the card you clicked stays where it was on screen while the pinned card above it changes height, and a tab fronted by the arrows, the command or the editor scrolls its card into view at the nearest edge only when no card of it shows (owner video, 2026-10-19 1:32 AM: "it just goes to the top"). A selected card has its own look, a gold rail inside its left edge, and the pinned front tab's card says "<host> · Tab 2 of 10 · <how long>" under its title. A colored dot only ever says an agent's state: none sits beside a machine, a working agent shows its dot without the word Running, and a session in another repository says so on its last line beside the machine ("agi-ext · s0"), never on a row of its own (owner video, 2026-10-27 9:24 AM). A session started by <code>agents fork</code> (the row's <code>forkOf</code>) has ⑂ beside its title, never the words "fork of". ⌘K in the Agents views or, on macOS, an agent tab (Ctrl+K in the Agents views elsewhere, so the terminal keeps readline's Ctrl+K; Agents: Search Sessions, or the search icon in the Sessions header) brings the Project panel up on Sessions, in its own view or the window it popped out into, and opens a search drawn by the panel itself over its list (owner video, 2026-10-19 1:42 AM: VS Code's picker re-sorted the rows by name, could not align their details or show an image, and put ended sessions among live ones). It lists sessions only, every one the session stream holds in any project, live and ended, and reads nothing: your favorites first, then the ones asking you (by the CLI's urgency, then the longest wait), what is running or waiting, idle turns (newest first), and ended sessions last, dimmed, with an Ended pill. Each row is the harness's logo and the title (★ for a favorite), with its state pill, machine, age (an ask's wait) and its tab here aligned right; under it the PRs and pages it made (a click opens them as the card's chips do), the images you attached as thumbnails (a click opens a quick look that space or Esc closes) and the first sentence of its recap, in place of the model. Typing filters as you type: an exact session id leads, then a title that starts with what you typed, a title holding every word, then any other words the row carries, and last what was said in the session (the agent's latest reply, the question it asks, your last four messages, its newest steps, its recap and what you started it with, all already on the row, newest first and capped at 2,000 characters), each in the order above; a row found only by what was said shows those words, the match in gold, where its recap line sits (owner screenshot, 2026-10-19 11:32 PM: "intuit" found nothing while an agent was talking about Intuit); the best 60 show and the last line says how many more there are. ↑↓ choose, Enter goes to the session (its tab here comes forward, as a card click does; a session running elsewhere comes forward where it runs, as its ↗ does; an ended one resumes, as its ▶ does, unless the CLI says it cannot) and Esc closes. While it is open its rows follow the stream. Artifacts, tickets and PRs are no longer separate results; their pages are on the session that made them, and Issues and Review list the rest. Detach and attach moved from ⌘K ⌘B / ⌘K ⌘A to ⌘⇧⌥D / ⌘⇧⌥A to free ⌘K. Every card has Copy, which puts its title, session id, machine and folder, and its recap or latest words on the clipboard. Going somewhere is an explicit icon on the card: focus (↗; a card whose tab is in this window has none, since its click fronts the tab) brings its tab forward, or opens the live agent in the window that owns the project, the same resume as <code>Agents: Resume Session…</code>; resume (▶) on a tab whose agent exited. The list manages your tabs: Close the tab, in the card's ⋯ (out of a stray click's way), closes the session's tabs in this window (closing a tab ends the agent's process there; the session stays resumable), at once with Undo when the agent is idle or exited, and only after an inline confirmation when it is working or waiting on you. A session with no tab here gets Hide there instead, which hides it until it moves again. ⌘- or Shift-click selects several cards for one Close N tabs. Review lists every open PR across the project's repos (<code>agents projects prs list <name> --json --repo <r></code>, one per repository in parallel, each drawn as it answers). Each row is the author's face on the left (their GitHub avatar, an agent's harness logo, else initials), the title with its number, repository and age, a ↗ on hover (the Active Session header's open icon) that, like a click on the row, opens the PR's GitHub page as an editor tab, and its state as the rightmost control: Merge when checks pass, a turning ring while they run, "✕ 2" for two failing checks, "Conflicts" when GitHub says it cannot merge cleanly into its base (<code>mergeable: false</code> or <code>dirty</code>; such a PR never offers Merge), Draft. A failing or conflicting PR that is not a draft also offers Fix (owner screenshot, 2026-10-14), as the default agent's logo beside its red ring on the row's hover: it starts your default agent (Settings) in a new interactive tab here through the same path as Start on a ticket, using the PR as the list read it (no further read; a PR the list no longer holds says so and rereads Review), one agent per click (the logo breathes until Review redraws), with a task naming the PR (<code><repo>#<n>: <title></code> and its URL), its branch and base, the failing checks' names or the conflict, and the repository's checkout from <code>agents projects list</code>; the PR's title, branch names and check names sit in a fenced block the agent is told to read as data, never instructions, since a contributor or a CI app writes them; the task tells the agent to work in a new git worktree and check the PR out with <code>gh pr checkout</code> (which also handles a PR from a fork), read the failing runs' logs and fix the cause without skipping or weakening a check, rebase onto the base and resolve conflicts, push to the PR's own branch (<code>--force-with-lease</code> after a rebase), never open a new PR or merge, and report what was wrong and the run that passed (<code>prFixPrompt</code>, <code>src/core/projectPanel.ts</code>). Each PR row ends in one ring, as the AGI Menu draws it (owner screenshot, 2026-10-27 12:07 PM): a green ✓ when it is ready, a red ! for conflicts or failing checks, a turning amber arc while checks run, a dash for a draft; the row carries no state word (owner, 2026-10-27): its title, "<a class="link-pill" href="https://github.com/phnx-labs/agi-ext/issues/4020" title="https://github.com/phnx-labs/agi-ext/issues/4020" target="_blank" rel="noopener noreferrer"><svg class="link-pill-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg><span class="link-pill-text">#4020</span></a> · agi-cli · 8d" and the ring, whose tooltip and screen-reader label say "Ready to merge", "Conflicts with main" or "2 failing", and the group header names the state too, so the title keeps the width. Merge is one click on a ready ring (owner, 2026-10-12 9:00 PM): hover fills it green with a merge mark, a click makes the ring drain for 5 seconds in the page (under the pointer its center is ✕, and a second click stops it with nothing sent), leaving Review cancels it, and then it reads that one PR (<code>agents projects prs <name> --json --repo R --number N</code>) and runs one <code>agents projects prs merge … --sha <head> --method <m></code> with the method chosen once in Settings (squash by default), or the first one the repository allows, saying so; it merges only the head commit the list showed, and a push since then stops it with a note. Merges run one after another; the ring spins while it merges, then turns violet with "Merged" and Review is reread, or turns red with GitHub's reason in its tooltip when GitHub refused (a click tries again); a merge turned down here (a closed dialog, a new commit) returns the ring to ready, its warning says why, and Review rereads. A PR only an admin merge can land keeps the menu and its own warning. A ⇅ menu groups the rows by status across repositories (Ready to merge, Checks running, Conflicts, Failing, Drafts; the default), repository (with the default branch's state), author or none, and shows or hides drafts (hidden by default; "+3 drafts" under the list shows them, so the tab row never grows when the list arrives) and recently merged PRs, remembered per workspace; changing it redraws from the PRs already read. Issues lists the project's open Linear tickets (<code>linear tasks --project <id> --json</code> in the project's Linear workspace, scoped by the Linear project id the project records, so a renamed board keeps working and a link to a project Linear no longer has shows linear-cli's error) grouped by state, Doing first, each with priority bars and its people: the agent it is delegated to as that harness's logo, and the assignee as a colored initial. Clicking a ticket opens its real Linear page as an editor tab, where you read, comment, assign and change its status, and unfolds a peek under the row from the Issues read already made, with no read of its own (owner screenshots, 2026-10-17: the browser tab made a second ticket page and a comment box in the sidebar redundant): the description's opening lines as minimal markdown (headings, bullets, bold, code, links; everything else escaped; "More in its tab." when it is cut). A second click on the row folds it without opening the page again; one peek is open at a time and a redraw keeps it. When live sessions in this project are on the ticket (the row's ticket, or its id in the title, topic or latest reply), the peek lists them under On it now with Open, which goes to that session the same way as the focus icon, and starting another agent is a quiet link. Otherwise ▶ Start <agent> launches the agent Linear delegates the ticket to when this version launches it ("codex1" is Codex), else your default agent (Settings), in a new interactive tab here through the same path as Agents: Spawn With Prompt, with the task <code>Work on <ID>: <title> (<url>)</code>. The same ▶ sits on every row, shown on hover, for one-click dispatch without the peek. Issues and Review read their verb when their tab is shown, at most once a minute, or on Refresh; the Issues read also runs when Sessions shows, under the same once-a-minute cache, so ticket tiles carry titles; nothing polls. Settings holds AGI EXT's own preferences, plus Devices (below): Tabs (Review and Issues, each on or off); Session list: Show the session list (on by default; off leaves Sessions with only the front tab's pinned card and its ask, and ⌘K finds every other session) and Favorites group (on by default); the six session-title toggles; shortcuts with the platform's modifier (⌘⇧A is New agent, where the CLI picks the harness; the default agent, used to start a ticket and by split launches; the second agent (a user-assigned shortcut); ⌘⇧1 to ⌘⇧9 quick-launch slots, each an agent or none, a slot keeping its model until you change its agent); how Merge merges (squash, rebase or a merge commit); Session cards: What it made (Chips in one row, the default, or Previews), Card click (Show it and bring its tab forward, the default, or Only show it in the sidebar), Undo before an answer is sent (Off: send at once, the default, or 5 seconds), Asks on cards (With answers, the default; Question only; Off, which leaves the red card and its wait), Answer options (Titles only, the default, or Titles and details) and Question text (Two lines, the default, or Full); A card shows, its toggles (Description, PRs/tickets/folders, Image previews, Machine, Age, State, Done verdict, and First message, off by default: what the session was started with, faint under the title and without a "started:" word, only when its title says something else), which turned off leave the logo and title on one line; and the Reader for .md and .html. Devices, last, says where <code>--device auto</code> places agents, from one <code>agents devices list --json</code> read when Settings shows (at most once a minute), on Refresh, and after each change; nothing polls. Each device that may be placed on is a row with a checkbox (in the pool or not; one <code>agents devices enable|disable <name></code>), a star (preferred, ranked first; one <code>agents devices config <name> auto-launch.preferred on|--unset</code>), its free disk (amber under 50G), free RAM, load and description, and the CLI's reason when <code>--device auto</code> passes it over (<code>autoSkip</code>: off, loaded, disk low, unreachable). Preferred eligible devices come first, then eligible, then skipped. Devices no checkbox can bring into the pool (personal, desktop, not a worker) and offline ones are one line each. The extension never decides placement; a CLI without <code>autoSkip</code> shows "Run <code>agents upgrade</code>". Accounts and projects live in the <code>agents</code> CLI and the AGI Menu. The extension posts no notifications of its own: banners for asks, with reminders by urgency, come from the AGI Menu.</p> <p>Since the owner's 2026-11-04 video and notes: on Sessions, 🔍 opens ⌘K, which reopens holding its last words, selected (Review and Issues keep their own filter). A ⌘K row is two lines: the title, its state pill, its age in one unit ("1d", "12h") and ☆, then what it made (never the device or a tab number). A word one edit away (two from eight letters) matches after every direct match, under "Close matches for …". Enter on a session nothing here can bring forward (it runs in Ghostty or a terminal with no tab here) opens it in place with its question and answers, sent with <code>agents feed answer</code>, and never resumes it. ☆ is one click on ⌘K's selected row; on a card the agent's logo stars it (below); an ended session is offered none (a starred one keeps ★ to unstar it). Settings > A card shows draws a real session's card under those sections with the current settings, redrawn on every check; ‹ › steps through sessions of different shapes and Listed / Pinned switches to the front tab's card. The panels show no toasts: the clicked thing rings and stays busy until the host acts, Copy turns its icon to ✓, and an Undo or a refusal shows for 6 s in the header row's free space (in Pages, in the search box's hint).</p> <p>Since the owner's 2026-11-11 11:18 PM screenshots: a ⌘K row's PRs, pages and images scroll sideways and none is left off; a page is named by the title on the stream row (from its <code>.artifact.json</code>), its path on hover. ⌘K finds a session by the titles and paths of the pages it made, so a page you are looking at leads back to the agent that made it; such a row outlines that page's chip, scrolls it into view and reads "Made · <title>" with the typed words marked. A row with chips shows its recap only to explain a match. Finding a session from a page's share link waits on agents-cli putting the link on the row.</p> <p>Since the owner's 2026-11-05 video and note: the Project panel has no header row of its own. VS Code's row above it reads "AGI: <project>" (no milestone) and holds the panel's buttons: Sessions, Review, Settings and ⋯; the shown tab's button is drawn pressed and Sessions carries an amber dot while a session asks, with the count on the bar's icon. Settings > In the header turns Lead, Review, Issues, 🔍, ⇅ and ⇄ on or off, and Settings > Session list holds View and Sort. ⋯ holds View, Filter and Sort…, Switch Project…, Move into New Window and Refresh. ⌘K is the one search: the session palette, or on Review and Issues the filter field above the list until Esc. An Undo or a refusal floats at the panel's foot for 6 s. A ⌘K row shows the app it runs in (Ghostty, another window, a terminal) as that app's icon under the agent's logo, named only on hover.</p> <p>Since the owner's 2026-11-07 videos (5:56 AM, 7:50 long, and 8:30 AM, reviewing a prototype of these changes): the pinned card is the tab you are in and nothing else moves it; it has no ‹ › and no place among the tabs (Agents: Next Agent That Needs You stays a command, and since 2026-11-12 a sideways swipe over the card, described above). It keeps one height for every session: a grip under it sets the height for this window's panel, double-click resets it, and inside it the title row, the ask, Claude's recap (three lines) and the steps in a box that scrolls, then what it made in one row that scrolls sideways and the reply box at the bottom. Its title row is the title, ✓ Done or Not done, and the age; the age's hover says why it needs you (agents-cli's <code>urgencyReason</code>), the host, the tab, the model, the folder, the account and the project, which ⋯ used to list. ⋯ holds only actions: Rename (a Claude session with a tab here), Add to Favorites, Copy session id, Copy folder, Close the tab or Hide. A click on a title renames a Claude session with a tab here, on the pinned card and every listed card: it becomes a text box, Enter types <code>/rename</code> into its tab and Esc or clicking away cancels, and the click selects nothing (owner, 2026-11-24 5:56 PM). Any other pinned title copies the session, as ⧉ does. An ask has no "Asks" label and no reason row: the card's color says it, and an ask agents-cli ranks high or urgent is red like a blocked one. The Lead's draft is one ★ button on the question's line, and ▾ opens the full question, every choice, Other… and Edit the draft; without a draft the choices stay on the pinned card. A listed card's ★ answers its agent from the list without changing the tab in front. On every card ⧉ takes the age's place on hover, ⋯ and ↗ or ▶ stay on the last row, and a click on the agent's logo stars the session (★ on the logo and after the title). An ended card opens in place on a click with ▶ Resume and how long it ran, and an ended session with no title and nothing said sits behind "N empty sessions hidden · Show". Check: switch tabs and the pinned card's height stays; drag the grip and switch again; answer a list card's ★ and the tab in front stays; click an ended card.</p> <p>What should happen: a slow read paints "Loading…" in its own view and never blocks the others; a failed read shows the CLI's error in that view; a project with no Linear project says how to link one.</p> <p><strong>Either panel in its own window.</strong> The Project panel and the Active Session sidebar each have Move into New Window in their title bar (owner, 2026-10-18: on a laptop screen they took too much room; keep them on another monitor). VS Code moves only editor tabs into a new window, so the panel draws into an editor tab that VS Code's own Move into New Window carries out. It draws in one place at a time: its sidebar view then shows only Bring it back here, closing that window draws it in the sidebar again, and VS Code restores the window with the panel in it after a restart. A popped-out panel is the same panel: the same stream demand, selection and actions. Check: press it on each panel, move the window to the other monitor, click a card and answer an ask from there; close the window and the sidebar shows the panel again.</p> <h2>See every session at once</h2><p>You run around 30 sessions and want to see all of them, and what each one made, without opening its terminal or scrolling the sidebar (owner video, 2026-11-26 1:47 and 1:19; the approved prototype of 2026-11-26 8:49 PM).</p> <p>Agents: Sessions (⌘⇧K) opens an editor tab named Sessions: every session in the project as the Project panel's own cards, in a grid, grouped the panel's way (by topic, needs-you sections first), with no pinned card. The filter is always on top, beside four views that count their cards: All, Needs you (an open ask, a stall or a blocked agent), Ready to merge (a PR ready from its ring) and Something unread (a PR or page you have not opened, or that changed since). Each card shows its question, then its last three steps, one line each with its time. One click on a card goes to the session: its tab here comes forward, or the agent opens where it runs (an ended card opens in place with ▶ Resume, as in the sidebar). While the pointer rests on a card, the Project panel's pinned card shows that session, with its answers, steps and reply box, and no tab comes forward; moving off the page gives the pinned card back to the tab in front. The tab uses the AGI sidebar's own icon. The sidebar's cards and their click are unchanged. A Sessions tab open when the window closes comes back with it.</p> <p>Every listed card's Made row, in the sidebar and in the tab, is one row of chips that scrolls sideways: the PRs its latest reply names first (marked “), then the PRs it opened or acted on, its ticket, and each page or doc by its headline. A PR says its state in words from Review's last read of its repository, which also runs when Sessions shows (at most once a minute), or from the row's own PR status: green only for Ready, red for Failing, Conflicts or Changes requested, no color otherwise. Each chip says when it last changed (a page when the agent edited it, a PR when it opened or merged); images stay the card's previews. One you never opened has a still dot and a bold name, one changed after you opened it says "changed"; opening it clears both. Nothing before you first ran this version counts as new. A Ready PR's chip ends in Review's merge ring: hover shows the merge mark, a click merges with Settings > Pull requests' method after the 5-second Undo, and the chip then says Merged. A PR chip opens the PR on GitHub.</p> <h2>Open a PR or ticket as a tab</h2><p>You click a PR or a ticket to act on it (review, merge, comment, change its status) and want to stay beside your agents rather than switch to another app.</p> <p>Every GitHub PR, Linear ticket and other web link the extension shows (Project panel rows and chips, Issues' ⇅, the Active Session sidebar's PR tiles, ⌘K, the Lead's rows, links inside an artifact in the Reader, a shared artifact's Open) opens as an editor tab in the editor's integrated browser (<code>workbench.action.browser.open</code>, VS Code and VSCodium 1.10x and later). Which tab is <code>agents.links.tabs</code>: <code>reuse</code> (default) brings a tab already showing the page forward and opens any other page in a new tab; <code>single</code> shows every link in one browser tab, navigating it (your own browser tabs count too); <code>new</code> opens a tab per click. Default zoom and the browser's other settings are the editor's own (<code>workbench.browser.pageZoom</code>, <code>workbench.browser.newTabPlacement</code>). A web link printed in a tab the extension opened opens the same way, with the terminal's own link click (⌘-click on a Mac, Ctrl-click elsewhere, ⌥-click everywhere when <code>editor.multiCursorModifier</code> is <code>ctrlCmd</code>); its hover says "Open in the editor". The extension adds those links ahead of the editor's own URL detector (<code>registerTerminalLinks</code>, <code>src/vscode/webviewSecurity.ts</code>). The terminal opens a terminal hyperlink (OSC 8) itself, outside the editor, and Claude prints every URL as one, so every tab the extension opens starts with <code>FORCE_HYPERLINK=0</code> while links open in the editor (<code>plainLinks</code>, <code>buildAgentTerminalEnv</code>): URLs print as text, and a markdown link prints as its text with the URL in parentheses. The environment is fixed when the tab starts: a tab started under <code>agents.links.openIn: browser</code> keeps hyperlinks after the setting changes. A terminal the editor opened keeps the editor's handling. A hyperlink an agent prints anyway opens outside the editor: Claude's own <code>hyperlinks</code> setting wins over the environment, and an agent on another machine (<code>--device</code>) gets the variable only if <code>agents run</code> passes it on (not verified). In the panels, a ⌘, Ctrl or ⌥ click opens your default browser, as does <code>agents.links.openIn: browser</code> (agent tabs included) and an editor without the integrated browser; <code>mailto:</code> and <code>agents:</code> links always leave the editor. You sign in to GitHub and Linear once in the integrated browser; it keeps the sign-in across workspaces unless <code>workbench.browser.dataStorage</code> says otherwise, and an untrusted workspace gets a fresh, signed-out browser. On a machine with the Linear desktop app, linear.app hands every link to the app ("Link opened in the Linear app"; Open here instead does not stick, tested 2026-10-14); turn off Preferences › Open in desktop app once inside the tab. Linear calls it a browser preference, so other browsers keep handing links to the app.</p> <p>What should happen: the extension never renders a GitHub or Linear page itself; the tab is the real site. A webview's link still passes the scheme allowlist (<code>isAllowedExternalUrl</code>) before anything opens.</p> <h2>Talk to the project's Lead</h2><p>You want to ask "what is waiting on me?" or say "put Claude on <a class="link-pill" href="https://linear.app/getrush/issue/PHNX-4365" title="https://linear.app/getrush/issue/PHNX-4365" target="_blank" rel="noopener noreferrer"><svg class="link-pill-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z"/></svg><span class="link-pill-text">PHNX-4365</span></a>" without finding the right session first. The Lead is one long-lived headless Claude per project that agents-cli runs (<code>agents lead …</code>); it answers from the fleet CLIs' output and dispatches agents. The extension is one of its thin clients, the docked one.</p> <p>The Lead lives in the Project panel, as the ✳ Lead tab after Sessions, Review and Issues (always shown; <code>agents.project.tab</code> with <code>lead</code>, the status-bar item and <code>vscode://swarmify.swarm-ext/lead</code> open it). It is one conversation per project: the history (<code>agents lead history --project <p> --json</code>, read when the tab shows and again whenever agents-cli writes it, never on a timer) and then this window's live turns. There is no ⟳: a turn the Lead took on its own, drafting answers for new asks, appears as it is written, as the Lead's own turn ("for new asks"), never as something you said. Each turn is what you said (🎙 and its length when spoken) and the Lead's answer, with the tickets, PRs and sessions it named as links (a ticket opens in Issues, a PR's GitHub page as a tab, a session in its tab or resumed). What the Lead runs to get there stays out of sight; while it works the turn reads "Working…". The line naming the Lead says its model and whether its process is warm.</p> <p>Anything the Lead would change waits for your ✓ (owner, 2026-10-19: a misheard word must never act on its own). agents-cli holds each such action (stop a session, answer another agent's ask, type into a tab, start or dispatch an agent, merge, comment on, ready, rerun or close a PR) and the turn shows it as a row: what it will do and, under it, the exact words it will send. One held action has ✓ Confirm; several have their own ✓ each and ✓ Confirm all, which runs <code>agents lead confirm <token> --json</code> for each in turn and stops at the first that fails. A done row turns green; a failed one says why. Nothing in the tab sends anything else.</p> <p>At the bottom is the Lead's own reply box, the reply box's look with its own ids: Enter asks, Shift+Enter makes a new line, and its mic records on this machine and sends the words when you stop. ⌥Space works anywhere in the window (the editor, the sidebars and the integrated terminal; the extension adds <code>agents.lead.talk</code> to the default of <code>terminal.integrated.commandsToSkipShell</code>; if you set that list yourself, add it): it brings the Lead tab forward and starts or stops talking. VS Code reports no key release, so holding the key counts as one press. The Lead's mic never takes over the reply box's recording. Every ask carries what the editor shows, so "this one" resolves: the front tab's session and every agent tab with its number (<code>--context</code>), and with <code>agents.lead.speak</code> on, agents-cli reads the answer aloud on this machine as it streams (<code>--speak</code>). It is off by default; Settings > Lead > Read answers aloud turns it on or off for every window, from the next answer on. A turn that prints nothing for 120 s, or runs past 15 minutes, is stopped and says so.</p> <p>The status bar shows "✳ Lead · <last summary> · <age>", a spinner while a turn runs, and "listening…" while you talk. Clicking it opens the Lead tab.</p> <p>The status bar's hover offers Float as a bubble (also the command "Lead: Float as a bubble"; VS Code gives extensions no right-click menu on a status-bar item). It writes <code>~/.agents/lead/surface.json</code> <code>{"surface":"bubble"}</code>, which both clients watch: while it says bubble, ⌥Space belongs to FastWispr and the extension keeps only the status-bar item and the Lead tab; "Lead: Dock into VSCodium" writes <code>"docked"</code> and takes the key back. With no file, the extension is docked; a file it cannot read keeps the last value it saw. Nothing is created until you choose a surface. The extension watches <code>~/.agents/lead</code> and <code>~/.agents</code> (so it follows the folder being removed and recreated, which a macOS watcher alone misses) and also rereads the few-byte file every 2 s, so a change made by FastWispr lands within 2 s even when an event is lost.</p> <p>What should happen: one turn at a time per window; a second ask while one runs is refused with a note. A CLI that dies mid-turn ends the turn with its stderr; a CLI without <code>agents lead</code> is an upgrade error. The extension never starts, keeps or stops the Lead's process.</p> <h2>Answer an agent that needs you</h2><p>Some agent, on some machine, is waiting on you. You want to see exactly what it asked and answer it from the editor.</p> <p>You open the Project panel's Sessions tab. Every session of the project with an ask the CLI feed marks open leads its group (this window's group for a tab in this window), by the urgency agents-cli gave it, then longest wait, then kind (question, permission, plan review, declared, failure, stall, review); when the tab in front is the one asking, the pinned card on top shows the question first. Each card is tinted red and shows the question with its answers as buttons; a click or a key 1 to 9 answers it with one <code>agents feed answer</code>, at once by default or after a 5 s Undo when Settings > Undo asks for it, and the same click brings that agent's tab forward. Clicking the card makes it the Active Session sidebar's subject, which shows the same ask under its header with how long it has waited, Reply and Focus. Reply sends your text into the agent's tab in this window; focus (↗ on the card, Focus in the sidebar) brings the tab forward, or opens the live agent in the window that owns the project. Focusing an agent tab with an open ask shows the same sidebar card without the panel. Banners come from the AGI Menu, never from the extension.</p> <p>What should happen: the card stops asking only when the feed removes the attention row, never optimistically. The extension classifies nothing: membership is <code>attention.state === 'open'</code>, the order is the CLI's <code>attention.urgency</code>, the wait, then <code>attention.kind</code> through <code>ATTENTION_KIND_RANK</code> (<code>src/shared/sessionState.ts</code>), and a stall is a CLI signal. A finished turn that asked nothing is Idle, never an ask. A tab the stream has not indexed yet carries no attention and cannot become an ask from the client side.</p> <p>An idle session's card says whether the work is done, from the CLI's own done-check (<code>doneVerdict</code> on the row: <code>done</code>, <code>open</code> with its gaps, or <code>unchecked</code>). A chip on the card's title row, just before its age, takes the place of "Idle": "✓ Done" in green, "Not done" in red with the gaps in words on hover (a PR it opened is still open, its checklist has open items, merge, release or install not verified, teammates still running, its own audit failed). An <code>unchecked</code> verdict draws nothing: the card reads plain Idle, exactly as without a verdict (owner, 2026-10-19 2:23 AM: "how are you getting unverified???"). On the pinned card the chip sits right after the title, and the gaps are also the "This tab" line's tooltip; there is no new row anywhere. The Active Session sidebar's state line says the same word in place of Idle. Settings > A card shows > Done verdict turns it off in both panels, and an idle session reads Idle again.</p> <p>What should happen: a working, waiting, asking, review or ended session keeps its own word, and a row with no <code>doneVerdict</code> (an older agents-cli, or no check yet) reads Idle; the extension never guesses a verdict. The mapping is <code>verdictChipOf</code> in <code>src/shared/sessionState.ts</code>, which both sidebars read.</p> <figure class="artifact-figure artifact-figure-diagram artifact-figure-wide"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 250" role="img" aria-label="Journey: answer a needs-you request. User lane on top, extension and CLI lane below."> <defs><marker id="j4a" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0L10 5L0 10z" fill="#a1a1aa"/></marker></defs> <rect x="1" y="1" width="998" height="248" rx="12" fill="#09090b" stroke="#3f3f46"/> <text x="20" y="28" fill="#8b938c" font-family="ui-monospace,monospace" font-size="11" letter-spacing="2">USER JOURNEY · ANSWER A REQUEST</text> <text x="20" y="72" fill="#5ad6c0" font-family="ui-monospace,monospace" font-size="10">YOU</text> <rect x="60" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="72" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Open the Project panel</text><text x="72" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Needs you pinned at the top</text> <rect x="370" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="382" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Read the exact question</text><text x="382" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">on the card and in the sidebar</text> <rect x="680" y="48" width="290" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="692" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Reply or focus the tab</text><text x="692" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">it leaves when the CLI says so</text> <path d="M320 73L368 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j4a)"/><path d="M630 73L678 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j4a)"/> <line x1="20" y1="120" x2="980" y2="120" stroke="#26302a" stroke-dasharray="4 4"/> <text x="20" y="166" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">EXT</text><text x="20" y="178" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">CLI</text> <rect x="60" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="72" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Pure projection</text><text x="72" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">membership = attention.state open;</text><text x="72" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">order = attention.kind rank</text> <rect x="370" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="382" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">One reply</text><text x="382" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">typed into the agent's tab once; no retry,</text><text x="382" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">no optimistic removal</text> <rect x="680" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="692" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Feed removes the row</text><text x="692" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">attention.remove takes it out of</text><text x="692" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Needs you and the sidebar card</text> <path d="M180 98L200 138" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j4a)"/><path d="M350 172L368 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j4a)"/><path d="M660 172L678 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j4a)"/><path d="M835 138L850 100" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j4a)"/> <text x="20" y="236" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Resolved attention cannot reappear from an older snapshot. A stalled agent is a CLI fact, never a client heartbeat guess.</text> </svg> <figcaption>The CLI decides what needs a person. The extension shows it and puts the answer in the agent's tab.</figcaption> </figure><h2>Resume, fork, or move a session</h2><p>You want to continue an earlier conversation, branch it into a sibling, or carry it to another machine or harness.</p> <p>For resume you run <code>Agents: Resume Session…</code> (Cmd+Shift+Alt+R) and pick a session by name: no ids, no terminal. It lists this window's project's sessions on every machine, newest first, from the session stream already in memory (scoped by the CLI's <code>confirmedProject</code>, like the Project sidebar). Each row shows the title, the machine, your last message, the agent's last line, how long ago, and OPEN when a tab already shows it; typing filters by title or message. A row is still usable with only its id, title, machine and last activity. Enter runs <code>agents.resumeSession</code>: a tab already showing the session comes to the front, else the CLI opens the live agent in the window that owns the project. A session whose agent is still running with no tab on this machine is never resumed, since that would start a second agent on the same conversation: the notification says where it runs and nothing starts. One VSCodium notification says where it went ("Opened … in svatlas", "Focused … in svatlas", or the reason it could not); nothing is printed inside the tab. The Project panel's focus (↗) and resume (▶) icons and the side panel's Focus and ↻ run the same action. <code>Resume (Pick Host)</code> reopens the active tab's session on a device you pick, same harness and version. <code>Resume (Pick Harness)</code> continues the active tab's session in a different harness on the same device through the universal <code>/continue</code> flow. <code>Resume (Best Profile)</code> (Cmd+Shift+Alt+J) rotates the active tab to the signed-in account with the most headroom.</p> <p>For fork you run <code>Agents: Fork</code>, <code>Fork (Recap)</code>, <code>Fork (Pick Host)</code>, or <code>Fork (Pick Session)</code>. The first three delegate to <code>agents fork <id></code>, which resolves the source across the fleet and launches a recap-seeded same-harness sibling. <code>Fork (Pick Session)</code> starts the same harness in the picked session's folder, on the machine it lives on, and types <code>/continue <id></code> into it. The original is untouched. The new tab is named "fork of <title>" before it starts, keeps that name until the fork's own title arrives, and reads "fork failed: <title>" when the fork command exits nonzero (seen through shell integration).</p> <p>To move a session to another machine, <code>Resume (Pick Host)</code> reopens it on the device you pick. Moving a session's files and state between devices is <code>agents ps migrate</code> in the CLI; the extension has no migrate gesture.</p> <p>What should happen: each action is one command, the extension resolves only the selection, and the new tab rebinds from the stream. The extension never reproduces resume compatibility, account selection, placement, or fork identity rules.</p> <figure class="artifact-figure artifact-figure-diagram artifact-figure-wide"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 250" role="img" aria-label="Journey: resume, fork, or move a session. User lane on top, extension and CLI lane below."> <defs><marker id="j5a" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0L10 5L0 10z" fill="#a1a1aa"/></marker></defs> <rect x="1" y="1" width="998" height="248" rx="12" fill="#09090b" stroke="#3f3f46"/> <text x="20" y="28" fill="#8b938c" font-family="ui-monospace,monospace" font-size="11" letter-spacing="2">USER JOURNEY · RESUME · FORK · MOVE</text> <text x="20" y="72" fill="#5ad6c0" font-family="ui-monospace,monospace" font-size="10">YOU</text> <rect x="60" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="72" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Pick the verb</text><text x="72" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Resume, Fork, or Resume on a device…</text> <rect x="370" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="382" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Pick the session or device</text><text x="382" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">from one bounded listing</text> <rect x="680" y="48" width="290" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="692" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Continue in the new tab</text><text x="692" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">the original is untouched</text> <path d="M320 73L368 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j5a)"/><path d="M630 73L678 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j5a)"/> <line x1="20" y1="120" x2="980" y2="120" stroke="#26302a" stroke-dasharray="4 4"/> <text x="20" y="166" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">EXT</text><text x="20" y="178" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">CLI</text> <rect x="60" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="72" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Resolve the selection only</text><text x="72" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">canonical id, target device, harness</text><text x="72" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">from the roster already loaded</text> <rect x="370" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="382" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">One owning verb</text><text x="382" y="180" fill="#8b938c" font-family="ui-monospace,monospace" font-size="10">agents run --resume | fork</text><text x="382" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">the CLI owns identity and transport</text> <rect x="680" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="692" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">New row on the stream</text><text x="692" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">the new tab binds to it from the</text><text x="692" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">stream; nothing is guessed</text> <path d="M180 98L200 138" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j5a)"/><path d="M350 172L368 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j5a)"/><path d="M660 172L678 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j5a)"/><path d="M835 138L850 100" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j5a)"/> <text x="20" y="236" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Fork and Fork (Recap) behave identically: the CLI verb is always recap-seeded.</text> </svg> <figcaption>Every lifecycle action is a selection plus one CLI command.</figcaption> </figure><h2>Start an agent on a ticket</h2><p>You have a ticket and want an agent on it without opening a terminal yourself.</p> <p>In the Project panel's Issues tab each ticket is one line: the assignee's Linear profile picture (initials until it is cached, then drawn from <code>~/.agents/.cache/avatars/</code>, downloaded once per picture), the title (a long one scrolls sideways while the pointer is on it, never a second line), and under it the priority as colored bars (red urgent, amber high), the id, and the milestone when it is not the one the header shows. On the right, the agent's logo starts that agent on the ticket in one click; while a session works on it the logo shows its state and opens it instead. ▾ beside it picks another agent and where it runs (Auto, This machine, or Ask for a device; the default is Settings > Launch target). ↗ opens the Linear page as an editor tab, where you read, comment and change status. A click on the row unfolds the description under it from the Issues read the panel already made, with the sessions already on it; a second click folds it. The milestone in the header is a menu: picking one lists only its tickets (All milestones lists every one), remembered per project. A ticket tile elsewhere (a session card's chip, ⌘K) opens the same row's peek and the page; a ticket the Issues read does not hold costs one <code>linear tasks <ID> --json</code> read for its page. The logo is the agent Linear delegates the ticket to (else your default agent, Settings); a start opens it in a new interactive tab, never headless, through the same path as <code>Agents: Spawn with Prompt</code>, with the task <code>Work on <ID>: <title> (<url>)</code>. The new session joins the Sessions tab once the stream reports it with this project as its <code>confirmedProject</code>. A free-text task is <code>Agents: Spawn with Prompt</code> (Cmd+Shift+J); a dispatch to a worker you name is <code>agents run</code> in the CLI.</p> <p>What should happen: the panel never scores devices or accounts; the launch is composed by <code>buildAgentLaunchCommand</code> like every other launch. A session the CLI has not confirmed for this project does not appear under it; the panel never guesses a project from a working folder, a branch or a prompt.</p> <figure class="artifact-figure artifact-figure-diagram artifact-figure-wide"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 250" role="img" aria-label="Journey: start an agent on a ticket from the Project panel. User lane on top, extension and CLI lane below."> <defs><marker id="j6a" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0L10 5L0 10z" fill="#a1a1aa"/></marker></defs> <rect x="1" y="1" width="998" height="248" rx="12" fill="#09090b" stroke="#3f3f46"/> <text x="20" y="28" fill="#8b938c" font-family="ui-monospace,monospace" font-size="11" letter-spacing="2">USER JOURNEY · START ON A TICKET</text> <text x="20" y="72" fill="#5ad6c0" font-family="ui-monospace,monospace" font-size="10">YOU</text> <rect x="60" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="72" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Click the ticket</text><text x="72" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Project panel · Issues tab</text> <rect x="370" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="382" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Peek, then ▶ Start</text><text x="382" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">or ▶ straight from the row</text> <rect x="680" y="48" width="290" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="692" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Session joins Sessions</text><text x="692" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">once the CLI confirms the project</text> <path d="M320 73L368 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j6a)"/><path d="M630 73L678 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j6a)"/> <line x1="20" y1="120" x2="980" y2="120" stroke="#26302a" stroke-dasharray="4 4"/> <text x="20" y="166" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">EXT</text><text x="20" y="178" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">CLI</text> <rect x="60" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="72" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">No read, one launch</text><text x="72" y="180" fill="#8b938c" font-family="ui-monospace,monospace" font-size="10">the Issues read; agents run …</text><text x="72" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Spawn with Prompt's launch path</text> <rect x="370" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="382" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">CLI places and starts it</text><text x="382" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">worker pool, account rotation,</text><text x="382" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">session id minted by the CLI</text> <rect x="680" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="692" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Project from the CLI</text><text x="692" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">confirmedProject on the row;</text><text x="692" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">a prompt is never mined</text> <path d="M180 98L200 138" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j6a)"/><path d="M350 172L368 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j6a)"/><path d="M660 172L678 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j6a)"/><path d="M835 138L850 100" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j6a)"/> <text x="20" y="236" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">The panel filters on the CLI's confirmedProject, plus (until CLI aliases ship) the project's own repository paths.</text> </svg> <figcaption>Starting on a ticket is one launch from the list already read. Attribution is the CLI's.</figcaption> </figure><h2>Reuse a terminal for a new session</h2><p>You exit the agent in a tab and start another one in the same terminal. You expect the tab, the status bar, and the sidebar to follow the new session without opening a new tab.</p> <p>You type <code>exit</code> or quit the agent, then launch another in the same Agents terminal. For a moment two stream rows may both claim the tab's stable observer terminal id. The extension treats two distinct live claims as ambiguous and keeps the existing binding. Once the old session is removed from the stream, or returns only as a Previous row, the new session is the sole live claim and the tab rebinds to it.</p> <p>What should happen: no tab switch is needed; the status bar and the Active Session sidebar follow the new session, and a terminal-selected sidebar subject follows the exact terminal id across the rebind while a subject selected from the Project panel stays tied to its session. Start time is never an ownership signal. Reconciliation runs only on pushed reset and agent-row facts, never on a poll or a local state-file read, and it stays scoped to the terminal's observer device and execution host.</p> <figure class="artifact-figure artifact-figure-diagram artifact-figure-wide"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 250" role="img" aria-label="Journey: reuse a terminal for a new session. User lane on top, extension and CLI lane below."> <defs><marker id="j7a" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0L10 5L0 10z" fill="#a1a1aa"/></marker></defs> <rect x="1" y="1" width="998" height="248" rx="12" fill="#09090b" stroke="#3f3f46"/> <text x="20" y="28" fill="#8b938c" font-family="ui-monospace,monospace" font-size="11" letter-spacing="2">USER JOURNEY · REUSE A TERMINAL</text> <text x="20" y="72" fill="#5ad6c0" font-family="ui-monospace,monospace" font-size="10">YOU</text> <rect x="60" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="72" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Exit session A in the tab</text><text x="72" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">the shell stays open</text> <rect x="370" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="382" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Start session B there</text><text x="382" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">same terminal, no new tab</text> <rect x="680" y="48" width="290" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="692" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Status bar and sidebar show B</text><text x="692" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">without a tab switch</text> <path d="M320 73L368 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j7a)"/><path d="M630 73L678 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j7a)"/> <line x1="20" y1="120" x2="980" y2="120" stroke="#26302a" stroke-dasharray="4 4"/> <text x="20" y="166" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">EXT</text><text x="20" y="178" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">CLI</text> <rect x="60" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="72" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Two live claims: ambiguous</text><text x="72" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">A and B both carry the terminal id;</text><text x="72" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">the existing binding stays</text> <rect x="370" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="382" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">A leaves the stream</text><text x="382" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">agent.remove, or previous: true;</text><text x="382" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">B is now the sole live claim</text> <rect x="680" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="692" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Rebind on the pushed fact</text><text x="692" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">registry, status bar, sidebar follow B;</text><text x="692" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">a later Previous A cannot revert it</text> <path d="M180 98L200 138" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j7a)"/><path d="M350 172L368 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j7a)"/><path d="M660 172L678 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j7a)"/><path d="M835 138L850 100" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j7a)"/> <text x="20" y="236" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Reconciliation runs only on pushed reset and row facts, scoped to observer device and execution host. No poll, no state file.</text> </svg> <figcaption>Session start time is not ownership. The stream's removal of the old row is.</figcaption> </figure><h2>Commit with Autogit</h2><p>You have staged or working changes and want a commit message in your own style, committed and pushed, in one action.</p> <p>You press Cmd+Shift+G. The extension reads the git extension's repository state, builds the diff and the status summary while honoring the <code>agents.ignoreFiles</code> patterns, and asks <code>agents run claude --model haiku</code> for a message shaped by your <code>agents.commitMessageExamples</code>. It stages, commits, and pushes unless <code>agents.disableAutocommit</code> or <code>agents.disableAutopush</code> say otherwise.</p> <p>What should happen: one keystroke, one generated message, one commit. The timeout is <code>agents.commitGenTimeoutMs</code>. No OpenAI key is involved; Autogit stopped using it when message generation moved to the CLI.</p> <figure class="artifact-figure artifact-figure-diagram artifact-figure-wide"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 250" role="img" aria-label="Journey: commit with Autogit. User lane on top, extension and CLI lane below."> <defs><marker id="j8a" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0L10 5L0 10z" fill="#a1a1aa"/></marker></defs> <rect x="1" y="1" width="998" height="248" rx="12" fill="#09090b" stroke="#3f3f46"/> <text x="20" y="28" fill="#8b938c" font-family="ui-monospace,monospace" font-size="11" letter-spacing="2">USER JOURNEY · AUTOGIT</text> <text x="20" y="72" fill="#5ad6c0" font-family="ui-monospace,monospace" font-size="10">YOU</text> <rect x="60" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="72" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Press Cmd+Shift+G</text><text x="72" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">or the SCM title button</text> <rect x="370" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="382" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Wait a few seconds</text><text x="382" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">bounded by commitGenTimeoutMs</text> <rect x="680" y="48" width="290" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="692" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Committed and pushed</text><text x="692" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">unless a disable setting is on</text> <path d="M320 73L368 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j8a)"/><path d="M630 73L678 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j8a)"/> <line x1="20" y1="120" x2="980" y2="120" stroke="#26302a" stroke-dasharray="4 4"/> <text x="20" y="166" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">EXT</text><text x="20" y="178" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">CLI</text> <rect x="60" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="72" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Diff and status from git ext</text><text x="72" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">ignoreFiles applied; staged and</text><text x="72" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">unstaged changes summarized</text> <rect x="370" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="382" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Message from the CLI</text><text x="382" y="180" fill="#8b938c" font-family="ui-monospace,monospace" font-size="10">agents run claude --model haiku</text><text x="382" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">styled by commitMessageExamples</text> <rect x="680" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="692" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Stage, commit, push</text><text x="692" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">disableAutocommit stops after the message;</text><text x="692" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">disableAutopush stops after the commit</text> <path d="M180 98L200 138" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j8a)"/><path d="M350 172L368 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j8a)"/><path d="M660 172L678 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j8a)"/><path d="M835 138L850 100" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j8a)"/> <text x="20" y="236" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">No OpenAI key is used for commits. The extension holds no API key.</text> </svg> <figcaption>Autogit is one gesture that becomes one CLI call and one git transaction.</figcaption> </figure><h2>Read an artifact in the Reader</h2><p>An agent produced a plan or a report as Markdown or HTML and you want to read it like a document, not as source.</p> <p>You enable the Reader once with <code>Agents: Reader (Enable)</code>. From then on <code>.md</code> files can open in the Notion-style editor (TipTap, with a frontmatter panel, outline, slash commands, callouts, toggles, file attachments) and <code>.html</code> files open in a sandboxed viewer. Both are registered as optional custom editors, so the default text editor stays available. A plan or report a session made opens in the Reader from the Active Session sidebar's Artifacts gallery, beside the agent that wrote it.</p> <p>What should happen: the HTML viewer never runs the page's scripts against the editor; it renders inside the webview sandbox. A link in the page with an <code>http(s):</code> address opens as an editor tab (see Open a PR or ticket as a tab); one with an <code>agents:</code> or <code>mailto:</code> address opens outside the editor, the same as a browser click: an artifact's "Open session" chip focuses the tab running that session. Other addresses never leave the viewer. Images and attachments dropped into the Markdown editor land in the <code>agents.editor.assetFolder</code> folder next to the document. <code>Agents: Reader (Disable)</code> restores the default association.</p> <figure class="artifact-figure artifact-figure-diagram artifact-figure-wide"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 250" role="img" aria-label="Journey: read an artifact in the Reader. User lane on top, extension lane below."> <defs><marker id="j9a" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto"><path d="M0 0L10 5L0 10z" fill="#a1a1aa"/></marker></defs> <rect x="1" y="1" width="998" height="248" rx="12" fill="#09090b" stroke="#3f3f46"/> <text x="20" y="28" fill="#8b938c" font-family="ui-monospace,monospace" font-size="11" letter-spacing="2">USER JOURNEY · READ AN ARTIFACT</text> <text x="20" y="72" fill="#5ad6c0" font-family="ui-monospace,monospace" font-size="10">YOU</text> <rect x="60" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="72" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Enable the Reader once</text><text x="72" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Agents: Reader (Enable)</text> <rect x="370" y="48" width="260" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="382" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Open a plan chip or file</text><text x="382" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">from the sidebar or the explorer</text> <rect x="680" y="48" width="290" height="50" rx="8" fill="#161a18" stroke="#5ad6c0"/><text x="692" y="70" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Read and annotate</text><text x="692" y="88" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">Markdown edits save in place</text> <path d="M320 73L368 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j9a)"/><path d="M630 73L678 73" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j9a)"/> <line x1="20" y1="120" x2="980" y2="120" stroke="#26302a" stroke-dasharray="4 4"/> <text x="20" y="166" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">EXT</text><text x="20" y="178" fill="#a3e635" font-family="ui-monospace,monospace" font-size="10">CLI</text> <rect x="60" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="72" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Custom editors registered</text><text x="72" y="180" fill="#8b938c" font-family="ui-monospace,monospace" font-size="10">agents.markdownEditor · agents.htmlReader</text><text x="72" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">priority option: the text editor stays</text> <rect x="370" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="382" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Sandboxed webview</text><text x="382" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">HTML renders in the webview sandbox;</text><text x="382" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">TipTap editor for Markdown</text> <rect x="680" y="140" width="290" height="64" rx="8" fill="#12211a" stroke="#a3e635"/><text x="692" y="162" fill="#e7ece8" font-family="system-ui,sans-serif" font-size="12" font-weight="600">Assets beside the document</text><text x="692" y="180" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">dropped images go to agents.editor.assetFolder</text><text x="692" y="196" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">(default .assets)</text> <path d="M180 98L200 138" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j9a)"/><path d="M350 172L368 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j9a)"/><path d="M660 172L678 172" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j9a)"/><path d="M835 138L850 100" stroke="#a1a1aa" stroke-width="1.4" marker-end="url(#j9a)"/> <text x="20" y="236" fill="#8b938c" font-family="system-ui,sans-serif" font-size="11">The Reader is opt-in and reversible. It never becomes the default association for a workspace that did not enable it.</text> </svg> <figcaption>The Reader turns agent output into something you read, without leaving the editor.</figcaption> </figure><h2>Open your everyday pages</h2><p>You spend your day in the editor and a handful of pages every day: a console, a pull-request list, a planning doc. You want them one keystroke away, named the way you think of them, without a sidebar or a second panel.</p> <p>⌘⇧B opens Pages, the starting point for VSCodium's built-in browser: an editor tab like any other. Your pages are at most two rows of icons with your own name under each; more go on further pages, turned with ‹ ›, the dots under them, or a two-finger sideways swipe, and a short last page keeps both rows' height so Recent stays put when the page turns. A click on an icon opens that page in VSCodium's built-in browser, reusing the browser tab Pages last opened; ⌘-click opens a new browser tab, and Settings › Pages swaps the two. A click on a name renames it in place; clearing the name brings back the page's title. Drag an icon onto another to reorder them (a gold line shows where it lands; hold it over ‹ or › to turn the page), or move the focused one with ⌥← ⌥→, which carries it onto the next page at the edge. The tab's icon is four tiles. Below the icons, Recent is the built-in browser's own history, newest first, 30 pages at a time with Show more for the next 30, and ☆ to pin; ✕ on a tile unpins it. A typed address you have not pinned gets ☆ at the end of the search box, which pins it without opening it. Arrow keys move between your pages: ← → in order, turning the page at its edge, ↑ ↓ between the two rows, down into Recent and up to the search box. The search box filters Recent only: your pages always show (owner, 2026-11-26 5:58 PM). Enter opens a typed address, or else the first page Recent matched.</p> <p>What should happen: a pin never shows a blank icon. It keeps the icon VSCodium saved for the page, else the one the page declares, else the site's <code>/favicon.ico</code>, else a colored letter, and an icon made for dark themes sits on a dark chip.</p> <p>Pages reads nothing on a timer: the history when the tab shows, an icon once when a page is pinned. Pins live in this extension's global state, so every window shows the same ones. In an editor with no built-in browser, a click says so instead of failing silently.</p> <h2>Let agents use the built-in browser</h2><p>You want an agent's web work where you can see it: a page beside the session, where you can watch, type a captcha or take over, instead of a separate browser window that has lost its task.</p> <p>Each open VS Code or VSCodium window is a profile in <code>browser profiles list</code> (<code>vscodium-agi-ext</code>, labeled <code>VSCodium window "agi-ext"</code>), so <code>browser start --profile vscodium-agi-ext --url …</code> opens the page as an editor tab in that window. Nothing picks it on its own: you, or your <code>.agents</code> rules, name it. The agent's tabs are its own: it never sees the tabs you opened.</p> <p>VS Code allows this API only when <code>argv.json</code> names the extension, so it is off until you run Agents: Let Agents Use the Built-in Browser once, which adds that line and asks you to quit; reloading the window is not enough. The extension serves the browser on a loopback port with a token it writes, readable only by you, to <code>~/.agents/browser/run/editors/</code>, and removes the file when the window closes. A browser page can never reach it.</p> <h2>Requirements</h2><p><strong>Stream contract.</strong> Exactly one <code>agents feed watch --json</code> child exists per machine for all editor windows, owned by the elected leader window, and only while some window demands it: a visible Active Session sidebar or Project Sessions tab, an open Resume Session picker, or a tracked agent tab whose identity the stream has not resolved. When no window demands it the producer is torn down after a short grace period. Every window reads a broadcast projection of that stream. A reset replaces a scope; upserts and removes apply only when newer; a stale event is ignored; a follower that has never seen a reset renders as degraded, never as an authoritative empty state. If a field the UI needs is missing from the stream, the fix is to add it to the CLI's row, never a side-channel fetch. That side channel caused the 2026-08-25 CPU incident.</p> <p><strong>One-shot verbs.</strong> Launch, resume, fork, stop, merge, and starting on a ticket are each built with the owning CLI noun and run once per user action. A merge from the sidebar is re-decided by the host from its own snapshot, confirmed in a modal, and pinned to the head SHA. No retry timers, no caches of CLI output beyond a short in-flight guard. Closing a tab tears the agent down only on a real user close.</p> <p><strong>Fail loud.</strong> A missing CLI binary is a visible prerequisite failure. A missing CLI noun is an upgrade error. A malformed feed event is rejected and reported without corrupting the current scope. No filesystem fallback fills a gap.</p> <p><strong>Active Terminal details and outputs.</strong> The header shows the account slot label when supplied by the CLI, with the account email on hover. Clicking the short session ID copies the full ID; every terminal subject, including one whose harness has not reported an id yet, also offers Set Session ID for Terminal. Focus and Resume are compact icon buttons. The <code>⋯</code> menu remembers its disclosure state and shows harness/version, full ID, cwd, branch and host. Files and Artifacts use host-formatted paths that preserve the complete filename, shorten owned scratch to its session-relative path, and expose full paths on hover. Artifacts contains numbered PRs, the CLI row’s planFile, documents and Linear issues; no local PLAN.md discovery occurs. File and URL rows support keyboard activation, and timeline rows expand in place.</p> <p><strong>Theme.</strong> The Active Terminal panel fills the viewport with the sidebar background, including empty space beneath short content. Over that ground it is drawn in the Rush register (<code>rush/DESIGN.md</code>, Day and Altitude), the same visual language as getrush.ai and artifacts-cli: section labels in Jost capitals, the interface in Inter, ids and numbers in the editor's monospace font, cards as glass with a one-pixel edge over a faint sky. A dark editor theme gets Altitude (white glass, zinc type), a light one gets Day (ivory glass, ink type), and a high-contrast theme keeps VS Code's own colors and borders. Gold marks only the primary action; status is a dot, a badge or a word, never a filled button; links are the text color, underlined. Every color comes from one token block keyed on the theme kind VS Code sets on the webview (<code>RUSH_THEME_CSS</code>, which the Project panel reads too, with the same outlined card and the same state dot colors), and Jost and Inter ship inside the extension, so the panel loads no remote font. A harness logo is drawn from its <code>.hx-<harness></code> class in both sidebars, so a light theme gets the logo's light variant.</p> <p><strong>Latency.</strong> Opening the sidebar, switching tabs, and selecting a Project panel card spawn zero subprocesses; the sidebar paints from the warm store synchronously, and the Sessions tab renders from the same store. Issues and Review read their verb when their tab is shown, at most once a minute, or on Refresh; an open ticket is one read on its click; nothing polls. A card draws only what its stream row carries, so a row with no reply shows none rather than a placeholder. Hovering or selecting a card adds your last ask, the agent's words and what it made, from the same fields as the sidebar (<code>sessionCardFields</code>); an artifact of a remote session opens by the same one-file copy the sidebar uses.</p> <p><strong>Launch composition.</strong> <code>--cwd</code> is emitted once, independently of device selection, for ordinary, Auto, Pick Host, Pick Account, local, and version-pinned launches, carrying the exact open workspace. Only Pick Project emits <code>--project</code>, and it never emits <code>--cwd</code>. <code>--strategy balanced</code> is emitted for every automatic-placement variant (default, Auto, Pick Host, Pick Project, local) and dropped for exactly two: the account picker (<code>harness@</code>), which is mutually exclusive with a strategy, and a pinned version, where the CLI ignores it. Ordinary launches never derive a target from <code>agents projects view <cwd></code>.</p> <p><strong>Identity.</strong> Publisher <code>swarmify</code> and name <code>swarm-ext</code> in <code>package.json</code> never change; the <code>swarm-ext://</code> URI the CLI emits names <code>swarmify.swarm-ext</code> as its authority, and the URI handler serves <code>/focus</code> (raise a tab) and <code>/spawn</code> (open an editor tab running a supplied command such as <code>claude --resume <id></code>, which the agents-cli terminal engine's <code>vscodium-agent</code> backend uses to resume a session into this editor). A <code>/spawn</code> opens only in a window whose folders contain its <code>project</code> (a request without one is refused) and focuses the window's existing tab for that session rather than opening a second. <code>agents.resumeSession(<id>)</code> is the extension's one entry point for the same thing: it focuses this window's tab or has the CLI open the session in its project's window, and returns the ack status; with a <code>nonce</code> the window writes <code>~/.swarmify/agents/spawn-acks/<nonce>.json</code> saying <code>opened</code>, <code>focused-existing</code>, <code>wrong-window</code>, or <code>failed</code>, so the CLI reports what happened instead of assuming. Text agents-cli hands a session's tab (an answer from a card, <code>agents send</code>) arrives as <code>delivery</code> on the session's row; the window that binds the session types it once through <code>submitToTui</code>, and agents-cli counts it delivered only when the agent's next prompt carries it, otherwise the card says it was not delivered. An ask may carry the project Lead's <code>draft</code>, shown under the question with Send and Edit; the Lead sends nothing itself. Display names may change freely.</p> <p><strong>Multi-window.</strong> Opening a second window must not double long-lived watchers, transcript parsing, or schedulers. Followers recover replayable session and attention state from the leader's replay cache. The Project panel's overview, pull requests, and tickets are still separate bounded CLI reads until the stream owns them; that is recorded debt.</p> <p><strong>Harness roster.</strong> The presented harnesses, their labels, prefixes, and install info derive from the CLI catalog through one shared module with a drift test; no hand-written harness list exists in the UI. Gemini is not presented.</p> <h2>Evidence</h2><p>The suite runs with <code>bun test --timeout 30000</code> from the repository root and exercises real command boundaries; the only sanctioned double is <code>src/testing/vscodeDouble.ts</code>. The baseline on this branch is 1,853 tests across 165 files with 6 failures, all in the UI package when run from the root, unchanged from <code>origin/main</code>. <code>bun run lint:dead</code> (knip) runs inside <code>scripts/build.sh</code> and fails the build on any unused file, export, type, or dependency. <code>scripts/build.sh <version></code> must produce a VSIX, and a local <code>scripts/install.sh</code> followed by <code>Agents: New Claude</code> must open a tab with a live prompt. Agent-integration tests (<code>bun run test:agent-integration</code>) require the <code>agents</code> binary on the box and hit it for real.</p> <p>The checks that matter for the journeys are the ones an agent or a person runs against the installed extension: one <code>agents feed watch</code> child across two windows; zero processes on a card click; tabs restored after reload with no session stopped; a permission prompt that joins Your move with the harness's question and leaves on the feed's removal; a Pick Account launch that shows the worker's own picker.</p> <h2>Open decisions</h2><p>Whether restore should move entirely into the CLI daemon, which would delete <code>prewarm.simple.ts</code> and the per-window restore file, is decided in principle (yes) and blocked on the CLI carrying a restore projection. Whether <code>messageCount</code> and <code>recentFiles</code> return to the sidebar depends on the CLI adding them to the stream row; a lazy enrich is not an option. Whether the Project panel's overview, pull request, and ticket reads move onto the stream is deferred until the CLI projects them. Switching the stream to a local journal tail is rejected until the CLI side lands, because <code>feed watch</code> is the only producer of attention and activity events and the only fleet fan-out.</p> <p>The Active Terminal Details disclosure includes branch and changed-file buttons that open Source Control. Timeline expansion persists across stream updates. Artifact types follow CLI buckets; remote paths never borrow the editor host’s home directory.</p>