Repository navigation
fix(ui): restore inline per-subagent activity - #168102
Conversation
Show each unfinished subagent with its current activity using the existing roster and observer stream, without restoring TaskFlow or reading child transcripts. Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR shows each unfinished subagent’s name and current activity beneath the parent chat’s working or waiting line. Example: A parent chat waits for Backend implementation, UI regression tests, and Review accessibility.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it is collaborator-authored, restores useful inline progress, and has no concrete introduced correctness or security finding. Required CI is still running. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI projects the Gateway-owned child-session roster into transcript rows and consumes existing observer headlines for live presentation; selecting a row opens the child’s details or session. flowchart TD
A[Gateway child session roster] --> C[Subagent status projection]
B[Gateway observer headlines] --> D[Scoped live view cache]
C --> D
D --> E[Inline transcript rows]
E --> F[Subagents panel or child session]
Technical reviewBest possible solution: Restore inline activity through the existing session roster and observer stream while keeping TaskFlow retired. Do we have a high-confidence way to reproduce the issue? Current-main source and the inspected before screenshot establish the aggregate-only presentation; no target code was executed during this review. Is this the best way to solve the issue? The approach preserves Gateway ownership, uses existing safe observer delivery, and adds scoped presentation rather than restoring the retired task ledger. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ced267e85754. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +327, Tests +230, Docs +9. Total +566 across 14 files. Added test files: 1. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 9, 2026, 10:35 PM ET / October 10, 2026, 02:35 UTC. |
|
Merged via squash.
|
Show each unfinished subagent with its current activity using the existing roster and observer stream, without restoring TaskFlow or reading child transcripts. Co-authored-by: steipete <[email protected]>
Related: #159179
What Problem This Solves
Fixes the loss of inline per-subagent activity after the Tasks/TaskFlow removal: a parent chat showed only an aggregate waiting count.
User Impact
Each unfinished subagent is visible again with its name and current activity while the parent works or waits. Rows remain in launch order, distinguish queued and delegated work, and open the correct subagent details. On narrow screens, activity appears below the name.
Why This Change Was Made
Restore the useful presentation without restoring TaskFlow. The view reuses the current child roster and safe observer headlines, with no child-transcript polling or additional execution state. Live headlines are fenced to the current run, session incarnation, agent, and connection. Completed children leave the inline list; existing failure/attention notices and the Subagents panel remain available.
The mocked Gateway now mirrors the existing broad observer-headline delivery contract, while keeping raw messages and tool arguments individually scoped.
Evidence
4ac1a8028b31before the repair (activity wasundefinedinstead of three rows; the other 19 cases passed). The same restored-status coverage passes with the fix. The Before capture also reproduces the missing rows through the actual chat UI.Before
After
Light theme and mobile
Worked on by:
Work sessions