# Add git-backed filesystem checkpoints for provider session rollback · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/e448221739588dcdbf08b975ea3ec307db456420)

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

Visibility: public

Requested revision: e448221739588dcdbf08b975ea3ec307db456420

Requested commit: e448221739588dcdbf08b975ea3ec307db456420

Commit: e448221739588dcdbf08b975ea3ec307db456420

Tree: a0835f577c1f64654e54178c22cd40b1ae3d2608

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add git-backed filesystem checkpoints for provider session rollback

- add `FilesystemCheckpointStore` to capture, restore, and prune per-turn git refs
- wire checkpoint init/capture into `ProviderManager` with per-session locking and error events
- require checkpoint presence before rollback and restore workspace state after revert
- add tests for checkpoint store behavior and provider rollback integration

```

## Parents

- [57ca254abe61e2c3b7b38d2c7a95229cf213d0a6](https://git.cafe/flambo/t3code/commit/57ca254abe61e2c3b7b38d2c7a95229cf213d0a6?format=markdown)

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