What problem does it solve?
It helps you finalize and archive a completed change in an experimental workflow without losing context, while ensuring related artifacts, tasks, and optional delta-spec synchronization are handled intentionally.
Core Features & Use Cases
- Change selection and completion validation: Lists available active changes when no name is provided, then checks artifact status to surface incomplete work before archiving.
- Task completion verification: Reads the tasks file (typically
tasks.md) to warn about incomplete checklist items and confirm whether to proceed.
- Optional delta-spec sync assessment: Detects delta specs, compares them against main specs, summarizes the resulting adds/modifications/removals/renames, and prompts whether to sync or archive without syncing.
- Deterministic archival with collision protection: Moves the change directory into a dated archive location, failing if the target archive already exists, and preserves workflow state like
.openspec.yaml.
- Operator-friendly completion reporting: Produces a clear final summary including archive location, used schema, and any warnings.
Quick Start
Run openspec-archive-change to archive your finished experimental change after confirming artifact and task completion and, if applicable, deciding whether to sync delta specs.