Repository navigation
Restore retire-hermes-flat-keys-and-openworkflow-tokens's origin declaration to its ratifying bytes (#709) - #711
Conversation
…aration to its ratifying bytes (#709) The packet was ratified at `59eb913e` (PR #551, 2026-09-01). Commit `a951be76` (PR #562, 2026-09-01) then appended a twelve-line "REALIZATION NOTE, added 2026-09-01 after the fact" to `origin.reason` — a post-ratification mutation of an origin declaration, which `release-realization` § "Origin retention at archive" forbids and which the landed `proposal-support` origin-retention gate refuses (`changed keys: reason`). `.openspec.yaml` is restored byte-for-byte to the ratifying commit's version. The proof is a diff against `59eb913e:...:.openspec.yaml` that is EMPTY. The only difference between the ratifying blob and `main`'s blob was inside the origin block, so no key outside it needed keeping and none was changed. THE TEXT IS NOT DROPPED. It moves verbatim, in an eleven-line blockquote checked line-for-line against the removed hunk, into the realization group of `tasks.md`, dated and attributed to `a951be76`. The one positional reference in it — "the paragraph above" — is named and re-anchored in prose beside the quotation rather than edited inside it. DISPOSITION, which the requirement's own scenario demands for a restoration: Brett Heap, 2026-09-05, on openxFactory issue #709 — "restore all four, land them when green". Verified on this branch: the gate prints ORIGIN RETAINED for this packet; `doc-health.py --single-repo .` output is IDENTICAL to the pre-change baseline (no new finding); `validate-sequenced-after.py .` passes (35 active changes) and `--ledger-diff` output is identical before and after (no row moves, state and class unchanged); `openspec validate retire-hermes-flat-keys-and-openworkflow-tokens --strict` is valid; `validate-openspec-cli-pin.py --all --no-cache` exits 0 with the same two pre-existing dispositioned findings and zero undispositioned failures. Refs #709 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 changes are limited to restoring ratified origin bytes and relocating explanatory text without introducing behavioral or structural risks.
Pull request overview
This PR restores the retire-hermes-flat-keys-and-openworkflow-tokens packet’s .openspec.yaml origin.reason to the exact ratifying bytes (removing a post-ratification “REALIZATION NOTE” addition) so the origin-retention gate passes, while preserving that note by relocating it into the packet’s tasks.md realization section.
Changes:
- Removes the post-ratification “REALIZATION NOTE” paragraph from
origin.reasonin.openspec.yaml. - Adds the removed text verbatim as a dated, attributed blockquote in
tasks.md, with explanation and disposition context.
File summaries
| File | Description |
|---|---|
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml |
Deletes the post-ratification appended note from origin.reason, restoring the origin declaration to its ratified form. |
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/tasks.md |
Preserves the removed note by relocating it into the realization narrative, keeping the text in the packet without mutating the ratified origin block. |
Review details
- Files reviewed: 2/2 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.
|
LANDING — lane openxfactory-1 (openXfactory-1), session 5e783e4d, 2026-09-06T01:49:16Z, PR #711 into opensoft/openxFactory main (protocol Rule 6). |
|
Lane: openxfactory-1 (openXfactory-1; session 5e783e4d) Provenance for the admin merge of #711 (restore 🤖 Generated with Claude Code |
|
LANDED — lane openxfactory-1 (openXfactory-1), 2026-09-06T01:49:30Z, PR #711 → merge |
Lane: openxfactory-1 (openXfactory-1)
Refs #709. One of the four restorations Brett ruled on 2026-09-05 — "restore all four, land them when green" — this one for the ACTIVE change
retire-hermes-flat-keys-and-openworkflow-tokens.The ratifying commit, resolved the way the gate resolves it
59eb913e69cbfdd821226d7e3ee80d60774554e0— "Ratify retire-hermes-flat-keys-and-openworkflow-tokens: entries 1 and 2 of #522, at contract-v3.0 (#551)".Resolved by calling the landed resolver itself, not by reading the log:
proposal_support.ratifying_commit(root, change), which walksgit log --full-history --topo-order --reverse -- openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.mdoldest-first and returns the first blob whose own (fence-aware) header declaresStatus: ratified. It returns59eb913e69cb…, matching the commit issue #709 reports.Every post-ratification commit that touched
.openspec.yaml— there is exactly onegit log -p --full-history 59eb913e..HEAD -- openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yamllists two commits and only one carries a diff:a951be76(PR #562, 2026-09-01) — "Realize retire-hermes-flat-keys-and-openworkflow-tokens (§§ 2, 3, 6)…"origin.reason.6859732f(merge oforigin/mainintochange/add-cpc-clearing-boundary)diff <(git show 6859732f:…) <(git show a951be76:…)is empty. Listed only because--full-historydoes not simplify merges away.The mutating hunk, verbatim:
This change's diff is exactly the inverse of that hunk.
No key outside the origin block changed after ratification. The whole-file diff
59eb913e:.openspec.yaml→main:.openspec.yamlis that hunk and nothing else, so there was nothing outsideorigin:to keep, and nothing outside it was touched.The gate, before and after
Before (on
main's tree),proposal_support.origin_retention_errors:After (this branch):
Byte-for-byte proof, run on this branch:
Where the text went — nothing is dropped
Into
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/tasks.md, in the realization group (immediately after the line "Sections 2-5 are the realization…", which is where that group is framed and which is the group §§ 2, 3 and 6.1 belong to). It is quoted verbatim as an eleven-line blockquote, dated2026-09-05, attributed toa951be76(PR #562), with the reason for the move and Brett's disposition beside it. The quotation was checked mechanically, line for line, against the removed hunk with the four-space folded-scalar indent stripped:VERBATIM MATCH: True, 11 lines against 11.One thing is said in prose beside the quotation rather than edited inside it: the note's "the paragraph above" was positional — it meant the ratification paragraph of
origin.reason, which is still there, intact, in the restored declaration. Naming that outside the quote keeps the quote a quote.No new
Status: recordfile is added; this restoration needed none.Explicit disposition
The requirement's own scenario says restoring a post-ratification origin mutation is a contested-class act requiring an explicit disposition, and the gate has no bypass flag. The disposition is Brett Heap, 2026-09-05, on issue #709: "restore all four, land them when green" — recorded in the commit message, in the relocated note in
tasks.md, and here.Checks run locally on this branch
proposal_support.origin_retention_errorsfor this packetORIGIN RETAINED …,errors: []diff <ratifying blob> <worktree blob>VERBATIM MATCH: True(11/11)python3 scripts/doc-health.py --single-repo .python3 scripts/validate-sequenced-after.py .python3 scripts/validate-sequenced-after.py . --ledger-diffOPENSPEC_TELEMETRY=0 openspec validate retire-hermes-flat-keys-and-openworkflow-tokens --strictpython3 scripts/validate-openspec-cli-pin.py --all --no-cacheadd-chain-attestation,add-composed-view-authoring); 0 undispositioned failures, no new oneDO NOT MERGE without Brett's word on this PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv