| name | openspec-archive |
| description | Archive completed OpenSpec changes |
What I do
Archive a completed OpenSpec change, moving it from the active changes directory to the archive.
When to use me
When the user has finished implementing a change and wants to clean up the workspace.
Workflow
- Verify the change exists and all tasks are complete
- Confirm with user before archiving
- Call
openspec_archive with the changeId
- Confirm successful archival
Example
User: "archive the add-auth change"
→ Verify all tasks complete
→ Confirm: "Archive add-auth change?"
→ Call openspec_archive({ changeId: "add-auth" })
→ Confirm successful archival