mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
eb15cdb983
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
1.1 KiB
1.1 KiB
1. Create Slash Command
- 1.1 Create
.claude/commands/opsx/archive.mdwith 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-setupto regenerate skills - 2.2 Verify skill appears in
.claude/skills/directory
3. Testing
- 3.1 Test
/opsx:archivewith a complete change (all artifacts, all tasks done) - 3.2 Test
/opsx:archivewith incomplete artifacts (verify warning shown) - 3.3 Test
/opsx:archivewith incomplete tasks (verify warning shown) - 3.4 Test
/opsx:archivewith delta specs (verify sync prompt shown) - 3.5 Test
/opsx:archivewithout change name (verify selection prompt)