# fix\(client-runtime\): Stop settles cached work the server finished, item by item · pingdotgg/t3code

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

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

Visibility: public

Requested revision: c87546aee7352c228857c45108c027d200e79b37

Requested commit: c87546aee7352c228857c45108c027d200e79b37

Commit: c87546aee7352c228857c45108c027d200e79b37

Tree: 4caf6715467b782ff427380bbd819b9250c69803

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(client-runtime): Stop settles cached work the server finished, item by item

Replace the snapshot-replacement repair. Every Stop now asks the server for
each locally pending background item through the existing getTurnItem RPC and
settles only the items the server reports finished. It runs whether or not the
interrupt was accepted or produced an event, keeps loaded history and events
that land during the lookup, and never infers status from a bounded window.

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

```

## Parents

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

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