Agent pane: a chat the Chief or another agent runs says who manages it, with Take over

TE
5d ago
+265-0

A chat that the Chief or another chat's agent runs now says so over the composer: "claude-sr2-coord is managing this chat [Take over]". It works like ChatGPT's line for a chat its agent runs.

Leo, 2026-11-01, on ChatGPT's "Lumi is managing this task / Take over": "they even show chief-operated chats".

Shows on

  • a chat a Chief started (its mux.parent tag is optchat-chief or optchat-chief:<home>): "Chief is managing this chat"
  • a sub-session (startedBy) or a chat another agent made (spawnedBy): that chat's title, which opens it
  • not on the person's own chats, and not when the manager isn't in the session list

Take over hides the line for that chat on this Mac (local storage, at most 200 chats) and focuses the composer. The person's own prompt already goes in ahead of the manager's next message, and acpmux's pair guard counts it as person input. Holding the manager's later messages until the person hands the chat back belongs in acpmux and is a follow-up.

Files

  • managedBy.ts holds the logic, tested in managedBy.test.ts.
  • sessionList.ts reads the chiefChild flag from mux.parent.
  • ManagedBanner.tsx and managedBanner.css draw the line, using theme tokens, --text-detail and the 4/8/16 spacing scale. The gallery has agent-pane.managed-banner in three variants.
  • App.tsx mounts it as a status Notice right above the tray and composer.

Localization: managed.banner and managed.takeOver are added in all 21 pane locales; "Chief" is a product name.

Checks: cmux-ci test (linux-pool job 843383073922e3b2e6974818, at this rebased head) ran bun test managedBy.test.ts and the full bun run check. Every check on this diff is green. Three reds are base reds: vp fmt --check flags three test files this PR does not touch, and vp lint and tsc each warn four times on App.tsx lines that blame base commits (522e160, fb08faa). This replaces #30658, which conflicted with base after a rebase this lane may not force-push.

Design: leo-workspace design/group-chat.md (settled rule 6).

Agent session: agent session

🤖 Generated with Claude Code