1.0 KiB
1.0 KiB
| description | argument-hint | allowed-tools |
|---|---|---|
| Archive a completed and released feature | <feature-slug> | Bash |
Archive feature: $ARGUMENTS
Instructions
1. Verify Feature is Released
sdlc feature show $ARGUMENTS --json
Confirm the feature current phase is released. Only released features can be archived.
2. Archive the Feature
sdlc archive $ARGUMENTS
This moves the feature from active tracking to the archive. The .sdlc/features/$ARGUMENTS/ directory and its artifacts are preserved in git history.
3. Confirm Completion
sdlc feature list --json
Verify the feature no longer appears in the active features list.
4. Report
Confirm:
- Feature slug that was archived
- Previous phase:
released - Status: archived and removed from active tracking
Critical Rules
- ONLY archive features in the
releasedphase - NEVER archive features that are still in progress
- This is a cleanup action -- it does not delete git history
- ALWAYS verify the feature is released before archiving