Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(client): reactivate resumed Claude subagents #14031

Closedkvnloo(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/14031/headopened View on GitHub

A Claude subagent resumed with SendMessage emits another task.started for the same taskId, but with a new toolUseId. The client fold currently treats every start after a terminal state as delayed metadata, so the Agents panel keeps showing the prior completed/failed run.

Track the set of observed start toolUseId values per task during the fold. A terminal agent reopens only when a task.started carries an unseen start identity. Duplicate or delayed starts with any previously seen identity remain terminal, preserving the existing out-of-order protection.

Focused regressions cover a failed subagent resumed by a new start identity and a duplicate start that must not reopen the completed run.

Local test execution is not available from this connector-only session, so this is opened as a draft for CI verification.

Fixes #14002.

Model: GPT-5.6 Sol. Harness: ChatGPT.

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    2. Note

      This comment is posted by Julius' dot

      The resumed-subagent regressions are added, but the description explicitly says they were not executed and the current checks do not run them. The verification rule requires observed results. Run the focused fold tests for reactivation and delayed duplicate starts, report the command and results, then request reconsideration.

    3. juliusmarminge closed this

Sign in to join this conversation.