-
-
Notifications
You must be signed in to change notification settings - Fork 4
Checkpoints and Git
Workspace checkpointing and shadow-repo Git flows for previewing, restoring, and committing changes.
Git checkpoints are backed by shadow repositories. The engine opens or initializes a per-workspace shadow repo, stages tracked changes, and records checkpoint state without mutating the user’s main repository.
Checkpoint flows support preview and restore:
- preview shows the checkpointed changes before restoring
- restore re-applies the saved workspace state
The implementation is workspace-scoped and uses checkpoint metadata to match the correct root.
The engine can generate commit messages from diffs. The commit-message endpoint accepts a diff and an optional prompt text, then returns a plain-text commit message.
Git and checkpoint HTTP endpoints include:
/checkpoints-preview/checkpoints-restore/git-commit
Checkpoint handling supports rollback at the message/workspace level so a recent state can be restored when needed.
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