Skip to content

Restore retire-hermes-flat-keys-and-openworkflow-tokens's origin declaration to its ratifying bytes (#709) - #711

Merged
brettheap merged 1 commit into
mainfrom
fix/restore-origin-retire-hermes-flat-keys-and-openworkflow-tokens
Sep 6, 2026
Merged

brettheap merged 1 commit into
mainfrom
fix/restore-origin-retire-hermes-flat-keys-and-openworkflow-tokens

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

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 walks git log --full-history --topo-order --reverse -- openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md oldest-first and returns the first blob whose own (fence-aware) header declares Status: ratified. It returns 59eb913e69cb…, matching the commit issue #709 reports.

Every post-ratification commit that touched .openspec.yaml — there is exactly one

git log -p --full-history 59eb913e..HEAD -- openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml lists two commits and only one carries a diff:

Commit What it did to the file
a951be76 (PR #562, 2026-09-01) — "Realize retire-hermes-flat-keys-and-openworkflow-tokens (§§ 2, 3, 6)…" THE MUTATION. Appended 12 lines inside origin.reason.
6859732f (merge of origin/main into change/add-cpc-clearing-boundary) NO-OP on this file — diff <(git show 6859732f:…) <(git show a951be76:…) is empty. Listed only because --full-history does not simplify merges away.

The mutating hunk, verbatim:

@@ -50,6 +50,18 @@ origin:
     and a pass still owed and unblocked — and `main` carries an inherited
     `pytest-suite` red from PR #510's carriage-ledger subject, which this
     packet neither causes nor fixes.
+
+    REALIZATION NOTE, added 2026-09-01 after the fact and scoped so the
+    paragraph above stays readable as what it is — a description of the
+    RATIFYING ACT, every clause of which remains true of that act. The later
+    commission it named has since been carried out, in a SEPARATE pull request
+    from an independent clone: `tasks.md` §§ 2 (the validator retirements and
+    their coverage), 3 (the policy rows, both Executed and the restated In
+    Force entry) and 6.1 (the D4 issue, filed as openxFactory #561) are
+    PERFORMED and ticked with their evidence. §§ 4 and 5 — the `contract-v3.0`
+    cut and its post-cut verification — and § 7's archive gate are UNTOUCHED
+    and open, so the change stays ACTIVE. The realization spends no bundle
+    number, publishes no tag and moves no CHANGELOG row.
   approved_by: >-

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.yaml is that hunk and nothing else, so there was nothing outside origin: to keep, and nothing outside it was touched.

The gate, before and after

Before (on main's tree), proposal_support.origin_retention_errors:

origin retention: retire-hermes-flat-keys-and-openworkflow-tokens: the origin declaration differs from the one this change was ratified over (ratifying commit 59eb913e69cb)
  changed keys: reason
--- 59eb913e69cb:openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml
+++ openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml
@@ -50,2 +50,14 @@
     packet neither causes nor fixes.
+
+    REALIZATION NOTE, added 2026-09-01 after the fact and scoped so the
…
restoring or accepting a post-ratification origin mutation is a contested-class act requiring an explicit disposition (`release-realization` § "Origin retention at archive"); this gate has no bypass flag

After (this branch):

ORIGIN RETAINED retire-hermes-flat-keys-and-openworkflow-tokens (declaration unchanged since the ratifying commit 59eb913e69cb)
errors: []

Byte-for-byte proof, run on this branch:

$ diff <(git show 59eb913e69cbfdd821226d7e3ee80d60774554e0:openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml) \
       openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml
(empty)

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, dated 2026-09-05, attributed to a951be76 (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: record file 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

Check Result
proposal_support.origin_retention_errors for this packet ORIGIN RETAINED …, errors: []
diff <ratifying blob> <worktree blob> EMPTY
relocated quote vs removed hunk, line-for-line VERBATIM MATCH: True (11/11)
python3 scripts/doc-health.py --single-repo . exit 0; output byte-identical to the pre-change baseline on the same tree — no new finding
python3 scripts/validate-sequenced-after.py . exit 0 — "sequenced_after validation passed (35 active changes, 1 declaring the field)"
python3 scripts/validate-sequenced-after.py . --ledger-diff exit 0 — output identical before and after the change: no row moves, state and class unchanged, "per-change sweep ledger consistent with the corpus (175 rows)"
OPENSPEC_TELEMETRY=0 openspec validate retire-hermes-flat-keys-and-openworkflow-tokens --strict "Change 'retire-hermes-flat-keys-and-openworkflow-tokens' is valid"
python3 scripts/validate-openspec-cli-pin.py --all --no-cache exit 0 — 93 passed, 2 failed, both pre-existing dispositioned (add-chain-attestation, add-composed-view-authoring); 0 undispositioned failures, no new one

DO NOT MERGE without Brett's word on this PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv

…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
Copilot AI lite review requested due to automatic review settings September 6, 2026 00:59

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.reason in .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.

@brettheap

Copy link
Copy Markdown
Contributor Author

LANDING — lane openxfactory-1 (openXfactory-1), session 5e783e4d, 2026-09-06T01:49:16Z, PR #711 into opensoft/openxFactory main (protocol Rule 6).

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1; session 5e783e4d)

Provenance for the admin merge of #711 (restore retire-hermes-flat-keys-and-openworkflow-tokens's origin declaration to its ratifying bytes; issue #709). Word: Brett Heap, 2026-09-05 — "restore all four, land them when green" — recorded here as the explicit disposition per release-realization spec.md:279. Ratifying commit 59eb913 resolved independently by the verifier; mutating commit(s) a951be7 (PR #562 realization note); the later text preserved verbatim in the packet's tasks/design realization note. Landed gate: REFUSED on main before, ORIGIN RETAINED on this tree. Head ae026a3d, FROZEN; nine checks SUCCESS; adversarial verification: no P1, no P2. Self-authored PR → admin merge (standing pattern B2); Codex absent.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv

@brettheap
brettheap merged commit 1031015 into main Sep 6, 2026
10 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane openxfactory-1 (openXfactory-1), 2026-09-06T01:49:30Z, PR #711 → merge 1031015b. Rule 6 window closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants