Repository navigation
Restore add-credential-escrow-checkout's origin declaration to its ratifying bytes (#709) - #713
Conversation
…tifying bytes `release-realization` § "Origin retention at archive": an origin declaration is fixed at ratification. Commit `f5e53364` (2026-08-28) wrote a SECOND approval act — the four-question multi-choice over PR #479 that closed the packet's veto window — into `origin.reason` and `origin.approved_by` of a packet ratified that morning at `0e2de331`. The landed gate reads it as a refusal: origin retention: add-credential-escrow-checkout: the origin declaration differs from the one this change was ratified over (ratifying commit 0e2de33) changed keys: approved_by, reason `f5e53364` is the ONLY post-ratification commit that changed this file's bytes; the ten other commits git lists for the path are merges that carry it unchanged from at least one parent. The `origin:` mapping is now byte-identical to `0e2de331`'s and the gate prints ORIGIN RETAINED. The text is not dropped: it moves verbatim, with its date, its author and the commit it came from, to the new dated record `review/approval-act-2026-08-28.md` (Status: record, Kind: report), pointed at from tasks.md § 2.7. The act was already recorded at `proposal.md:5` and in tasks.md's header besides, so no unique copy of it existed in the declaration. The `related:` first-entry comment, also touched by `f5e53364`, is KEPT: it lies outside the `origin:` mapping the retention rule governs, and it is now true — reverting it would reassign this packet's own escrow relationship block and escrow-entry record kind back to a successor that no longer carries them. Disposition — restoring a post-ratification origin mutation is a contested-class act and the gate has no bypass flag: Brett Heap, 2026-09-05, "restore all four, land them when green" (#709). 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 precisely restore the ratified origin: bytes while preserving the displaced prose in a dedicated record, aligning with the stated origin-retention requirement and PR description.
Pull request overview
This PR restores the add-credential-escrow-checkout packet’s .openspec.yaml origin: mapping to the exact bytes present at its ratifying commit, so the archive origin-retention gate will treat the declaration as retained. The post-ratification “second approval act” prose that had been written into the origin declaration is preserved by moving it into a dedicated review/ record and is cross-referenced from tasks.md.
Changes:
- Reverts the post-ratification edits inside
.openspec.yaml’sorigin.reasonandorigin.approved_byback to the ratified wording. - Adds a new
Status: recordreview document that captures the moved approval-act text verbatim (with provenance and rationale). - Adds a completed tasks entry pointing readers to the new record and documenting the #709 disposition.
File summaries
| File | Description |
|---|---|
| openspec/changes/add-credential-escrow-checkout/.openspec.yaml | Restores the origin: mapping to the ratifying bytes by removing the post-ratification additions/retensing. |
| openspec/changes/add-credential-escrow-checkout/review/approval-act-2026-08-28.md | New record capturing the “second approval act” text that had been inserted into the origin block, including provenance and explanation. |
| openspec/changes/add-credential-escrow-checkout/tasks.md | Adds a completed task entry linking to the new record and noting the restoration/disposition. |
Review details
- Files reviewed: 3/3 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) FROZEN at
Bot bench. Copilot: "🟢 Approval recommended … precisely restore the ratified
🤖 Generated with Claude Code |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
- The mutating commit's origin.reason insertions measure 20 and 4 lines (24 total), not a combined 31; 31 is the net growth of the whole origin: block (33 added, 2 removed via git diff -U0 03244fa f5e5336 -- .../.openspec.yaml), which also covers the 2-into-9 approved_by rewrite. - tasks.md § 1.5 and § 1.7 do not name the veto or OD-2 (grep -n 'veto|OD-2' tasks.md); the act is recorded at the tasks.md header plus §§ 1.1, 2.5 and 3.1, not §§ 1.1, 1.5, 1.7, 2.5, 3.1. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
There was a problem hiding this comment.
🟢 Approval recommended
The changes are narrowly scoped to restoring ratified origin bytes and preserving the displaced provenance text in an appropriate record file, with only minor documentation clarity feedback.
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Lite
| lines into 9. Net growth of the whole `origin:` block is 31 lines (33 | ||
| added, 2 removed) — `git diff -U0 03244fad f5e53364 -- | ||
| openspec/changes/add-credential-escrow-checkout/.openspec.yaml`. |
|
LANDING — lane openxfactory-1 (openXfactory-1), session 5e783e4d, 2026-09-06T02:21:04Z, PR #713 into opensoft/openxFactory main (protocol Rule 6). |
|
Lane: openxfactory-1 (openXfactory-1; session 5e783e4d) Provenance for the admin merge of #713 (restore 🤖 Generated with Claude Code |
Lane: openxfactory-1 (openXfactory-1)
Refs #709 — packet 1 of the four.
openspec/specs/release-realization/spec.md§ "Origin retention at archive": "Mutation of an origin declaration after ratification SHALL be rejected at the archive gate."The ratifying commit, verified rather than taken from the issue
Resolved exactly as
main's gate does —scripts/proposal-support.pyratifying_commit(), the first commit whoseopenspec/changes/add-credential-escrow-checkout/proposal.mdcarriesStatus: ratified:0e2de331— "A ratified boundary left three blanks; the checkout packet fills them", 2026-08-28. The issue's reported commit, confirmed.Every post-ratification commit that touched the origin block: exactly one
git log --full-history --topo-orderlists eleven commits on.openspec.yamlafter0e2de331, so each was measured against every parent. Ten are merges that carry the file unchanged from at least one parent (git diff --numstat <parent> <commit> -- <file>empty). One changed bytes:f5e53364+34 −3— a SECOND approval act written intoorigin.reason(two insertions, 20 and 4 lines — 24 total) andorigin.approved_by(2 lines rewritten into 9); net growth of the origin block is 31 lines (33 added, 2 removed), plus one line outside the origin blockgit diff f5e53364 HEAD -- <file>is empty:f5e53364's tree ismain's tree for this file. The issue's reported mutating commit is the complete set.The mutating hunks
This PR's
.openspec.yamlhunk is exactly the inverse of those three.The gate, before and after
Before (
origin/main,c556bfcb),origin_retention_errors(root, packet):After (this branch):
Proof the declaration is the ratified bytes
One line, and it is OUTSIDE the origin block — deliberately kept.
related:is not part of theorigin:mapping; the retention rule governs the declaration and the gate compares the origin mapping, which is byte-identical (origin block lines identical: True). The kept line is a live cross-reference that is now TRUE and would be FALSE if reverted: the OD-2 veto moved the escrow relationship block and the escrow-entry record kind INTO this packet, and this packet's ownspecs/credential-contracts/spec.mdcarries both. Reverting it would write a falsehood into the packet in the name of restoring a declaration it is not part of. It is the only key outside the origin block thatf5e53364touched.Where the text went
review/approval-act-2026-08-28.md(new;Status: record,Kind: report, the header shape its sibling records use). It carries all three added blocks verbatim, each labelled with where in the declaration it sat and with the commitf5e53364it came from; it names WHO gave the act (Brett Heap, by four multi-choice selections over PR #479) and WHEN (2026-08-28, later the same day as the first act); it quotes both wordings of the two-line sentencef5e53364re-tensed, so neither version is lost; it states whyrelated:was kept; and it records the disposition. A one-line pointer is added attasks.md§ 2.7.Nothing here was the only copy. The same act is already recorded at
proposal.md:5("A SECOND ACT LATER THE SAME DAY CLOSED THE VETO WINDOW AND CHANGED THIS PACKET'S SHAPE."), inproposal.md§ Orchestrator decisions, and intasks.md's header and §§ 1.1, 1.5, 1.7, 2.5, 3.1. No ratified or record file is edited by this PR.Disposition
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 — "restore all four, land them when green" (#709), given over the four packets #695's active-corpus sweep read as REFUSED.
Checks run locally
origin_retention_errorson this packet[]python3 scripts/doc-health.py --single-repo .origin/maincontrol run after normalizing the checkout directory name — 8 critical / 8 error / 44 warning / 13 info on both, 0 new regressions. The new record adds no finding.python3 scripts/validate-sequenced-after.py .sequenced_after validation passed (35 active changes, 1 declaring the field)python3 scripts/validate-sequenced-after.py . --ledger-difforigin/maincontrol run — 175 rows, no row moves, state/class unchangedOPENSPEC_TELEMETRY=0 openspec validate add-credential-escrow-checkout --strictChange 'add-credential-escrow-checkout' is validpython3 scripts/validate-openspec-cli-pin.py --all --no-cacheTotals: 93 passed, 2 failed (95 items), 0 UNDISPOSITIONED failures; the two are the pre-existing accepted exceptions (add-chain-attestation,add-composed-view-authoring), identical line-for-line to theorigin/maincontrol run🤖 Generated with Claude Code
https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv