Skip to content

cc smart routing: render model + rationale for multiple subagents - #1273

Open
lilly-luo wants to merge 5 commits into
mainfrom
lillyluo/claude-parallel-subagent-routing-display
Open

lilly-luo wants to merge 5 commits into
mainfrom
lillyluo/claude-parallel-subagent-routing-display

Conversation

@lilly-luo

@lilly-luo lilly-luo commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

before: when multiple subagents spawned, we did not show the model selected and rationale. we only showed model + rationale for a single subagent.

after: render the model selected and rationale for multiple simultaneous subagent spawns

Testing

before:
2 subagents (no model or rationale)
https://github.com/user-attachments/assets/116d1940-0893-4db1-b2d5-94c80d774422
Screenshot 2026-10-23 at 11 03 41 PM

1 subagent (model + rationale)
Screenshot 2026-10-23 at 11 05 08 PM

after:
2 subagents (model + rationale)
https://github.com/user-attachments/assets/c5ad9891-db35-4444-bcd1-044a82498789
Screenshot 2026-10-23 at 11 04 03 PM

1 subagent (model + rationale), although formatted slightly diff to be consistent w 2 subagents. preserving the original format wasnt doable because of what anthropic restricts
Screenshot 2026-10-23 at 11 05 49 PM

This pull request and its description were written by Isaac.

@lilly-luo lilly-luo changed the title Preserve Claude routing annotations for parallel subagents Preserve Claude routing decisions when parallel agents are grouped Oct 23, 2026
@lilly-luo lilly-luo changed the title Preserve Claude routing decisions when parallel agents are grouped Show clean per-task Claude routing cards for parallel agents Oct 23, 2026
Claude folds parallel Agent rows into its own "Running N agents" block,
which raises no render hook, so the above-prompt panel and row annotations
could not show parallel decisions in place. Draw every decision, single or
parallel, as a card above the parent's first reply after routing, in call
order, and show routing progress on the turn spinner while calls wait.

Remove the above-prompt panel, its prompt-reset handling, and the TUI
preview that exercised it.

Co-authored-by: Isaac <no-reply@databricks.com>
@lilly-luo lilly-luo changed the title Show clean per-task Claude routing cards for parallel agents Show Claude subagent routing cards above the parent's next reply Oct 24, 2026
@lilly-luo lilly-luo changed the title Show Claude subagent routing cards above the parent's next reply cc smart routing: render model + rationale for multiple subagents Oct 24, 2026
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