Checkpoints & rollback
File version history
Every file change made by the agent preserves the previous version of that file. The "History" panel (icon in the chat header) lists all files changed in the chat:
- search by path, sorting by time / path / size;
- viewing any version and a line-by-line diff against the previous one;
- restoring a file to a selected version;
- exporting selected versions to a ZIP.
Also, every write step in the agent timeline has a "Restore to version" button — it returns that specific file to its pre-edit state.
When it helps
- The agent "broke" a file — roll back to the pre-run version.
- You dislike an edit — restore the file and ask for a different approach.
- Code experiments — edit boldly: file changes are reversible.
Limits
The history covers files changed by the agent through file tools in this chat. Changes made by system commands (builds, migrations, etc.) are not tracked — use git in the workspace for those.