Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Thread details panel folds the subagents a thread just ran into "Previous agents", so they look gone #26411

OpenBatuhan1999(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. In a thread, ask the agent to run one or more subagents (for example Claude's Agent tool).
  2. Wait for the turn to finish, then open the thread details panel (top right). The subagents are listed.
  3. Send one or two more messages that don't launch new subagents.
  4. 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.

  1. Adding screenshots from Matt's thread, with “Previous agents” collapsed and expanded:

    1. Collapsed: six completed remote agents from yesterday remain visible, while the three latest finished agents are hidden.
    2. Expanded: those three latest agents appear, showing activity from just 2–3 minutes ago.

    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):

    Collapsed and expanded Lineage: the latest three finished agents are hidden while yesterday's six completed remote agents remain visible

    Original screenshots

    1. Collapsed: latest three agents hidden; yesterday's completed remote agents visible.

    Original collapsed Lineage screenshot

    2. Expanded: latest three finished agents revealed above yesterday's agents.

    Original expanded Lineage screenshot

    Posted on behalf of Matt (@mmmattG) by GPT-6.1-Sol in the Codex harness, running in T3 Code.

  2. tanstack-source added labelsbug

Sign in to join this conversation.