Skip to content

Release v1.6.0: orchestration levels, /race, worktrees and capsules, limits, Pi, notifications - #94

Merged
dev-dami merged 39 commits into
mainfrom
claude/pensive-meitner-ptvapo
Oct 27, 2026
Merged

dev-dami merged 39 commits into
mainfrom
claude/pensive-meitner-ptvapo

Conversation

@dev-dami

Copy link
Copy Markdown
Owner

What this changes

Everything since v1.5.0, for the v1.6.0 release. After this merges, the release is cut by running Actions → Release with v1.6.0 (or pushing the v1.6.0 tag).

Agents working together

  • Orchestration levels replace the on/off switch: off, assist, auto (the new default) and full. Each level sets helper depth, how many helpers can run per agent and per thread, whether Deck runs ready tasks, whether agents may race, and automatic review. The control is in the composer, with a default in Settings. The levels are defined in one table, config.Levels, and can be overridden in config.json.
  • Agents start agents. When you tell an agent to split work or spin up agents, it calls agent.spawn, including named agents. Started lanes show "by @x".
  • No more add/remove buttons: the composer's "+" is gone.
  • /race opens a builder with 2–6 entrants of any mix of agents, models and efforts, including repeats on the same model. The typed $kind+, $kind×N and $kind* forms are now plain text.
  • Turn-taking on files. Before an agent edits a file another agent has changed, Deck asks that agent and hands over its changes. A timeout, release at turn end, and loop breaking keep this from deadlocking.
    • In the Work Graph, the Now view shows who holds each file and the History view shows each file's edits and asks.
    • In the chat, each ask is one line.
  • Worktrees and capsules as first-class units of work:
    • Worktrees are created, tracked (owner, ahead/behind), synced, merged after a conflict check, discarded and pruned. They survive a restart.
    • Named, versioned capsules can be made from a worktree, a commit range or the uncommitted diff, then landed, rebased, stacked, reviewed and reverted.
    • A new Work tab and new Work Graph nodes show both.
  • Tool calls fold into one actions row per agent turn. The Work Graph also gets a History view covering every thread.

Agents and models

  • Pi over ACP: a reusable ACP client (OpenCode now uses it too) with Pi built on it. Pi's available models show in the picker.
  • One agent picker for every agent: compact, with models fetched once and cached; it refreshes when you ask or when the Deck changes.
  • Named agents and a Team switch: a named agent's colour now shows everywhere, and the profile editor is richer. The Team switch hides all team UI.

Limits and usage

  • Analytics page: per-agent plan-window history, burn rate, a projection to the next reset, and token use.
  • Limit alerts and quota meters.
  • Check limits: asks each agent for its limits on demand.
  • Wait for reset: work that hits a limit is parked and resumes at reset, even after a restart. Messages can also be scheduled for the next reset.
  • Start window now.

Desktop

  • Notifications: native alerts with coalescing, a bell with history, and per-kind settings.
  • Project tiles: the repo's own logo or a generated monogram.
  • Mix-and-match looks: palette, material, picture process, typeface, texture, corners and translucency are chosen separately. Liquid Glass, Riso and Stitch remain as presets.
  • Movable layout: the sidebar can sit on the left or right; the side panel docks opposite, beside or floating; compact density.
  • Windows and Linux launcher icons: the chosen app icon now reaches the desktop, Start menu and taskbar shortcuts, and the Linux .desktop launcher. The installer ships a proper .ico.

Checklist

  • go build ./... and go test ./... pass. Two caveats:
    • The peer relay tests (internal/deck/peer) failed once under full parallel load and passed when re-run on their own; that package is unchanged in this PR.
    • go vet ./... with local Go 1.27.0 reports "method must have no type parameters" in internal/app/app.go, a file this PR doesn't touch; its tests pass. CI will show whether its Go version reports the same.
  • gofmt -l . prints only internal/cmd/session.go, which is unchanged from main.
  • No credentials, tokens, account identifiers, usernames, hostnames or other personal data in fixtures, recordings, golden files or this description.
  • Docs are updated where behavior changed (README, desktop README, docs/design/agents-and-mentions.md, docs/sub.md, docs/design-glass.md, remote protocol docs).
  • The change keeps the rules in CONTRIBUTING.md: no credential reads, no direct model API calls, no self-approval. internal/guard was not touched.

Desktop: npm run lint is clean, npm test passes 691 tests, and Playwright passes 97 (Electron and packaged specs not run here).

Notes for the reviewer

  • Not run against the real tools. These have only been tested against fakes:
    • Pi through the real pi-acp bridge;
    • Check limits and Start window now against the real Claude Code and Codex;
    • the Windows shortcut icon update (it needs a manual check on Windows).
  • Generated SQL written by hand: sqlc generate fails on an existing schema issue (column "trigger" does not exist), so the new usage queries' generated code was written by hand in sqlc style.
  • Migration: threads saved with orchestration off migrate to auto, because the old format can't tell "never set" from "explicitly off".
  • File turn-taking: Claude is held before editing in every mode; Codex and OpenCode only in ask mode; Antigravity and Pi are never held and only told to ask first.

Generated by Claude Code

claude added 30 commits October 27, 2026 07:10
Usage takes history_days and then also returns each hour's turns, tokens
and cost by agent kind and agent, and every plan window's stored rows over
the range, each window led by its value when the range opens. Plan window
rows are pruned past 120 days (a window's newest row is always kept),
at most once a day when new rows are written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
… the default model

The desktop's pickers now load every agent's models once, before any thread
is open, and keep them. To make that possible:

- Models (gRPC and models.list) takes an empty session_id: the kind's
  models with none selected.
- ModelsRequest.refresh makes the Deck forget the lists it keeps (the
  workspace's, the Manager's and each adapter's modelcache) and ask the
  CLIs again, for the picker's "Refresh agents" after an install, an
  upgrade or a login. modelcache.Cache gains Reset; a load a Reset
  disowned is not kept.
- gRPC SetModel accepts an empty model, the CLI's own default. It refused
  one before, so choosing Claude's "Default" row from the desktop failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
A profile's colour was saved but showed only in the editor and the "@"
picker's profile rows. Members started from a profile now carry it on
AgentInfo, the stored member, the workspace roster, the wire and both RPC
roster messages (AgentLine.color, AgentNode.color), and the web picker
gives a named member its colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The model and effort fields offer the kind's models and that model's
efforts (asked through a room of this Deck) beside free text; the colour
field has one-click swatches and a way back to the kind's hue; a saved
profile can move between this project and every project; and Duplicate
opens a copy under the first free name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Settings > Agents gains a Team switch, on by default and kept with the
window's other settings. Off, the window drops the team and the named
agents: the Team page, its footer button and palette command, teammates
online, shared rooms, sharing a room, contracts in the inbox, the
profiles editor, profiles and people in the "@" picker, and the roles and
colours members carry from profiles. Plain agents stay, and nothing is
deleted: turning it back on shows it all again.

With the team on, a named member wears its profile's colour in the
lanes, the timeline, the agents strip and tree, and the room header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Projects showed a generic folder (or nothing, or a laptop for a paired
Deck). Each now has a tile: the repo's own logo or favicon when it has one
(.deck/icon.*, logo.*, icon.*, favicon.*, public/, static/, app/,
src/app/, assets/, .github/, docs/, build/icon.png), read by main and
handed over as a data: URL; otherwise a monogram in a hue generated from
the project's source, so it is the same everywhere and every run, and two
folders of one name still differ. A paired Deck's tile shows a computer.

The tile is used in the sidebar's project groups, the project menu, the
recent projects, the connect screen's recent folders and the inbox.

Main reads only folders the app has open or opened lately, only regular
files under 512 KB whose bytes match their kind, once a run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The window already popped a native notification when a room needed the
person or finished, and badged the dock with the rooms that need them.
This builds that out:

- Kinds: approvals and questions, errors and blocked or failed tasks,
  mentions of the person (@user, or their team name), tasks done, and
  finished turns. A room's needs-you status now says what it needs, so
  approvals and errors are told apart.
- When: never for the room on screen in a focused window; by default only
  while the window is in the background, or, with that off, also for rooms
  the person is not looking at.
- Bursts: events within 1.2s go out as one notification ("4 rooms
  finished", led by the most urgent kind); a click opens the most urgent
  room, reopening its project if it was closed.
- The notification centre: a bell in the sidebar's foot with the unread
  count, and a panel of recent notifications (kept across restarts),
  with mark read, mark all read and clear all. A room's repeats fold into
  one entry; opening the room reads them. The inbox stays the place to
  act on what waits.
- The badge counts each room that needs the person or has unread news.
- Settings > General > Notifications: the master switch, background
  only, sound, and a switch per kind. The old All / Needs you only /
  None setting carries over.

The decisions (what is news, whether and how to tell, bursts, the list
and the counts) are a pure module, notifications.ts, with tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
…eitner-ptvapo

# Conflicts:
#	desktop-shell/src/renderer/inbox.ts
#	desktop-shell/src/renderer/ui/SidebarFooter.tsx
The bell, the Team button and the presence count pushed the link's label
past the sidebar's edge at its default width; the label now shows from
18rem, and the dot carries the state below that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The Usage page gains an Analytics view beside the Overview. Per agent
kind it shows how much of the plan window is left (the tightest window by
default, each one selectable), a chart of the remaining quota as the CLI
reported it with a dashed projection to the next reset at the burn rate of
the last 1, 3 or 6 hours, Now, reset and empty markers, and the tokens per
bucket beneath on the same time axis. Stats: burn rate, projected run-out,
next reset, today and this week. An agent that reports no plan limits shows
its usage alone. Tabs filter to one agent and split it by agent id; a span
(day, week, month) and an earlier/later navigator move the range.

The maths (series grouping, reset detection, burn rate, projection, hour
buckets) lives in analytics.ts with unit tests. The fake Deck serves weeks
of hours and plan-window history so the page renders in e2e and shots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The lane chip and the composer's "+" each had their own model list
(Models in AgentsStrip): fetched again on every open with a spinner,
no model checked for an agent on its CLI's default (Claude's "Default"
row is id "", the roster leaves model out), efforts as loose chips on
each row, and Claude's default row failing over gRPC. Now:

- agentCatalog.ts normalizes every CLI's list to one shape (the default
  first as "", each model once, efforts lowercase and lightest first,
  the thread's selection dropped) and keeps it: every kind listed in one
  pass, in memory and in localStorage per Deck. fetchReason is the rule:
  list when nothing is kept for the Deck (first launch, another Deck),
  when its version or its kinds changed, and once per launch in the
  background; never on a picker opening, a thread switch or a reconnect
  to the same Deck. "Refresh agents" lists again by hand and asks the
  Deck to forget its own lists.
- ui/AgentPicker.tsx is the one picker: agent, model, reasoning effort,
  each section shown only when it has a choice, radios that choose and
  an action that applies, Refresh under it. The lane chip and "+" use
  it; the mode picker uses its rows. Every row is a menuitemradio, so
  the arrows, Home and End move through all sections alike, and a menu
  opens on its checked row.
- e2e: the pickers list each kind once and Refresh asks once; the
  "+", mode and yolo tests pick through the new roles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The look is now a set of aspects that combine freely, each an attribute
on <html> that styles.css reads: colours (data-palette, any theme of the
catalog including Riso's and Stitch's inks), material (glass, paper,
felt, plain), picture process (dither, halftone, stitch, none), display
face, texture, and two knobs, corners and translucency. The Riso and
Stitch palette blocks now hold colours only; materials, faces and
textures are blocks of their own that derive from any theme's tokens.
Any theme prints through any process (inks.ts risoIn, stitchIn).

Liquid Glass, Riso and Stitch stay as presets that set every aspect;
changing one makes the look Custom, which names the preset it came from.
Saved prefs that name one theme migrate to the aspects it stood for.

Settings > Appearance gets a look editor (LookEditor.tsx): a live
miniature of the window, the presets, and one row per aspect drawn as
what it is (swatches made of each material and texture, prints through
each process, each face in itself).

Layout: the sidebar sits left or right, the side panel docks opposite
it, beside it or floating; compact density tightens Tailwind's spacing.
A layout picker in Settings draws each choice. The sidebar's edge is a
grip that resizes it (arrow keys too) and, dragged across the window,
moves it to the other side. On a Mac whichever part sits at the top
left clears the traffic lights, and the backdrop mirrors with the
sidebar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
design-glass.md describes the aspects, the presets and the migration
(section 9) and how the layout moves (section 4). appearance-shots
captures mixed looks, mirrored layouts, a Mac's traffic lights over each
layout and the editor, when SHOTS names a folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
…eitner-ptvapo

# Conflicts:
#	desktop-shell/src/renderer/ui/Lanes.tsx
The timeline showed every tool call inline, and Deck stores each result
in a message of its own with no agent, so a busy turn flooded the chat
with "agent" rows. actions.ts now pairs each result with its call across
messages, reads one agent's run of messages as one turn, and folds each
run of calls (with the thinking and short notes between them) into one
row: "@ada · 14 actions — read 6 files, ran 3 commands", in the agent's
hue, with a spinner and the running call while it works and a failed
marker. The row opens to the calls, each of which still opens to its
output; the open state is remembered per group and per fold. Text,
plans, images, approvals and diffs stay first-class. Turns that did not
change keep their object, so the memoized rows do not re-render.

A tool result now stays in its call's lane under the lane filter. The
fake server gains a "Busy crew" thread stored the way Deck stores turns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The Work Graph drew one thread's live state only: the roster, the crew
tree, the board, the changed files and leases, with no history and no
other threads. A "Now | History" switch adds History (workHistory.ts,
ui/graph/History.tsx): every thread of the project as a band of lanes
(you, each agent, its tasks) with the prompts, replies and runs of tool
calls in time order, one node per run that opens in place to its calls.
Edges show who asked whom, handoffs and review requests between agents
by mention, task owners and reviewers, and the files each run read or
edited, in a shared files band. Filters pick threads, agents, a time
range and kinds of node; "Load full history" pages in older messages.
A click jumps to that message in the conversation, opening its thread.

Large histories stay smooth: columns pack per thread, only nodes near
the view render past 240, cards drop their text below 35% zoom, an
agent's work between prompts clusters past 400 nodes, and the History
can zoom out to 8%. The minimap takes generic nodes, and the zoom
minimum is a parameter of fitView, zoomAt and useView.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
…eitner-ptvapo

# Conflicts:
#	desktop-shell/src/renderer/prefs.ts
#	desktop-shell/src/renderer/styles.css
#	desktop-shell/src/renderer/ui/Shell.tsx
…eitner-ptvapo

# Conflicts:
#	desktop-shell/src/renderer/styles.css
#	desktop-shell/src/renderer/ui/RightPanel.tsx
#	desktop-shell/src/renderer/ui/Shell.tsx
#	desktop-shell/src/renderer/ui/Timeline.tsx
When a CLI says the plan ran out (Claude Code's rejected rate_limit_event
or "limit reached" result, Codex's usageLimitExceeded, or the words of any
adapter's error), the member now waits instead of failing: its messages
queue, and at the reset Deck resumes it with a nudge to carry on. The wait
and messages scheduled for later are stored with the thread and come back
after a restart. The person can resume a wait now or cancel it.

CheckLimits asks a CLI for its windows on demand, and StartWindow starts a
rolling window early with one tiny prompt on the cheapest model, both in a
throwaway session apart from any thread. deck.v1 serves them with Limits,
ResolveWait, ScheduleSend and CancelScheduled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
agent.spawn no longer needs orchestration for the agents the user brought
in: told to "spin up two codex agents for the tests", an agent starts them
itself. Each helper joins the thread under its spawner, runs in the
thread's permission mode, and its result comes back to the spawner. kind
may name a named agent (profile). With orchestration off a helper cannot
spawn further (one level, no storms); MaxChildren and MaxSubagents still
cap live helpers, and a member's race still needs orchestration. The op
description and the briefing tell agents the capability exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The agent picker is wide and short: models in a two-column grid of
one-line cells, effort as a segmented control in one bar with Refresh and
Apply, no section headers; a lane's popover puts Steer and Stop side by
side and opens leftwards from the right half of the window. The composer's
"+" add-agent button and the "start another" ($kind+) suggestion are gone:
agents join by mention, or an agent spawns them. A spawned agent's lane
says "by @spawner" and its popover links to the spawner's lane. The fake
Deck spawns agents when one is told to "spin up two codex agents", so e2e
shows spawned lanes and the brief as a handoff.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Before an agent edits a file another agent of the thread is changing or
holds a lease on, Deck asks that agent first (an ask relay in its
conversation, steered into a turn where the CLI takes one), holds the
edit until it answers (file.answer, a thread.send, its reply when its turn
ends) or the edit_gate timeout releases it, and then refuses the edit once
with the owner's changes and answer so it is redone on top of them. The
gate holds edit approvals in ask mode and Claude's edits in every mode
through a PreToolUse hook; file.claim does the same for the rest. Loops of
waits are broken, an owner that finished hands over at once, and the asks
show in the conversation as one system line each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Deck's ACP client moves out of the OpenCode adapter into its own package
(internal/deck/agent/acp), so any agent that speaks the Agent Client
Protocol is a Config on top of it: OpenCode is now `opencode acp` with its
ask-first environment, and Pi is `pi-acp` (which runs `pi --mode rpc`).

The client finds config options by category (model, thought_level, mode),
maps an agent's effort words to Deck's (Pi's "off" is "none"), restores the
effort a session started with when none is chosen, reads command output
streamed in _meta (terminal_output/terminal_exit), names tools that carry
only a title, and drops agent text outside a turn and pi-acp's announced
startup banner.

Pi's models are the ones it has a key or login for, listed from the
session's model option with each one's thinking levels, through the same
models RPC and cache as the other kinds. Pi runs its tools without asking,
so it is not contract safe and Deck says so when it starts outside yolo.

The kind is added everywhere kinds appear: config (pi_binary, models,
efforts), engine and doctor detection, TUI tone, mark and install hint,
skills folders, the desktop's colours, Welcome and Settings (kinds a Deck
did not find show as not installed, with the install command), the phone
app and the docs.

Tests: a scripted ACP agent (acptest) that the test binaries become, in an
OpenCode and a pi flavour, drives the client through a prompt round trip,
streaming, tool calls, permissions, model listing and switching, cancel,
session/load and a crash. The desktop fakes add a pi kind with its models,
and an e2e test starts a pi lane and picks one of its models.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x

# Conflicts:
#	desktop-shell/test/e2e/rpc.spec.ts
The thread's edits and the edit gate's ask lines become a timeline per
file (fileWork.ts). Now: a file card says who has it and who waits on
whom, the owner's edge keeps its hue and a waiting ask flows; a click opens
the file's timeline, where an edit opens its diff and an ask jumps to its
line. History: a file two agents edited or one was asked about gets a row
of its edits and asks, with edges from the asker's work and on to its next
edit. In the conversation an ask is one quiet line its answer rewrites.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
…arts

The window now polls each local Deck's plan limits (deck.v1 Limits) and:
- tells the person, in the notification centre under a new "Plan limits"
  kind, when a window crosses the warning thresholds (75% and 90% by
  default, set in Settings), hits its limit, or will run out before its
  reset at the recent burn rate; once per window period;
- marks each agent's lane chip with its quota, amber then red near the
  limit, and the composer with the room's fullest plan;
- shows "Waiting for reset · 10:00 AM (in 2h 13m)" above the composer while
  an agent waits for its limit, with Resume now and Cancel;
- offers "Send at next reset" in the composer's menu, and lists scheduled
  messages in the Tasks tab with Send now and Cancel;
- adds Check limits to the Usage page's header, and per agent Check,
  "checked 2m ago" and, for a rolling window that is not running, Start
  window now; the palette has them too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x

# Conflicts:
#	internal/deck/session/briefing.go
A thread's orchestration level replaces the on/off switch. Each level is a
row of one table in config (overridable per field under
orchestration_levels in config.json) and sets how deep and wide agents
spawn, how much work goes out per user message, whether the scheduler runs
the board, whether agents may race, and whether helpers' work is reviewed.
Off lets agents start helpers only in a turn the user spoke to them. Agents'
instructions and subagents' notes say what the level allows, and a change
reaches members with their next prompt.

New threads start at the configured level (auto by default); stored
threads keep an explicit choice, orchestration on reads as auto, and those
that never chose take the default. Contract threads stay off. The RPC keeps
the bool for old clients and adds level to Board, SetOrchestrate and
CreateSession. The TUI Tasks pane steps the level with o, and Settings
gains a default level row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
The engine no longer reads "$claude+", "$claude*" or "$codex×3" in the
user's messages: they are plain text. A race is a list of entrants, each
an agent kind or a named agent with its model and effort, so one race can
hold codex, claude and claude again on the same model. StartRace (gRPC)
takes entrants (kind and count stay for older clients), the remote
protocol gains race.start, and task.race takes one agent per entry.

On the desktop, /race opens a race builder over the composer (the rest of
the message is its task): entrants as chips, picked with the agent picker,
2 to 6, an optional judge. The Tasks tab's race form is the same builder.
The composer and pickers stop offering the suffixes and say, gently, that
the old forms are text now. Agents still reach every member of a kind
with "claude*" and still start helpers with agent.spawn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x

# Conflicts:
#	desktop-shell/src/renderer/ui/TasksPanel.tsx
#	pkg/rpc/deckv1/deck.pb.go
… a default in Settings

The composer gets a level menu beside the mode picker: Off, Assist, Auto
and Full, each with a line on what it lets agents do. The Tasks panel's
hidden Orchestrate switch becomes the same control. Settings > Agents
picks the level new threads start at; CreateSession sends it. A Deck from
before levels still reads and sets its on/off bool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
…nux launcher

The icon picker changed only the running window's icon (and the Dock on a
Mac); the desktop, Start menu and pinned shortcuts the Windows installer
made kept the exe's icon, as did the .desktop launcher of the Linux
package. Main now writes a multi-size .ico of the picked icon under
userData and points each installer shortcut that starts this exe at it
(shell.writeShortcutLink, keeping the installer's AppUserModelID), nudges
Explorer's icon cache, and shows the .ico on the window. Classic, the icon
Deck ships with, points them back at the exe. On Linux a copy of the
package's launcher under ~/.local/share/applications carries the icon,
and goes again for Classic. A per-machine install's shortcuts need an
administrator: the picker says so instead of failing quietly.

The build gains build/icon.ico (16 to 256px) for win.icon and the NSIS
installer, and pins the shortcut name the app looks for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x

# Conflicts:
#	README.md
#	desktop-shell/src/renderer/ui/TasksPanel.tsx
#	internal/deck/hub/hub.go
#	internal/deck/session/race_test.go
Every worktree Deck makes (an isolated thread's, a subagent's, a race
entry's, a long task's under orchestration, or one made with
worktree.create or from the Work tab) is now a tracked line of work: owner,
task, fork commit, base branch, ahead/behind, dirty and changed files. It
is stored with the thread and survives a restart. Deck syncs it with its
base (merge or rebase; a conflict aborts and names the files), lands it in
the shared tree or another worktree as uncommitted edits with a three-way
merge after a per-file check, and prunes it once landed and idle; work
never landed goes only by discard. agent.spawn {worktree: true | name}
starts a helper in its own worktree or in one of the thread's.

Named capsules hold big changes in versions: from a whole worktree branch,
a range of commits or the uncommitted diff, read straight from git
objects, with commits, authors, notes, test status and review comments.
They land three-way with a conflict report, rebase onto the shared tree or
a worktree, stack onto another capsule, revert, and hand to an agent; their
files page with line counts so thousands of files stay cheap.

deck.v1 serves Work, WorktreeAction, CapsuleAction and CapsuleFiles. The
desktop gets a Work tab (worktrees and capsules, sync, merge with a
pre-merge check and conflict choice, capsule detail with paged diffs, hand
to agent, discard), a branch badge on lanes of agents in worktrees, and
worktree, capsule and main nodes in the Work Graph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x
…r-ptvapo

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpTphqzR7pCtKm8tSaB8x

# Conflicts:
#	desktop-shell/src/renderer/project.ts
#	desktop-shell/src/renderer/ui/RightPanel.tsx
#	internal/deck/session/briefing.go
#	internal/deck/session/thread.go
#	pkg/rpc/deckv1/deck.pb.go
@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 319 files, which is 219 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 98d63b02-7aa7-4b7f-9cab-66b436a58533
Commits

Reviewing files that changed from the base of the PR and between e5e6588 and 76eaf94.

Files ignored due to path filters: 7
  • desktop-shell/build/icon.ico is excluded by !**/*.ico
  • pkg/remote/web/dist/index.html is excluded by !**/dist/**
  • pkg/remote/web/dist/main-73c5r1xk.js is excluded by !**/dist/**
  • pkg/remote/web/dist/main-xkx65hec.js is excluded by !**/dist/**
  • pkg/remote/web/dist/sw.js is excluded by !**/dist/**
  • pkg/rpc/deckv1/deck.pb.go is excluded by !**/*.pb.go
  • pkg/rpc/deckv1/deck_grpc.pb.go is excluded by !**/*.pb.go
Files selected for processing: 319
  • README.md
  • apps/mobile/src/ui/agents.tsx
  • desktop-shell/README.md
  • desktop-shell/docs/design-glass.md
  • desktop-shell/package.json
  • desktop-shell/src/main/appIcon.ts
  • desktop-shell/src/main/decks.ts
  • desktop-shell/src/main/host.test.ts
  • desktop-shell/src/main/host.ts
  • desktop-shell/src/main/launcherIcon.test.ts
  • desktop-shell/src/main/launcherIcon.ts
  • desktop-shell/src/main/main.ts
  • desktop-shell/src/main/projectIcon.test.ts
  • desktop-shell/src/main/projectIcon.ts
  • desktop-shell/src/preload/preload.ts
  • desktop-shell/src/renderer/actions.test.ts
  • desktop-shell/src/renderer/actions.ts
  • desktop-shell/src/renderer/agentCatalog.test.ts
  • desktop-shell/src/renderer/agentCatalog.ts
  • desktop-shell/src/renderer/agents.ts
  • desktop-shell/src/renderer/analytics.test.ts
  • desktop-shell/src/renderer/analytics.ts
  • desktop-shell/src/renderer/appIcon/catalog.test.ts
  • desktop-shell/src/renderer/appIcon/catalog.ts
  • desktop-shell/src/renderer/appIcon/platform.ts
  • desktop-shell/src/renderer/appIcon/sync.ts
  • desktop-shell/src/renderer/appState.ts
  • desktop-shell/src/renderer/appearance.ts
  • desktop-shell/src/renderer/attention.test.ts
  • desktop-shell/src/renderer/attention.ts
  • desktop-shell/src/renderer/backdrop/core.test.ts
  • desktop-shell/src/renderer/backdrop/inks.ts
  • desktop-shell/src/renderer/backdrop/live.ts
  • desktop-shell/src/renderer/backdrop/usePrint.ts
  • desktop-shell/src/renderer/client.ts
  • desktop-shell/src/renderer/completion.test.ts
  • desktop-shell/src/renderer/completion.ts
  • desktop-shell/src/renderer/crew.test.ts
  • desktop-shell/src/renderer/crew.ts
  • desktop-shell/src/renderer/crewState.ts
  • desktop-shell/src/renderer/fileWork.test.ts
  • desktop-shell/src/renderer/fileWork.ts
  • desktop-shell/src/renderer/graph.test.ts
  • desktop-shell/src/renderer/graph.ts
  • desktop-shell/src/renderer/inbox.ts
  • desktop-shell/src/renderer/lanes.test.ts
  • desktop-shell/src/renderer/lanes.ts
  • desktop-shell/src/renderer/limits.test.ts
  • desktop-shell/src/renderer/limits.ts
  • desktop-shell/src/renderer/limitsState.ts
  • desktop-shell/src/renderer/main.tsx
  • desktop-shell/src/renderer/notifications.test.ts
  • desktop-shell/src/renderer/notifications.ts
  • desktop-shell/src/renderer/notifyCentre.ts
  • desktop-shell/src/renderer/orchestration.test.ts
  • desktop-shell/src/renderer/orchestration.ts
  • desktop-shell/src/renderer/palette.ts
  • desktop-shell/src/renderer/prefs.ts
  • desktop-shell/src/renderer/profiles.test.ts
  • desktop-shell/src/renderer/profiles.ts
  • desktop-shell/src/renderer/project.ts
  • desktop-shell/src/renderer/projectIcon.test.ts
  • desktop-shell/src/renderer/projectIcon.ts
  • desktop-shell/src/renderer/race.test.ts
  • desktop-shell/src/renderer/race.ts
  • desktop-shell/src/renderer/rpcClient.ts
  • desktop-shell/src/renderer/rpcMap.test.ts
  • desktop-shell/src/renderer/rpcMap.ts
  • desktop-shell/src/renderer/slash.test.ts
  • desktop-shell/src/renderer/slash.ts
  • desktop-shell/src/renderer/styles.css
  • desktop-shell/src/renderer/teamGate.test.ts
  • desktop-shell/src/renderer/teamGate.ts
  • desktop-shell/src/renderer/themes.test.ts
  • desktop-shell/src/renderer/themes.ts
  • desktop-shell/src/renderer/title.ts
  • desktop-shell/src/renderer/ui.ts
  • desktop-shell/src/renderer/ui/AgentPicker.tsx
  • desktop-shell/src/renderer/ui/AgentRole.tsx
  • desktop-shell/src/renderer/ui/AgentsStrip.tsx
  • desktop-shell/src/renderer/ui/AgentsTree.tsx
  • desktop-shell/src/renderer/ui/Analytics.tsx
  • desktop-shell/src/renderer/ui/App.tsx
  • desktop-shell/src/renderer/ui/AppIconPicker.tsx
  • desktop-shell/src/renderer/ui/Backdrop.tsx
  • desktop-shell/src/renderer/ui/Composer.tsx
  • desktop-shell/src/renderer/ui/ConnectScreen.tsx
  • desktop-shell/src/renderer/ui/Inbox.tsx
  • desktop-shell/src/renderer/ui/Lanes.tsx
  • desktop-shell/src/renderer/ui/LayoutPicker.tsx
  • desktop-shell/src/renderer/ui/LevelPicker.tsx
  • desktop-shell/src/renderer/ui/Limits.tsx
  • desktop-shell/src/renderer/ui/LookEditor.tsx
  • desktop-shell/src/renderer/ui/ModePicker.tsx
  • desktop-shell/src/renderer/ui/NewThread.tsx
  • desktop-shell/src/renderer/ui/NotificationBell.tsx
  • desktop-shell/src/renderer/ui/ProfilesEditor.tsx
  • desktop-shell/src/renderer/ui/ProjectGroup.tsx
  • desktop-shell/src/renderer/ui/ProjectIcon.tsx
  • desktop-shell/src/renderer/ui/RaceBuilder.tsx
  • desktop-shell/src/renderer/ui/RightPanel.tsx
  • desktop-shell/src/renderer/ui/Room.tsx
  • desktop-shell/src/renderer/ui/RoomHeader.tsx
  • desktop-shell/src/renderer/ui/Settings.tsx
  • desktop-shell/src/renderer/ui/Shell.tsx
  • desktop-shell/src/renderer/ui/Sidebar.tsx
  • desktop-shell/src/renderer/ui/SidebarFooter.tsx
  • desktop-shell/src/renderer/ui/TasksPanel.tsx
  • desktop-shell/src/renderer/ui/ThemeCard.tsx
  • desktop-shell/src/renderer/ui/Timeline.tsx
  • desktop-shell/src/renderer/ui/Usage.tsx
  • desktop-shell/src/renderer/ui/WallpaperPicker.tsx
  • desktop-shell/src/renderer/ui/Welcome.tsx
  • desktop-shell/src/renderer/ui/WorkPanel.tsx
  • desktop-shell/src/renderer/ui/graph/Controls.tsx
  • desktop-shell/src/renderer/ui/graph/Detail.tsx
  • desktop-shell/src/renderer/ui/graph/Edges.tsx
  • desktop-shell/src/renderer/ui/graph/FileDetail.tsx
  • desktop-shell/src/renderer/ui/graph/History.tsx
  • desktop-shell/src/renderer/ui/graph/Nodes.tsx
  • desktop-shell/src/renderer/ui/graph/WorkGraph.tsx
  • desktop-shell/src/renderer/ui/graph/useView.ts
  • desktop-shell/src/renderer/ui/icons.tsx
  • desktop-shell/src/renderer/ui/kit/menu.tsx
  • desktop-shell/src/renderer/ui/landing.test.ts
  • desktop-shell/src/renderer/ui/landing.ts
  • desktop-shell/src/renderer/ui/useRoom.ts
  • desktop-shell/src/renderer/ui/useShell.ts
  • desktop-shell/src/renderer/workHistory.test.ts
  • desktop-shell/src/renderer/workHistory.ts
  • desktop-shell/src/renderer/workState.ts
  • desktop-shell/src/renderer/worktrees.test.ts
  • desktop-shell/src/renderer/worktrees.ts
  • desktop-shell/src/shared/bridge.ts
  • desktop-shell/test/bridge.ts
  • desktop-shell/test/client.test.ts
  • desktop-shell/test/e2e/actions.spec.ts
  • desktop-shell/test/e2e/app.spec.ts
  • desktop-shell/test/e2e/appIcon.spec.ts
  • desktop-shell/test/e2e/appearance-shots.spec.ts
  • desktop-shell/test/e2e/art.spec.ts
  • desktop-shell/test/e2e/coord.spec.ts
  • desktop-shell/test/e2e/electron.spec.ts
  • desktop-shell/test/e2e/layout.spec.ts
  • desktop-shell/test/e2e/limits.spec.ts
  • desktop-shell/test/e2e/pages-shots.spec.ts
  • desktop-shell/test/e2e/room-shots.spec.ts
  • desktop-shell/test/e2e/rpc.spec.ts
  • desktop-shell/test/e2e/work.spec.ts
  • desktop-shell/test/e2e/yolo.spec.ts
  • desktop-shell/test/fake-grpc.ts
  • desktop-shell/test/fake-server.ts
  • desktop-shell/test/fake-usage.ts
  • desktop-shell/test/rpc.test.ts
  • docs/design/agents-and-mentions.md
  • docs/multiplayer-design.md
  • docs/remote-contract.md
  • docs/sub.md
  • internal/db/db.go
  • internal/db/querier.go
  • internal/db/sql/usage.sql
  • internal/db/usage.sql.go
  • internal/deck/agent/acp/acp_test.go
  • internal/deck/agent/acp/acptest/fake.go
  • internal/deck/agent/acp/adapter.go
  • internal/deck/agent/acp/approval.go
  • internal/deck/agent/acp/models.go
  • internal/deck/agent/acp/proc_other.go
  • internal/deck/agent/acp/proc_windows.go
  • internal/deck/agent/acp/protocol.go
  • internal/deck/agent/acp/run.go
  • internal/deck/agent/acp/translate.go
  • internal/deck/agent/agent.go
  • internal/deck/agent/antigravity/models.go
  • internal/deck/agent/claude/claude.go
  • internal/deck/agent/claude/claude_test.go
  • internal/deck/agent/claude/gate.go
  • internal/deck/agent/claude/gate_test.go
  • internal/deck/agent/claude/limits.go
  • internal/deck/agent/claude/limits_test.go
  • internal/deck/agent/claude/models.go
  • internal/deck/agent/claude/testdata/limit_hit.jsonl
  • internal/deck/agent/claude/translate.go
  • internal/deck/agent/codex/limits.go
  • internal/deck/agent/codex/limits_test.go
  • internal/deck/agent/codex/models.go
  • internal/deck/agent/codex/protocol.go
  • internal/deck/agent/codex/translate.go
  • internal/deck/agent/limithit.go
  • internal/deck/agent/limithit_test.go
  • internal/deck/agent/modelcache/modelcache.go
  • internal/deck/agent/modelcache/modelcache_test.go
  • internal/deck/agent/opencode/adapter.go
  • internal/deck/agent/opencode/models.go
  • internal/deck/agent/opencode/opencode.go
  • internal/deck/agent/opencode/opencode_test.go
  • internal/deck/agent/pi/pi.go
  • internal/deck/agent/pi/pi_test.go
  • internal/deck/approve/broker.go
  • internal/deck/approve/gate.go
  • internal/deck/approve/gate_test.go
  • internal/deck/changes/branch.go
  • internal/deck/changes/branch_test.go
  • internal/deck/config/config.go
  • internal/deck/config/config_test.go
  • internal/deck/config/orchestration.go
  • internal/deck/config/orchestration_test.go
  • internal/deck/doctor/doctor.go
  • internal/deck/engine/engine.go
  • internal/deck/hub/hub.go
  • internal/deck/hub/skills.go
  • internal/deck/profile/profile.go
  • internal/deck/session/address.go
  • internal/deck/session/address_test.go
  • internal/deck/session/brakes.go
  • internal/deck/session/briefing.go
  • internal/deck/session/capsulework.go
  • internal/deck/session/contract.go
  • internal/deck/session/coord.go
  • internal/deck/session/coord_test.go
  • internal/deck/session/isolate.go
  • internal/deck/session/leases.go
  • internal/deck/session/level.go
  • internal/deck/session/level_test.go
  • internal/deck/session/limitcheck.go
  • internal/deck/session/limitcheck_test.go
  • internal/deck/session/manager.go
  • internal/deck/session/memory_test.go
  • internal/deck/session/modes.go
  • internal/deck/session/modes_test.go
  • internal/deck/session/opscontract.go
  • internal/deck/session/pool_test.go
  • internal/deck/session/profiles.go
  • internal/deck/session/profiles_test.go
  • internal/deck/session/queue.go
  • internal/deck/session/race.go
  • internal/deck/session/race_test.go
  • internal/deck/session/relay.go
  • internal/deck/session/review.go
  • internal/deck/session/review_test.go
  • internal/deck/session/rig_test.go
  • internal/deck/session/sched.go
  • internal/deck/session/sched_test.go
  • internal/deck/session/spawn.go
  • internal/deck/session/spawn_ask_test.go
  • internal/deck/session/spawn_test.go
  • internal/deck/session/subops.go
  • internal/deck/session/tasks.go
  • internal/deck/session/team_test.go
  • internal/deck/session/thread.go
  • internal/deck/session/tree.go
  • internal/deck/session/tree_test.go
  • internal/deck/session/waits.go
  • internal/deck/session/waits_test.go
  • internal/deck/session/work.go
  • internal/deck/session/work_test.go
  • internal/deck/store/scan_test.go
  • internal/deck/store/store.go
  • internal/deck/store/work.go
  • internal/deck/sub/build.go
  • internal/deck/sub/build_test.go
  • internal/ui/completions/item.go
  • internal/ui/dialog/settings_rows.go
  • internal/ui/dialog/settings_test.go
  • internal/ui/dialog/usage_limits.go
  • internal/ui/dialog/usage_test.go
  • internal/ui/graph/fromstyles.go
  • internal/ui/model/agent_instances.go
  • internal/ui/model/agent_instances_test.go
  • internal/ui/model/landing.go
  • internal/ui/model/mentions_test.go
  • internal/ui/model/pane_board_test.go
  • internal/ui/model/pane_tasks.go
  • internal/ui/model/sidebar.go
  • internal/ui/tone/tone.go
  • internal/usage/insights.go
  • internal/usage/insights_test.go
  • internal/usage/usage.go
  • internal/workspace/agent_picker.go
  • internal/workspace/deck_workspace.go
  • internal/workspace/deck_workspace_test.go
  • internal/workspace/limits.go
  • internal/workspace/orchestra.go
  • internal/workspace/rooms.go
  • internal/workspace/work.go
  • pkg/remote/adapter/adapter.go
  • pkg/remote/adapter/adapter_test.go
  • pkg/remote/adapter/convert.go
  • pkg/remote/backend.go
  • pkg/remote/remotetest/fake.go
  • pkg/remote/server/rpc.go
  • pkg/remote/server/rpc_test.go
  • pkg/remote/web/src/composer.ts
  • pkg/remote/web/src/controller.ts
  • pkg/remote/web/src/mentions.test.ts
  • pkg/remote/web/src/mentions.ts
  • pkg/remote/web/src/misc.test.ts
  • pkg/remote/web/src/protocol.test.ts
  • pkg/remote/web/src/protocol.ts
  • pkg/remote/wire/testdata/entity_theme.json
  • pkg/remote/wire/testdata/req_race.start.json
  • pkg/remote/wire/testdata/res_race.start.json
  • pkg/remote/wire/wire.go
  • pkg/remote/wire/wire_test.go
  • pkg/rpc/convert.go
  • pkg/rpc/limits.go
  • pkg/rpc/limits_test.go
  • pkg/rpc/profiles_test.go
  • pkg/rpc/project.go
  • pkg/rpc/project_test.go
  • pkg/rpc/room.go
  • pkg/rpc/room_test.go
  • pkg/rpc/server.go
  • pkg/rpc/server_test.go
  • pkg/rpc/team.go
  • pkg/rpc/team_test.go
  • pkg/rpc/work.go
  • pkg/rpc/work_test.go
  • proto/deck/v1/deck.proto

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dev-dami
dev-dami merged commit c90a1c9 into main Oct 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants