# fix\(server\): a Claude subagent that resumes itself while the root is idle shows as running again · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/7bc4ed4982685f5364daaaf4fc61e299a911d1b3)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 7bc4ed4982685f5364daaaf4fc61e299a911d1b3

Requested commit: 7bc4ed4982685f5364daaaf4fc61e299a911d1b3

Commit: 7bc4ed4982685f5364daaaf4fc61e299a911d1b3

Tree: 5e428c4a5816ea560db006ae3f565244cdc45165

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): a Claude subagent that resumes itself while the root is idle shows as running again

Claude reports a background subagent completed when its turn ends while its
own background shell still runs, then resumes it under its launch call once
that shell finishes. The launching run stopped listening at the interim
completion, so events emitted while the root was idle reached no run and the
card stayed Finished. Such a resume now requests a continuation, as a
notification does, and because Claude does not wake the root for it, the
continuation settles its root turn at once instead of holding it busy.

Replaces the idle reopen from the previous commit, whose events were never
persisted because no run subscribed to them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [97f4d6cf3b9c5067b757ae2d47f47b4fe8fd9baf](https://git.cafe/pingdotgg/t3code/commit/97f4d6cf3b9c5067b757ae2d47f47b4fe8fd9baf?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/7bc4ed4982685f5364daaaf4fc61e299a911d1b3?format=markdown)
