# fix\(server\): agent messages no longer cancel Claude tools · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 78ad2e59a57abd87c585a574c1c260835bed4f61

Requested commit: 78ad2e59a57abd87c585a574c1c260835bed4f61

Commit: 78ad2e59a57abd87c585a574c1c260835bed4f61

Tree: e4dc3f8b6d44a68488ede1dc42931b284517266b

Author: Alb11747

Committer: Alb11747

## Message

```
fix(server): agent messages no longer cancel Claude tools

Deliver Claude agent updates through root PostToolBatch and Stop hook context
without interrupting running tools. Defer to the durable next-turn queue after
one minute without a boundary, or when the update contains attachments.

Let human steering and immediate controls pass a waiting boundary delivery.
Revoke pending updates on Stop and task disposal, and refresh completion
pointers when only part of a task cohort remains unacknowledged.

Keep native human steering and other providers' delivery behavior unchanged.
Exercise the real send service, hook adapter, outbox ordering and ownership
races with deterministic regression coverage.

Upstream-PR: https://github.com/pingdotgg/t3code/pull/21158
Co-Authored-By: GPT-6.1 Sol at high effort, implementation and SDK research <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol at xhigh effort, independent review <noreply@openai.com>

```

## Parents

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

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