mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
28 lines
732 B
YAML
28 lines
732 B
YAML
|
|
# Checkpoint System
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
Create:
|
||
|
|
Tag: git tag checkpoint/<type>-$(date +%Y%m%d-%H%M%S)
|
||
|
|
Stash: git stash push -m "checkpoint-<operation>-<timestamp>"
|
||
|
|
Manifest: .claude/checkpoints/manifest.yml
|
||
|
|
Summary: .claudedocs/summaries/checkpoint-<type>-<timestamp>.md
|
||
|
|
|
||
|
|
Triggers:
|
||
|
|
Auto: Destructive|Refactor|Migration|Permissions|Deploy
|
||
|
|
Manual: User request|Risky ops|Experiments
|
||
|
|
|
||
|
|
Types: feature|fix|refactor|migrate|deploy|manual
|
||
|
|
|
||
|
|
Rollback:
|
||
|
|
Full: git reset --hard <checkpoint>
|
||
|
|
Selective: git checkout <checkpoint> -- <files>
|
||
|
|
Incremental: git revert <commits>
|
||
|
|
Stash: git stash pop
|
||
|
|
|
||
|
|
Process:
|
||
|
|
- Verify checkpoint exists
|
||
|
|
- Check working tree
|
||
|
|
- Confirm w/ user
|
||
|
|
- Create pre-rollback checkpoint
|
||
|
|
- Execute & verify
|
||
|
|
```
|