Repository navigation
Session Info Subagents: idle ones leave "running", rows named by task, the limit line says what it caps - #33194
Conversation
… task, the limit line names started chats Leo, 2026-11-02: "but what's going on with these?" - A running subagent quiet past 3 minutes with no call open reads Idle in its line and in the section head; both read one status on one clock. - acpmux carries a subagent's spawn name on its later progress and state events, and the pane falls back to the prompt's first line before the id. - The limit line caps the chats this chat started, not its subagents: it now reads "Started chats: N of M at once". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Gallery before/after for
States
Pick other states with a web and size checks: green Shipped in:
|
|
Owned by an agent session · session |
|
Found 1 test failure on Blacksmith runners: Failure
|
|
Review (codex gpt-6.1-sol xhigh, router-review): BLOCK at 11998ef BLOCK at 11998ef Visual verdict: no images; Leo tries the build
Follow-ups:
|
…names, open calls before identity, snapshot follows quietSince) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
|
Review (codex, router-review): SHIP at ab59434 Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 2. Each lands as an issue in this repo that links this receipt; the lane that opened the PR fixes it forward. SHIP at ab59434
Changed TypeScript files parse successfully. Full tests were unavailable because Bun and dependencies are absent. Follow-ups:
|
…-info-subagents # Conflicts: # webviews/src/agent-session/acpmux/Localizable.xcstrings
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Leo, on the NEXT nightly's Session Info Subagents section (2026-11-02): "but what's going on with these?"
It showed "15 running · 27 done", then "Running 0 / 1000 max", then rows named by a raw session id ("01a18fcd-c1c7-7c…") that each read "1h 55m … Running".
Causes and fixes
start_session(acpmuxsubsessionLimits), and caps those, not Agent subagents. With no started chats it read 0 while 15 subagents ran.− / +still set the cap. The 1000 is acpmux's top of range (MAX_RUNNING.max), and the settings set the cap there.subagentStatus(agent, waiting, now)), so a line and the head can no longer disagree.name/taskonly on itssubagent_spawnedevent. A pane that read the chat's log from a page after the spawn met the subagent first throughsubagent_progressand named it by its id.subagents.rs) now remembers each subagent's name and puts it on every later progress and state event. A later name, such as a workflow's launch, replaces it.run_in_background) staysrunningin acpmux.quietSince: the last line, call or new token count while none of the subagent's calls is open.IDLE_AFTER_MS), the subagent reads Idle: in its line, in the head ("3 running · 2 idle · 1 done") and out of the running shimmer.Gallery
agent-pane.session-info/subagents-idle(SessionInfo.gallery.tsx) renders this state.Tests
test/subagent-idle-and-name.test.ts(new): naming from a prompt when a subagent is met through progress; idle vs open call vs repeated progress.test/native-session-info-activity.test.ts: the head reads "2 running · 1 idle · 1 done", the idle row's tone and wave, and the limit line's words.test/subagent-limit-stepper.test.tsx: the new limit wording.subagents.rs:a_progress_update_carries_the_name_its_spawn_gave.Design spec:
design/session-info.md(Subagents section).Risk: low. The change touches display state only and changes no lifecycle; acpmux only adds a
namefield to events.🤖 Generated with Claude Code
Agent session: agent session