# fix\(server\): preserve provider usage in persisted turns · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/e50f000f3dc415d9093c89e81dbb24dde0184775)

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

Visibility: public

Requested revision: e50f000f3dc415d9093c89e81dbb24dde0184775

Requested commit: e50f000f3dc415d9093c89e81dbb24dde0184775

Commit: e50f000f3dc415d9093c89e81dbb24dde0184775

Tree: 17cf3b8d262853d36dc2c525a4db8b792e95dd0a

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): preserve provider usage in persisted turns

Merge terminal provider updates with stored context usage before replacing the SQLite payload. Keep newer usage reports authoritative and verify the persisted projection after reload.

Finding: R07 follow-up

Model: GPT-5.6 Sol via Codex

```

## Parents

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

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