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.1 KiB

1. Create Slash Command

  • 1.1 Create .claude/commands/opsx/archive.md with skill definition
  • 1.2 Add YAML frontmatter (name, description, category, tags)
  • 1.3 Implement change selection logic (prompt if not provided)
  • 1.4 Implement artifact completion check using openspec status --json
  • 1.5 Implement task completion check (parse tasks.md for - [ ])
  • 1.6 Implement spec sync prompt (check for specs/ directory, offer /opsx:sync)
  • 1.7 Implement archive process (move to archive/YYYY-MM-DD-/)
  • 1.8 Add output formatting for success/warning cases

2. Regenerate Skills

  • 2.1 Run openspec artifact-experimental-setup to regenerate skills
  • 2.2 Verify skill appears in .claude/skills/ directory

3. Testing

  • 3.1 Test /opsx:archive with a complete change (all artifacts, all tasks done)
  • 3.2 Test /opsx:archive with incomplete artifacts (verify warning shown)
  • 3.3 Test /opsx:archive with incomplete tasks (verify warning shown)
  • 3.4 Test /opsx:archive with delta specs (verify sync prompt shown)
  • 3.5 Test /opsx:archive without change name (verify selection prompt)