co-archive
Installation
SKILL.md
/co:archive
Archive a completed change and merge its §S delta into the root SPEC.md.
Preconditions
- All §T rows in the change's CHANGE.md must be status
x(done). If not, refuse and list the remaining tasks. - The colony MCP server must be running.
Procedure
- Verify completion: read
openspec/changes/<slug>/CHANGE.md§T, confirm all rows arex. - Call
spec_archivewith:repo_root,slug,session_id,agentstrategy: defaultthree_way. Passlast_writer_winsonly if the user explicitly accepted conflicts.
- Handle the response:
status: archived— printarchived_path,applieddelta count, and any conflicts that were resolved.status: refused— print the conflict list and tell the user to either resolve manually or re-run with--strategy last_writer_wins.