switch
Switch to a different spec — pause current, activate and resume target
Switch Spec
Switch to a different spec. The argument should be a spec ID.
Target: $ARGUMENTS
- Validate the target first:
- If no argument, show available specs and ask for target ID
- If
.specs/<target-id>/SPEC.mddoes not exist, report and stop
- If target is already active, report "already active" and stop.
- Pause current spec (if any) — run full pause workflow (save resume context, update checkboxes, set status to paused)
- Load target spec — read
.specs/<target-id>/SPEC.md - Activate it — set its status to
activein both frontmatter and.specs/registry.md - Resume it — run the full resume workflow (parse progress, find current task, read resume context, present summary)
- Update registry — ensure both specs' statuses are current in
.specs/registry.md
This should feel like one seamless operation — context switch in a single command.