archive
The archive skill is executed at ship time to merge active staging specifications into living documentation and maintain project records.
Responsibilities
- Living Document Sync: Merges
docs/staging/specs/YYYY-MM-DD-<topic>.mdintodocs/tech-spec.md(or split sub-specs indocs/specs/). - Staging Cleanup: Deletes staging spec and plan files once changes are verified and merged.
- Decision Records: Saves persistent knowledge artifacts or architectural decisions to
docs/decisions/. - Roadmap & Changelog: Updates
docs/ROADMAP.mdmilestone status ([x]) and records version history inCHANGELOG.md.
Workflow Gate
<gate> Staging spec must reflect actual code behavior before archiving. Living documentation updates must strictly follow canonical field formats (purpose, user, use-case, architecture, stack, entry, contract, flow, invariant, constraint, convention). </gate>