Implement tasks from an OpenSpec change. Use when the user says /opsx:apply or wants to implement tasks from a change proposal.
Implement tasks from an OpenSpec change.
Input: Optionally specify a change name. If omitted, infer from context. If ambiguous, prompt for available changes.
Steps
Select the change
If a name is provided, use it. Otherwise:
openspec list --json and ask the user to selectAlways announce: "Using change: <name>"
Check status to understand the schema
openspec status --change "<name>" --json
Get apply instructions
openspec instructions apply --change "<name>" --json
Handle states:
state: "blocked"state: "all_done": congratulate, suggest archiveRead context files
Read the files listed in contextFiles from the apply instructions output.
Show current progress
Display schema, progress "N/M tasks complete", remaining tasks, dynamic instruction.
Implement tasks (loop until done or blocked)
For each pending task:
- [ ] → - [x]Pause if:
On completion or pause, show status
Output On Completion
## Implementation Complete
**Change:** <change-name>
**Progress:** 7/7 tasks complete
All tasks complete! Ready to archive this change.
Guardrails