What problem does it solve?
It finalizes and archives a completed change in the experimental OpenSpec workflow while checking artifacts, tasks, and spec deltas so the archive reflects the actual completion state.
Core Features & Use Cases
- Completion gating with user confirmation: Verifies artifact status via openspec status --json and checks tasks.md for incomplete tasks, prompting the user before proceeding when anything is unfinished.
- Delta-spec synchronization assessment: Detects delta specs under openspec/changes/<name>/specs/ and compares them against the corresponding main specs under openspec/specs/<capability>/spec.md, then summarizes adds/modifications/removals/renames before prompting.
- Archival with consistent naming and preservation: Moves openspec/changes/<name> into openspec/changes/archive/YYYY-MM-DD-<name>/ and preserves workflow metadata like .openspec.yaml during the move.
- Use Case: After implementing a workflow change, archive it and optionally sync spec deltas to main specs while ensuring the change is truly complete (or explicitly acknowledged by the user).
Quick Start
Ask an AI to archive the currently finished OpenSpec change named "my-change" and, if delta specs exist, sync them to the main specs before archiving.