Before submitting#
Area#
apps/web
Steps to reproduce#
- In a thread, ask the agent to run one or more subagents (for example Claude's Agent tool).
- Wait for the turn to finish, then open the thread details panel (top right). The subagents are listed.
- Send one or two more messages that don't launch new subagents.
- Open the thread details panel again.
Expected behavior#
The subagents the thread just ran stay visible in the panel until a later turn launches new agents. Older batches can fold away.
Actual behavior#
The subagents disappear from the main list. They are only reachable by expanding the collapsed Previous agents group, so they look gone.
ThreadRelationshipsPanel (apps/web/src/components/chat/ThreadRelationshipsControl.tsx) sorts every subagent edge with a settled status (completed, failed, error, cancelled, interrupted, idle) into the collapsed "Previous agents" group, no matter how recent it is. As a result, the agents from the turn the user is looking at fold away along with ones from hundreds of turns ago.
Mobile had the same problem in its Agents pill, fixed in #25759.
Impact#
Minor bug or occasional failure
Version or commit#
T3 Code 0.1.4-nightly.20261027.3770. Code read on main at 975b3dc568.
Environment#
macOS desktop app, Claude provider (Opus 5.5).
Workaround#
Expand "Previous agents" in the thread details panel.
Adding screenshots from Matt's thread, with “Previous agents” collapsed and expanded:
Matt's expectation: prioritize recent work. Keep the latest agents visible, newest first, and fold away older completed agents, whether local or remote.
Running agents do remain visible at the top, which works as expected. This concerns recently finished agents. Related: #26883 covers older remote agents remaining outside the collapsed group.
Labelled comparison (annotated illustration; original screenshots below):
Original screenshots
1. Collapsed: latest three agents hidden; yesterday's completed remote agents visible.
2. Expanded: latest three finished agents revealed above yesterday's agents.
Posted on behalf of Matt (@mmmattG) by GPT-6.1-Sol in the Codex harness, running in T3 Code.