Files
Tabish Bidiwale eb15cdb983 chore: archive completed changes and clean up stale ones (#455)
Archive 5 completed changes:
- opsx-archive-command (synced specs)
- add-specs-apply-command
- add-per-change-schema-metadata
- make-apply-instructions-schema-aware (synced specs)
- add-agent-schema-selection

Delete 5 stale/abandoned changes:
- add-fingerprinting (no tasks, 7 weeks old)
- add-scaffold-command (0/7 tasks, 7 weeks old)
- add-proposal-frontmatter (no tasks, 8 weeks old)
- add-interactive-proposal-command (no tasks, 8 weeks old)
- make-validation-scope-aware (0/8 tasks, 4 months old)

Sync delta specs to main:
- Add opsx-archive-skill spec (new capability)
- Update cli-artifact-workflow spec with Schema Apply Block and
  Apply Instructions Command requirements
2026-01-06 23:52:11 -08:00

1.5 KiB

Why

The experimental workflow (OPSX) provides a schema-driven, artifact-by-artifact approach to creating changes with /opsx:new, /opsx:continue, /opsx:ff, /opsx:apply, and /opsx:sync. However, there's no corresponding archive command to finalize and archive completed changes. Users must currently fall back to the regular openspec archive command, which doesn't integrate with the OPSX philosophy of agent-driven spec syncing and schema-aware artifact tracking.

What Changes

  • Add /opsx:archive slash command for archiving changes in the experimental workflow
  • Use artifact graph to check completion status (schema-aware) instead of just validating proposal + specs
  • Prompt for /opsx:sync before archiving instead of programmatically applying specs
  • Preserve .openspec.yaml schema metadata when moving to archive
  • Integrate with existing OPSX commands for a cohesive workflow

Capabilities

New Capabilities

  • opsx-archive-skill: Slash command and skill for archiving completed changes in the experimental workflow. Checks artifact completion via artifact graph, verifies task completion, optionally syncs specs via /opsx:sync, and moves the change to archive/YYYY-MM-DD-<name>/.

Modified Capabilities

(none - this is a new skill that doesn't modify existing specs)

Impact

  • New file: .claude/commands/opsx/archive.md
  • New skill definition (generated via openspec artifact-experimental-setup)
  • No changes to existing archive command or other OPSX commands
  • Completes the OPSX command suite for full lifecycle management