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