Revert "feat(inspector): summarize agent work in Session Info" (#26988)
Takes back #26988: Leo never asked for the Session Info summary card, and it layout-shifts; his words are below.
Reverts #26988 (c5efa18b). Session Info goes back to exactly its layout before that PR: no "Summary" header, no avatar-stack card ("3 running · 138 done · 1 failed ›") above the Subagents list, and no summary line in the default SummaryCard. The card wrapped and changed height as counts changed, which shifted the layout.
Leo's words (2026-10-29), on a screenshot of Session Info with the card:
"dude why the fuck did you guys remake the fucking session info intO A FUCKING BAR THAT FUCKING LAYOUT SHIFTS WHEN I ASKED FOR IT TO LITERALLY BE THE EXACT SAME FUCKING SITUTAION AS BEFORE BUT NOW YOU CAN FUCKING FCLICK AND DRAG TO REARRANGE THE FRUCKING SESSIONS WHAT THE FUCK"
A plain git revert, no conflicts. #26988's supporting change to subsessionLimits.ts/SubagentLimitStepper.tsx (counting folded sub-sessions in running slots) depends on the chatSubsessions prop the card added, so it's reverted too. It can come back as its own fix. #26988 never touched uiFont.ts, so that file is unchanged here.
Drag-to-reorder, which Leo did ask for, follows in a separate minimal PR.
Risk: low. This restores the code that shipped before c5efa18b. Its tests go with it.
Gallery: agent-pane.chat-inspector/full, agent-pane.chat-inspector/subagents-busy, agent-pane.summary-card/background-work
Before/after (gallery agent-pane.chat-inspector/subagents-busy, Linux Chromium, run). Before: the summary card with its avatar stack above Subagents. After: Subagents directly below Outputs, as before #26988.
| Before (feat-cmux-next) | After (this PR) |
|---|---|
![]() | ![]() |
![]() | ![]() |
Agent session: agent session
🤖 Generated with Claude Code
![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Reverts #26988 so Session Info goes back to its exact pre-change layout. The compact summary card (avatar stack, counts line, and summary line in SummaryCard) is removed, along with its dependent change to subsessionLimits/SubagentLimitStepper that counted folded sub-sessions. The card wrapped and changed height with counts, which was not the requested behavior; drag-to-reorder, the actual request, will follow separately. This is a clean revert with no conflicts and low risk.



