Checkpoint Management
Overview
Checkpoint management provides named snapshots within a development workflow for tracking progress, verifying changes, and enabling safe rollbacks. The /checkpoint command creates, verifies, and lists checkpoints tied to git state.
Typical Workflow
[Start] --> /checkpoint create "feature-start"
|
[Implement] --> /checkpoint create "core-done"
|
[Test] --> /checkpoint verify "core-done"
|
[Refactor] --> /checkpoint create "refactor-done"
|
[PR] --> /checkpoint verify "feature-start"
Why This Flow Works
- Feature start -- Clean baseline for the entire feature
- Core done -- Milestone marker after core implementation
- Verify after testing -- Confirm test state relative to milestone
- Post-refactor checkpoint -- Prove refactoring introduced no regressions
- Final verify against start -- Full-scope review of all changes before PR
Best Practices
- Create checkpoints at meaningful milestones, not after every small change
- Use descriptive names:
auth-backend-done,db-migration-applied - Always create checkpoints before and after refactoring
- Verify against the initial checkpoint before submitting a PR
- Periodically
clearto keep the log manageable