# fix\(codex\): stop the 429 lineage when Codex ends an unconfirmed root · pingdotgg/t3code

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

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

Visibility: public

Requested revision: ac46a1e628c15729e82ee5051fca36d918729398

Requested commit: ac46a1e628c15729e82ee5051fca36d918729398

Commit: ac46a1e628c15729e82ee5051fca36d918729398

Tree: 1862602c2f29f5d007764e545a05ef68df6a9e73

Author: Hong Liu

Committer: Hong Liu

## Message

```
fix(codex): stop the 429 lineage when Codex ends an unconfirmed root

A root whose 429 stop went unacknowledged waits for turn/completed. That
event finalized the root at once and cancelled the bounded wait, so a
nested turn a subagent started during the wait was never stopped and the
root terminal reported it as still running.

turn/completed now stops the active lineage before the root fails, with
the same rescan-under-permit loop the bounded wait uses, so a nested
turn either is stopped first or starts after the root is terminal.

```

## Parents

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

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