forked from smallcloudai/refact
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Agent Rollback
refact-planner edited this page Jun 7, 2026
·
2 revisions
Preview and restore workspace checkpoints created during agent workflows.
Refact can create checkpoints around agent edits so you can review or restore workspace changes later. This is useful when experimenting with a fix, testing a refactor, or comparing alternative approaches.
Rollback restores files to an earlier checkpoint. It can remove changes made by the agent and any manual changes made after that checkpoint, so always review the preview before confirming.
- Enable checkpoints for the chat or mode when available.
- Let the agent make changes.
- Open the checkpoint or rollback action from the relevant chat message.
- Review the preview of files that would change.
- Confirm only if the preview matches what you want to restore.
- Commit or stash important manual work before restoring an old checkpoint.
- Use rollback for experiments, not as a replacement for version control.
- Ask the agent to summarize what changed before deciding whether to restore.
- Re-run verification after restoring a checkpoint.
Refact on GitHub: https://github.com/JegernOUTT/refact
- Agent Modes
- Agent Tools
- Task Planner & Cards
- Worktrees
- Subagents
- Memory & Knowledge
- Hidden Roles & Plans
- Context Compression
- Scheduler & Cron
- Processes & PTY
- Buddy
- MCP
- Skills, Commands & Hooks
- Marketplace
- Chat System
- Providers
- Caps & Models
- Code Completion (FIM)
- AST
- VecDB
- Exec Runtime
- HTTP API
- Checkpoints & Git
- Voice