Files
OpenSpec/openspec
0ff63dbae6 fix(archive): require successful spec sync before archiving (#1759)
* Updated Archive Skill

* Updated Testcase

* Updated Skill and Updated Unit Test

* Updated Archive and Bulk Archive Skill

* Updated Bulk Archive Skill

* fix(archive): keep existing main spec titles during sync verification

The post-sync structure check required every main spec to start with a
'# <capability> Specification' title. Neither sync-specs nor the validator
enforces that, and valid specs (including this repo's opsx-archive-skill)
use other titles, so an agent could stop the archive or rewrite a
user's title. Scope the title and heading rules to what the sync writes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(specs): match opsx-archive-skill spec to the stricter sync check

The archive skill now treats a sync that reports a blocked retirement as a
failed sync, so the capability spec no longer calls that kept spec verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Clay Good <hi@claygood.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 18:25:14 +00:00
..