Skip to content

v9.3.0 - Automatic Artifact Archival

Choose a tag to compare

@marcusgoll marcusgoll released this 21 Nov 04:12
· 130 commits to main since this release

Automatic Artifact Archival System

This release introduces automatic archival of workflow artifacts after /finalize completes, maintaining a clean workspace while preserving historical context.

✨ Key Features

Archival Infrastructure

  • Created directories: epics/completed/ and specs/completed/
  • Automatic archival during /finalize command (Step 12)
  • Pattern matches /run-prompt's prompts/completed/ system

Archive Mechanism

Epic workflows - Archived to epics/{slug}/completed/:

  • epic-spec.md
  • plan.md
  • sprint-plan.md
  • tasks.md
  • NOTES.md
  • research.md
  • walkthrough.md

Feature workflows - Archived to specs/{slug}/completed/:

  • spec.md
  • plan.md
  • tasks.md
  • NOTES.md

Preserved in root:

  • workflow-state.yaml (for metrics/history)
  • contracts/ directory
  • Build/deployment artifacts

Benefits

✅ Clean workspace - Only active work visible
✅ Historical context - Completed artifacts stay with epic/spec
✅ Consistent pattern - Matches prompts/completed from /run-prompt
✅ Automatic - No user action required
✅ Recoverable - Restore with simple mv command

🔧 Changes

  • finalize-workflow.sh: Added archive_artifacts() function as Step 12
  • /finalize command: Updated documentation with archival step, verification, and success criteria
  • CLAUDE.md: Added comprehensive "Artifact Archival (v9.3+)" section

🐛 Bug Fixes

  • spec-cli.py: Fixed cmd_epic() to not reference non-existent epic-manager script
    • Now provides helpful guidance to use /epic slash commands directly
    • Prevents errors when users run spec-cli commands

📖 Example Usage

After completing an epic or feature workflow:

# Complete all phases through deployment
/ship-prod

# Finalize documentation and archive artifacts
/finalize

Result:

epics/001-auth-system/
├── completed/              # All planning artifacts archived
│   ├── epic-spec.md
│   ├── plan.md
│   ├── sprint-plan.md
│   └── ...
└── workflow-state.yaml     # Stays for metrics

Recovery (if needed):

mv epics/001-auth-system/completed/* epics/001-auth-system/

Full Changelog: v9.2.0...v9.3.0