# fix\(server\): keep send tracking when a tool boundary takes an update · pingdotgg/t3code

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

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

Visibility: public

Requested revision: ed47e6f58f2ba0109a08859c8972183a5eec83b1

Requested commit: ed47e6f58f2ba0109a08859c8972183a5eec83b1

Commit: ed47e6f58f2ba0109a08859c8972183a5eec83b1

Tree: f7bcde20015c6db078f01734a0203ac9e5c39f72

Author: Alb11747

Committer: Alb11747

## Message

```
fix(server): keep send tracking when a tool boundary takes an update

A Claude tool boundary that takes a queued agent update cancels the queued
run that t3_thread_send returned. t3_thread_wait on that run now follows the
run that took its message instead of reporting it cancelled. A queued run
that owns a delegated task (a follow-up to a finished child) keeps its own
turn instead, because the task settles with that run.

Co-Authored-By: Claude Opus 5.5 at high effort <noreply@anthropic.com>
Co-Authored-By: GPT-6.1 Sol at xhigh effort, review subagent <noreply@openai.com>

```

## Parents

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

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