Repository navigation
Restore add-trust-anchor's origin declaration to its ratifying bytes (#709) - #712
Conversation
…709) `release-realization` § "Origin retention at archive": "Mutation of an origin declaration after ratification SHALL be rejected at the archive gate." The install-repo rename sweep `e11a057b` (PR #242) rewrote the `origin.reason` prose of this already-ratified packet -- one line, `xFactory-OpenXPKI-Install` -> `OpenXPKI-Install` -- and the landed gate from #695 refuses the packet for it (changed keys: reason). The ratifying commit resolves as `1570ff7e` (the first commit whose openspec/changes/add-trust-anchor/proposal.md declares `Status: ratified`, walked topologically). `e11a057b` is the ONLY post- ratification commit that mutated the block: the later merge `84945359` carried the same blob in from its second parent and introduced no change of its own. No key outside `origin:` moved after ratification, so restoring the origin block restores the whole file: diff <(git show 1570ff7:openspec/changes/add-trust-anchor/.openspec.yaml) \ openspec/changes/add-trust-anchor/.openspec.yaml is empty, and the blob is 84732a4 on both sides. The rename itself stands and is not dropped. Brett Heap's 2026-08-21 ruling (the install repositories are Opensoft-level: `OpenXPKI-Install` and `Keycloak-Install`, unprefixed on the CloudPC-Install precedent) is already applied throughout the packet's proposal, design, specs and tasks, and this commit leaves every one of those sites alone. What moves is only the origin block's copy of it: design.md gains a dated "Post-ratification record" section that quotes `e11a057b`'s hunk verbatim, names the commit and PR it came from, and says how to read the ratified spelling -- so the origin block keeps the ratified names by rule while the current names stay legible from the packet. Disposition for this contested-class act: Brett Heap, 2026-09-05 -- "restore all four, land them when green" (issue #709). Checks: origin-retention gate now prints ORIGIN RETAINED add-trust-anchor; doc-health --single-repo byte-identical to the control run on the same tree without these two edits; validate-sequenced-after and --ledger-diff identical (no row moves, state/class unchanged); openspec validate add-trust-anchor --strict valid; validate-openspec-cli-pin --all --no-cache exit 0 with the same two pre-existing dispositioned findings and no new undispositioned failure. 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 narrowly scoped, consistent with the stated origin-retention rule and disposition, and do not introduce functional or schema-breaking edits.
Pull request overview
This PR restores the ratified origin.reason bytes for the add-trust-anchor packet to satisfy the origin-retention archive gate added in #695, while preserving the later install-repo rename context as an explicit post-ratification note.
Changes:
- Reverted the
origin.reasonline inopenspec/changes/add-trust-anchor/.openspec.yamlback to the ratified spelling (xFactory-OpenXPKI-Install). - Added a “Post-ratification record” section to
design.mddocumenting why the ratified spelling is intentionally retained and where the current naming is recorded.
File summaries
| File | Description |
|---|---|
| openspec/changes/add-trust-anchor/.openspec.yaml | Restores the ratified origin declaration text to comply with origin-retention validation. |
| openspec/changes/add-trust-anchor/design.md | Adds a post-ratification note documenting the contested-class restoration and preserving the rename rationale. |
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:48:49Z, PR #712 into opensoft/openxFactory main (protocol Rule 6). |
|
Lane: openxfactory-1 (openXfactory-1; session 5e783e4d) Provenance for the admin merge of #712 (restore 🤖 Generated with Claude Code |
|
LANDED — lane openxfactory-1 (openXfactory-1), 2026-09-06T01:49:01Z, PR #712 → merge |
Lane: openxfactory-1 (openXfactory-1)
Refs #709 — one of the four restorations Brett ruled on 2026-09-05. This PR carries
add-trust-anchoronly.The rule, and the refusal
openspec/specs/release-realization/spec.md:258-279— Origin retention at archive: "Mutation of an origin declaration after ratification SHALL be rejected at the archive gate." The gate that enforces it landed in #695 (proposal-support.origin_retention_errors), and onorigin/mainit refuses this packet:The ratifying commit, verified rather than taken on report
Resolved exactly as the gate resolves it — the first commit whose
openspec/changes/add-trust-anchor/proposal.mddeclaresStatus: ratified, over a--full-history --topo-order --reversewalk of that one path:Matches the reported
1570ff7e.Every post-ratification commit that touched the file — there is exactly one mutator
84945359is a merge that mutated nothing: the file is absent from its first parent3d52deb6and present at blob282fda21in its second parentc8a82659, and the merge result is that same282fda21— the merge carriede11a057b's bytes across, it did not author any. Soe11a057b(PR #242, the install-repo rename sweep) is the sole mutating commit, and its whole hunk in this file is:No key outside the
origin:mapping changed after ratification — the full-file diff against the ratifying blob was that one line and nothing else — so there was nothing legitimate to keep out of the restoration, and restoring the origin block restores the whole file.Proof: byte-for-byte the ratified declaration
Empty. By blob identity:
The packet's diff is exactly the inverse of
e11a057b's hunk.Where the later text went — nothing is dropped
The rename is right and it stands. Brett's 2026-08-21 ruling (the broker and CA install repositories are Opensoft-level operator infrastructure, renamed unprefixed on the CloudPC-Install / Omnigent-Install precedent) is already applied throughout this packet —
proposal.mdfront-matter, its § What Changes, its closingAmendment (Brett Heap, 2026-08-21)paragraph,design.mdD7 and D8, therepo-boundary-governancedelta, andtasks.md2.1 / 6.2 / 7.2 / 7.5 — and this PR touches none of those sites. Only the origin block's copy of the name is reverted, because that block is fixed at ratification.So the current name is recorded where a packet records things that happened after it was ratified: a dated note appended to
openspec/changes/add-trust-anchor/design.md,## Post-ratification record→### 2026-09-05 — the install-repo rename sweep, moved out of the origin block (#709). It quotese11a057b's hunk verbatim, names the commit and the PR it came from, states that the rename stands and that the aggregation path (installs/openxpki-install) and successor change id (implement-openxpki-install-repo) never moved, and tells a reader how to read the ratified spelling:No
Status:record file is added and no record file is edited.The gate, after
The support manifest is unaffected and still agrees with the ratified declaration (
kind: staged, idopenxFactory:staging:pki-trust-anchor-plane, pathideation/staging/pki-trust-anchor-plane) — the gate's second-copy arm passes with it.Disposition
Restoring a post-ratification origin mutation is a contested-class act requiring an explicit disposition. The disposition is Brett Heap, 2026-09-05 — "restore all four, land them when green", recorded on issue #709 and repeated in the commit message and in the design.md note.
Checks run locally
proposal-support.origin_retention_errors)ORIGIN RETAINED add-trust-anchor,ERRORS: [](was: the refusal quoted above)python3 scripts/doc-health.py --single-repo .diffempty) — the new note adds no findingpython3 scripts/validate-sequenced-after.py .sequenced_after validation passed (35 active changes, 1 declaring the field)python3 scripts/validate-sequenced-after.py . --ledger-diffper-change sweep ledger consistent with the corpus (175 rows); output byte-identical to the control run — no row moves, state/class unchangedOPENSPEC_TELEMETRY=0 openspec validate add-trust-anchor --strictChange 'add-trust-anchor' is validpython3 scripts/validate-openspec-cli-pin.py --all --no-cache@fission-ai/[email protected]verified against its content address,93 passed, 2 failed (95 items), both failures the pre-existingMerged intodispositions (add-chain-attestation,add-composed-view-authoring) accepted by Brett 2026-09-05 "take exit 2"; 0 undispositioned failures, none new🤖 Generated with Claude Code
https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv