# Move app state persistence to centralized SQLite service · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 384878a3f19b8c5dd52025049d4e59066b3a59d3

Requested commit: 384878a3f19b8c5dd52025049d4e59066b3a59d3

Commit: 384878a3f19b8c5dd52025049d4e59066b3a59d3

Tree: 54b837c1c3845c202eb427d568895ae269ae7ffb

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Move app state persistence to centralized SQLite service

- Add server-side `PersistenceService` backed by SQLite with migrations and tests
- Introduce shared state contracts/events and wire WebSocket bootstrap/catch-up flows
- Migrate project/thread/message persistence from renderer-local state to server-managed state
- Store turn diff summaries from checkpoint diffs for faster thread metadata rendering

```

## Parents

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

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