apply
CommandImplement an approved OpenSpec change and keep tasks in sync.
Archive a deployed OpenSpec change and update specs.
> /plugin marketplace add sudocode-ai/sudocode> /plugin install sudocode@sudocode-marketplace
name: OpenSpec: Archive description: Archive a deployed OpenSpec change and update specs. category: OpenSpec tags: [openspec, archive]
<!-- OPENSPEC:START --> **Guardrails**
**Steps** 1. Determine the change ID to archive:
2. Validate the change ID by running `openspec list` (or `openspec show <id>`) and stop if the change is missing, already archived, or otherwise not ready to archive. 3. Run `openspec archive <id> --yes` so the CLI moves the change and applies spec updates without prompts (use `--skip-specs` only for tooling-only work). 4. Review the command output to confirm the target specs were updated and the change landed in `changes/archive/`. 5. Validate with `openspec validate --strict` and inspect with `openspec show <id>` if anything looks off.
**Reference**
<!-- OPENSPEC:END -->
Implement an approved OpenSpec change and keep tasks in sync.
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task…
Generate a custom checklist for the current feature based on user requirements.
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding…
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in…
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.