Restore from Checkpoint
sdd_restoreRestores specification artifacts from a specified checkpoint, overwriting current files with the checkpoint versions. Automatically creates a backup snapshot of the current state before restoring.
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 |
|---|---|---|---|
| spec_dir | No | Spec directory path | .specs |
| checkpoint_id | Yes | Checkpoint ID to restore (e.g. 'CP-001' or the label) | |
| feature_number | No | Feature number (e.g. '001') | 001 |