piagent_
← ~/map

$ cat ~/map/pi-better-rewind-redo.md

pi-better-rewind-redo

Rewind files and conversation together from an earlier message, with multi-level redo and recovery from interrupted restores.

extensions✓ Sep 11

Facts

repository
github.com/extracurricular-ai/pi-better-rewind-redo ↗
GitHub Stars
★ 9
Forks
1
license
Apache-2.0
npm / mo
—
last push
Sep 10, 2026

install

pi install npm:pi-better-rewind-redo

## TL;DR

A pi extension that rewinds files and conversation together from an earlier message, powered by filesnap snapshots stored outside the workspace, with multi-level redo and recovery from interrupted restores.

## Key points

## FAQ

Q How is this different from pi's built-in /tree and /fork?

pi's /tree and /fork navigate the conversation only. Using them creates a new checkpoint boundary and clears this extension's redo history without restoring files; /rewind and /redo are for combined file and conversation navigation.

Q What happens if a restore is interrupted?

A recovery journal is saved before files change, and files are restored before the conversation. If restoration fails, the extension tries to restore the previous state; if recovery also fails, it retains the journal and snapshots and blocks further editing until /rewind-recover succeeds.

## References

## Related entries

## Guides

Last updated: Sep 11, 2026