← ClaudeAtlas

openspec-archivelisted

The post-ship closing step — runs OpenSpec's own archive to fold a shipped change's deltas into the living specs, refreshes the final traceability snapshot, and syncs GSD's STATE.md with what actually shipped. Runs only after ship succeeded; archiving is never a way to make a gate pass.
mshegolev/gsd-openspec-integration · ★ 0 · Testing & QA · score 73
Install: claude install-skill mshegolev/gsd-openspec-integration
## Purpose Closing the loop so the *next* change starts from an accurate picture of current truth. An unarchived shipped change leaves `openspec/specs/` describing a system that no longer exists, which silently poisons every later drift audit — class 7 (behavior change without spec delta) is only meaningful if the baseline it diffs against is current. ## Invocation conditions - After `/gsd-ship` has completed successfully — that is, after the `ship:pre` gate passed on `OPENSPEC-VERIFICATION.md` `status: passed` and the ship itself went through. - Directly, `/openspec-archive <change-id>`, to close out a change shipped before this capability was installed. - **Never** invoked to clear a blocking gate. The gate reads verification status, not archive state, so archiving early cannot unblock anything — but the ordering is stated here explicitly because the brief names "archive before Ship" as a forbidden action. ## Required inputs - The shipped change-id. - Confirmation that ship completed (read from `.planning/STATE.md`, not asserted by the caller). ## Files read - `.planning/STATE.md` (ship record), `.planning/phases/<NN>-<slug>/<NN>-OPENSPEC-VERIFICATION.md` - `.planning/openspec/TRACEABILITY.md`, `EVIDENCE.json` - `openspec/changes/<change_id>/**` ## Files this skill may write - Invokes `openspec archive <change-id>` — OpenSpec's own command owns the directory move to `openspec/changes/archive/YYYY-MM-DD-<change-id>/` and the merge of the change's `ADDED`/`MODIFIED`/