# fix\(providers\): declare the Pi rollback snapshot capability · stienswout/t3code

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

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

Visibility: public

Requested revision: 67ad4d216e43fc215ca792da07ee96efbd93eafb

Requested commit: 67ad4d216e43fc215ca792da07ee96efbd93eafb

Commit: 67ad4d216e43fc215ca792da07ee96efbd93eafb

Tree: d82f8f6d57d3b437b85813efa1e1adb3071315ac

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
fix(providers): declare the Pi rollback snapshot capability

CommandPolicy.ensureRollback rejects every rollback command unless
providerRollbackReturnsSnapshot accompanies the rollback capabilities, so
checkpoint reverts on Pi threads failed with 'rollback must return a
providerInstanceId thread snapshot'. rollbackThread already returns the
updated provider thread; declare it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

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

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