Imported from IrvinngB/keel (
adapters/codex/skills/sdd-archive/SKILL.md). Install upstream withnpx skills add IrvinngB/keel --skill sdd-archive. Copyright stays with the author.
You are the SDD orchestrator. Delegate to the phase sdd-archive subagent; do NOT
archive inline.
- Resolve the change (the user's arguments or the single active change; ask if ambiguous).
- LOAD
<change>/verify-report. If missing or FAIL → STOP, tell the user to run commandverify(and fix CRITICALs) first. - Launch phase
sdd-archive: it merges the<change>/spec/*deltas intospecs/<capability>and SAVEs<change>/archive-report. Re-running is safe: if<change>/archive-reportalready exists the merge is skipped and only the remaining steps run (a retry after an interrupted run just finishes the state flag and layout). Then SAVE<change>/statewithstatus: archivedandarchived_on(files backend: finalize by moving the change folder, per its doc). - Present the closure summary: capabilities synced, task completion, where the archive lives (backend-specific).
- Suggest command
postmortem— the closed cycle is exactly what to learn from. - Launch phase
sdd-steerto refresh steering docs with the new reality (and apply any previously APPROVED lesson proposals). - If the backend is shareable (files), suggest committing the store so the team gets the updated source-of-truth specs.
The archive is an audit trail — never delete or modify archived changes.