Restore from Checkpoint
sdd_restoreRestores spec artifacts from a checkpoint snapshot, overwriting current files with the checkpoint versions. Automatically creates a backup of current state.
Instructions
Restores all spec artifacts to a previous checkpoint snapshot. Overwrites current files with the checkpoint versions. Creates an automatic backup checkpoint of current state before restoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature_number | No | Feature number (e.g. '001') | 001 |
| spec_dir | No | Spec directory path | .specs |
| checkpoint_id | Yes | Checkpoint ID to restore (e.g. 'CP-001' or the label) |