What problem does it solve?
Keeps OpenSpec documentation accurate by applying incremental changes from a delta spec into the corresponding main specs, without deleting or overwriting unrelated content.
Core Features & Use Cases
- Sync delta → main: Applies ADDED, MODIFIED, REMOVED, and RENAMED requirement changes from
openspec/changes/<change>/specs/ into openspec/specs/.
- Intelligent merging: Preserves main spec scenarios and sections not referenced by the delta, adding only what’s intended.
- Capability-level updates: Updates existing capability specs or creates new main spec files when a capability doesn’t yet exist.
- Interactive change selection: Prompts the user to choose when a change name is not provided and inference is ambiguous.
- Idempotent guardrails: Reads both delta and main specs before editing, and aims to make repeated runs yield the same end state.
Quick Start
Tell the AI which change you want to sync (or ask it to prompt you if you are unsure), and it will update the main spec files by merging the delta requirements into the correct capabilities.