Repository navigation
Restore the archived origin declaration of amend-published-tip-unreadable-scenario to its ratified text (#690) - #693
Conversation
…able-scenario to its ratified text `openspec/specs/release-realization/spec.md` "Origin retention at archive": *Mutation of an origin declaration after ratification SHALL be rejected at the archive gate.* Commit ab2003a, landed inside archive PR #685, edited the `origin.approved_by` prose of the archived packet's `.openspec.yaml` after 517980e had ratified it — widening the quoted lane-line grammar from `^Lane: [a-z0-9-]+$` to `^Lane: [a-z0-9-]+( \(.*\))?$`. The edit was correct about the grammar and wrong about the file: an origin declaration is fixed at ratification, and a record is not the place to correct a quotation. This restores that block byte-for-byte to 517980e. The diff here is exactly the inverse of ab2003a's hunk in this file; the blob now hashes to 8f3fc70, the ratified blob. Nothing else in the archived packet is touched. The corrected grammar is not lost: the packet's ratification record `review/ratification-2026-09-05.md` already carries `^Lane: [a-z0-9-]+( \(.*\))?$` in full, which is where a later reading of the check belongs. Refs #690 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🟢 Approval recommended
The change is a minimal, targeted reversion that restores the archived origin declaration to the ratified text without introducing functional or structural issues.
Pull request overview
Restores the archived OpenSpec change packet’s .openspec.yaml origin declaration text to match the ratified version, removing a post-ratification mutation in the archived record (per the “Origin retention at archive” requirement in openspec/specs/release-realization/spec.md).
Changes:
- Reverts the archived packet’s
origin.approved_byprose to the original (ratified) lane-line grammar quotation by removing the later-widened regex text.
File summaries
| File | Description |
|---|---|
| openspec/changes/archive/2026-09-05-amend-published-tip-unreadable-scenario/.openspec.yaml | Restores the archived origin declaration’s prose to its ratified text (record repair). |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Lane: openxfactory-1 (openXfactory-1; session 5e783e4d) Provenance for the admin merge of #693 (restore the archived origin declaration of
🤖 Generated with Claude Code |
…n declaration `origin/main` moved to `9b1888bb` while this packet was in review — #693 restored the archived origin declaration of `amend-published-tip-unreadable-scenario` to its ratified text, #694 routed `proposal-support` archiving through the pinned OpenSpec CLI rather than PATH, and #684/#696 landed beside them. Every hunk auto-merged: README kept main's side and this packet's Active row, and the corpus ledger kept both this row (`moved_by: "#688"`) and #685's archived row for the predecessor. No row moved, no partner flipped, so no MOVEMENT LOG entry is owed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
Lane: openxfactory-1 (openXfactory-1)
Refs #690 — part (1), the record repair. Part (2) (implementing the comparison in the archive gate) is not in this PR.
What was wrong
openspec/specs/release-realization/spec.md:260Origin retention at archive: "Mutation of an origin declaration after ratification SHALL be rejected at the archive gate."Commit
ab2003aa, landed inside archive PR #685, edited theorigin.approved_byprose ofopenspec/changes/archive/2026-09-05-amend-published-tip-unreadable-scenario/.openspec.yaml— widening the quoted lane-line grammar from^Lane: [a-z0-9-]+$to^Lane: [a-z0-9-]+( \(.*\))?$— after517980e1had ratified that declaration. The edit was right about the grammar and wrong about the file: an origin declaration is fixed at ratification, and an archived packet is a record.What this changes
One file, one hunk, exactly the inverse of
ab2003aa's hunk in that file. Nothing else in the archived packet is touched — the rest of the record is immutable and stays as it landed.Proof: the archived file is byte-for-byte the ratified text
Empty. By blob identity:
The same reproduction against
origin/mainbefore this PR returned30c30,31— one changed line, the issue's reproduction.The corrected grammar is not lost
It lives in the packet's ratification record, which is where a reading of the check belongs and which
ab2003aacorrectly declined to edit:review/ratification-2026-09-05.md:99already states the grammar in full as^Lane: [a-z0-9-]+( \(.*\))?$. Restoring the origin block therefore removes a post-ratification mutation without removing the corrected quotation from the packet.Checks run locally
python3 scripts/doc-health.py --single-repo .— parity with anorigin/maincontrol run of the same command (same finding set, same exit code).python3 -m pytest tests/doc-health -q— green.🤖 Generated with Claude Code
https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv