Skip to content

Realize add-chain-attestation: cut contract-v2.6 (what actually ran, said by the chain itself) - #565

Merged
brettheap merged 2 commits into
mainfrom
cut/contract-v2.6
Sep 2, 2026
Merged

brettheap merged 2 commits into
mainfrom
cut/contract-v2.6

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Task 5.9's cut half, on Brett's word of 2026-09-01 ("merge #556, then the cut"), following tranche one's #533 shape exactly.

After merge: annotated tag contract-v2.6 on the squash, verify-commit + verify-tag from an independent clone (evidence posted here), then the §5.8 canary pair.

🤖 Generated with Claude Code

…said by the chain itself)

Task 5.9's cut half — the registration half rode in the realization (#556,
squash 518c670) because the family's required manifest-row digest test refuses
a moved schema whose row did not move in the same commit; the NUMBER stayed out
of every contract byte until this cut.

THE NUMBER, FRESH-COUNTED AT THE CUT: manifest.yaml:3 declared contract-v2.5,
contracts/releases/ held inventories through v2.5, git ls-remote published tags
through contract-v2.5, the CHANGELOG headed at v2.5, and
grep of the v2.5 inventory returns zero tranche-two rows. The contract-v3.0 of
the #551/#552 ratifications is proposal-only retirement targeting a future
major and reserves nothing. Next additive number: contract-v2.6.

ADDITIVE (minor), MEASURED: git diff --name-status contract-v2.5 518c670 --
contracts/ reports 88 additions and 9 modifications — four editorial
registration surfaces, one packaged example moved by the already-landed #550,
and the four additive schema extensions. No published member removed, renamed
or narrowed; the shipped tranche-one corpus validates green under the extended
schemas in the same required check, and the shipped nine-entry declaration
stays valid (minItems 9, maxItems 18).

The release-boundary enum takes its hand-advance (FEATURE_SUCCESSOR_3 =
contract-v2.6, membership unchanged — stated by hand because the library
cannot tell unchanged from unnoticed), and the contract-v2.6 digest inventory
(283 entries) is built through the bundle realization order. Annotated tag +
verify-commit/verify-tag from an independent clone follow the merge
immediately, so no new untagged-bundle instance opens (#528's failure mode).

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 1, 2026 13:22

@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 ✨

@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.

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.

Pull request overview

This PR performs the contract-v2.6 cut for the already-realized add-chain-attestation tranche-two work, updating the repository’s declared bundle version and release artifacts so the cut is recorded and verifiable.

Changes:

  • Bumps the declared bundle to contract-v2.6 and adds the corresponding contracts/releases/contract-v2.6.digests.yaml inventory.
  • Adds a contract-v2.6 CHANGELOG entry documenting the cut and its measured/additive scope.
  • Advances intent-compliance’s release-boundary test enum to recognize contract-v2.6, and updates the OpenSpec task record / README index entry.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/intent-compliance/test_release_boundary.py Adds contract-v2.6 as a recognized release-state boundary in the intent-compliance transition assertions.
README.md Updates the “Active changes” entry for add-chain-attestation to reflect realization + cut status.
openspec/changes/add-chain-attestation/tasks.md Marks task 5.9 complete and records the cut details.
contracts/releases/contract-v2.6.digests.yaml Adds the v2.6 release digest inventory for the cut bundle.
contracts/manifest.yaml Bumps contract_bundle_version to contract-v2.6.
contracts/CHANGELOG.md Adds the contract-v2.6 release entry describing the cut and its additive scope.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Resolved
Comment thread contracts/CHANGELOG.md Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane takeover. On Brett Heap's in-session ruling of 2026-09-01, this PR is adopted by a new lane: the session that authored and owned it (the chain-realization T2 agent recorded in session-handoff-2026-09-01.md § "CHAIN-REALIZATION LANE") is no longer running, and the clearing-contract session confirmed this PR is not its work, so the PR was left without an owner mid-review. This lane now owns exactly two things and nothing else — (1) the two open Copilot review findings, which are prose only: the README OpenSpec Records tense contradiction at line ~568, and the "Next additive number" wording inside the contract-v2.6 CHANGELOG entry at line ~31; and (2) the post-merge acts this PR body promises: the annotated tag contract-v2.6 on the squash commit, verify-commit + verify-tag from an independent clone with evidence posted here, and then the §5.8 canary pair. The cut's content is left exactly as the original author realized it — no number, digest, schema, measurement, or record in this bundle is touched by this lane, and if a prose fix were to move a pinned digest the inventory would be rebuilt with the canonical tool per the release ritual rather than hand-edited. Merge remains the orchestrator's act on Brett's word; this lane does not merge.

… that moved

Lane takeover on Brett Heap's ruling of 2026-09-01: the session that authored
this cut has ended, so this lane adopts the PR for its two open review findings
and the post-merge acts the body promises. THE CUT'S CONTENT IS UNTOUCHED — no
number, digest, schema, measurement or record of the realization is restated
here; the only digest that moves is the mechanical consequence of a prose edit
to an inventory member, rebuilt by the tool and not by hand.

FINDING 1 (README.md:568) — the OpenSpec Records entry said the change "stays
ACTIVE until merged code, green evidence and the contract cut exist" and then,
in the next sentence, said the code surface IS realized and the bundle IS cut.
The entry now states the archive CONDITION rather than denying its parts: the
change archives only on merged code, green evidence and the contract cut with
its published tag, and stays listed as ACTIVE until all of that is on `main`.
Entry kept listed, meaning kept.

FINDING 2 (contracts/CHANGELOG.md:31) — "Next additive number: contract-v2.6"
read, inside the contract-v2.6 entry, as though it named the version AFTER this
one. It now says plainly that contract-v2.6 IS the number this cut takes, freshly
counted at that tip. The author's measurement facts in the preceding sentence
(manifest read v2.5, inventories through v2.5, tags through v2.5, zero
tranche-two rows in the v2.5 inventory) are unchanged.

RELEASE RITUAL. `contracts/CHANGELOG.md` IS a release-inventory member
(`artifact_id: contracts-changelog.md`), so finding 2's prose moved a pinned
per-file digest; the root `README.md` is NOT a member, so finding 1 moved none.
The inventory was therefore rebuilt with the canonical tool per
`docs/contract-versioning-policy.md` —
`scripts/validate-contract-release.py build --tag contract-v2.6 --output
contracts/releases/contract-v2.6.digests.yaml` — which reproduced 283 entries
and changed EXACTLY ONE LINE, the changelog digest
(96682104… -> 4548a7de…). No digest was hand-edited.
`validate-contract-release.py verify-commit` passes at this commit.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 1, 2026 23:25

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 version bump, changelog entry, boundary test update, and generated release inventory are internally consistent and contain no verified correctness issues in the changed regions.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Both Copilot findings answered at 07986003 — and the one moved digest re-baselined

The cut's content is untouched. No number, digest, schema, measurement or record of the realization was restated. The whole diff is 7 insertions / 3 deletions across 3 files, of which one line is mechanical.

The two findings

# file what it said what it says now
1 README.md:568 the change "stays ACTIVE until merged code, green evidence and the contract cut exist" — immediately before saying the code surface IS realized and the bundle IS cut states the archive CONDITION instead of denying its parts: the change archives only on merged code, green evidence and the contract cut with its published tag — and it stays listed here as ACTIVE until all of that is on main. Entry kept listed, meaning kept.
2 contracts/CHANGELOG.md:31 "Next additive number: contract-v2.6" — inside the v2.6 entry, reading as if it named v2.7 "The next additive number available at that tip was therefore contract-v2.6, and contract-v2.6 IS THE NUMBER THIS CUT TAKES — the number counted here, not one reserved for a later release." The author's measurement facts in the preceding sentence are unchanged.

The release ritual — checked before pushing, not after

contracts/CHANGELOG.md IS a release-inventory member (artifact_id: contracts-changelog.md, entry 1 of contracts/releases/contract-v2.6.digests.yaml), so finding 2's prose moved a pinned per-file digest. The root README.md is NOT a member — the inventory carries contracts/README.md, contracts/hermes-runtime/README.md and contracts/intent-compliance/README.md, and no root README.md — so finding 1 moved none.

The inventory was therefore rebuilt with the canonical tool, never hand-edited, per docs/contract-versioning-policy.md § Release Digest Inventory:

python3 scripts/validate-contract-release.py build --tag contract-v2.6 \
  --output contracts/releases/contract-v2.6.digests.yaml
  → release build: pass   bundle_tag=contract-v2.6   entries=283

It changed exactly one line — 283 entries in, 283 out, membership and order unchanged, every other digest byte-identical:

   path: contracts/CHANGELOG.md
-  digest: sha256:96682104dd9be3eeacf00a7137a2a83c0fcc63c5f93bacea86099204a639745e
+  digest: sha256:4548a7de9c117871790f670fe48721b996123c4eba4443e5092147e287c16fc3

This is the same shape #533 recorded when #532's changelog edit moved a member: rebuild, membership unchanged, only the editorial digests move.

python3 scripts/validate-contract-release.py verify-commit --commit 07986003
  → release verify-commit: pass   inventory=contracts/releases/contract-v2.6.digests.yaml

Local gates, all green at 07986003

gate result
verify-commit --commit HEAD pass, zero findings
tests/hermes_runtime_contracts -k "release or inventory or digest" 131 passed
tests/signed_execution_chain 91 passed
scripts/validate-signed-execution-chain.py 0 errors, 0 warnings — 113 records over 2 corpora, 108 negatives, 95/95 refusal codes red-proven
tests/intent-compliance/test_release_boundary.py + test_manifest_row_digests.py 41 passed
tests/doc-health 1376 passed / 59 passed in test_pin_reachability.py
OPENSPEC_TELEMETRY=0 openspec validate --all --strict 83 passed, 0 failed

CI at 07986003 — three green, one RED on an INHERITED failure

check state
merge-master-approval pass
signed-execution-chain-gate pass (1m9s)
wallet-validation pass
pytest-suite fail — inherited from main, not from this PR

pytest-suite reports 1 failed, 8576 passed, 21 skipped, 338 deselected, 46 subtests passed — the single failure being tests/sequenced_after/test_sweep.py::test_the_live_sweep_reproduces_the_AUTHORING_measurement, AssertionError: assert 18 == 19.

That is main's own state, verified rather than assumed. main's push run 33551160623 reports the identical line — 1 failed, 8576 passed, 21 skipped, 338 deselected, 46 subtests passed, same test, same assertion. The counts match this PR's run exactly, which is what proves this branch adds no failure of its own: a prose diff and a rebuilt digest add no tests and move no assertion. The pin is stale because #563 archived add-release-tag-publication-check, dropping active_co_modified 19 → 18; PR #568 is the sibling fix and is open now.

Nothing else in the run failed.


Post-merge checklist — prepared, NOT run

Merge stays the orchestrator's act on Brett's word. These run immediately after it, so no new untagged-bundle window opens (#528's failure mode).

Environment note, learned the hard way: the release tooling runs git under a sanitized environment (GIT_CONFIG_GLOBAL=/dev/null, GIT_CONFIG_SYSTEM=/dev/null), so the ambient credential helper is unavailable and every ls-remote step dies with fatal: could not read Username for 'https://github.com'. Clone the independent checkout with credentials in the URL.

0. Confirm the squash commit

SQUASH=$(gh pr view 565 --json mergeCommit --jq .mergeCommit.oid)
echo "$SQUASH"

1. Independent clone

cd "$(mktemp -d)"
git clone "https://x-access-token:$(gh auth token)@github.com/opensoft/openxFactory.git" indep
cd indep

2. Pre-tag proof (bundle realization order step 5)

python3 scripts/validate-contract-release.py verify-promotion \
  --commit "$SQUASH" --remote origin --tag contract-v2.6

Expect exit 0, zero findings — no HGR-RELEASE-TAG-EXISTS, no HGR-RELEASE-CANDIDATE-UNREACHABLE, no HGR-RELEASE-SURFACE-DRIFT. git ls-remote origin 'refs/tags/contract-v2.6' is empty as of this writing, so the name is free.

3. Publish the annotated tag on the SQUASH commit (never the branch head)

git tag -a contract-v2.6 "$SQUASH" \
  -m "contract-v2.6 — additive: signed-execution-chain tranche two, what actually ran, said by the chain itself"
git push origin contract-v2.6

Message shape follows v2.5's published tag object verbatim (contract-v2.5 — additive: signed-execution-chain tranche one, where a validated chain is a permission rather than an audit trail). Once pushed the tag is never moved, deleted or re-tagged, not even for a defective release — policy § Immutable Tag Correction, whose reason is the recorded contract-v1.36 breach.

4. Verify from a SECOND, fresh clone (not the one that tagged)

cd "$(mktemp -d)"
git clone "https://x-access-token:$(gh auth token)@github.com/opensoft/openxFactory.git" verify
cd verify
python3 scripts/validate-contract-release.py verify-commit --commit "$SQUASH"
python3 scripts/validate-contract-release.py verify-tag --remote origin --tag contract-v2.6

Both must print pass, exit 0. This exact shape was rehearsed against the already-published contract-v2.5 from a throwaway independent clone — release verify-tag: pass, release verify-commit: pass — so the recipe is known-runnable before the tag exists.

5. Post the evidence here: squash sha, git rev-parse contract-v2.6 (the tag object) and git rev-parse contract-v2.6^{commit}, both verifier outputs verbatim, and the clone they were run from.

6. Then the §5.8 canary pair — the only realization gate this cut does not close, and honestly unticked in tasks.md:

  • canary A — a chain with a dropped runner attestation
  • canary B — a pull request with no signed open decision

Each must FAIL a real pull request under the live required check signed-execution-chain-gate, recording the run id, the check id, the validator's single named refusal, and a live read of org ruleset 21957695 (gh api orgs/opensoft/rulesets/21957695, enforcement: active) taken at the time of the run — a merged workflow file is not evidence, per add-wallet-carried-review-authority task 2.5. Candidate refusal names drawn from the packaged tranche-two negatives, to be confirmed against what the run actually emits rather than assumed: attestation_outside_committed_expectation / gate_walk_incomplete for A, open_decision_enumeration_incomplete for B.

The §5.1–5.3 machinery gates (a PKI plane that has ISSUED, an omnigent layer that has REFUSED; SEC-R18 declared UNMET until then) stay open and are named as such in the README entry — not this lane's to close, and not the author's.

@brettheap

Copy link
Copy Markdown
Contributor Author

Merging on Brett Heap's explicit word, 2026-09-01 in-session ("merge #565 when its lane is ready" → takeover ruled when its owning session was found ended → "merge the pin fix when green, then #565"), admin squash per the provenance pattern. Head 0798600 = the original author's realization + this lane's takeover commit (two Copilot prose findings fixed, both threads resolved; contracts/CHANGELOG.md is a release-inventory member so contract-v2.6.digests.yaml was rebuilt with the canonical tool — one line moved — and verify-commit passes at this head). Pre-merge state: merge-master-approval, wallet-validation, signed-execution-chain-gate GREEN; pytest-suite's single red was proven byte-identical to main's then-standing #567 pin failure, which PR #568 (squash d308c01) has since fixed — main's own re-gate at d308c01 is GREEN on both push checks, and #568's author proved by merge-preview that this branch sweeps identically on the fixed main. Codex provider-refused on this PR (recorded); Copilot's two findings taken. The cut's numbers, digests, schemas and records are the original author's, unchanged. Post-merge acts follow per the checklist in comment 5502142043.

@brettheap
brettheap merged commit bbbbeda into main Sep 2, 2026
4 of 5 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

STOPPED BEFORE THE TAG — verify-promotion is RED at the landed squash. contract-v2.6 was NOT published.

The post-merge checklist was run in order from an independent clone. Step 2 failed, so step 3 was not performed. No tag object exists, no tag was pushed, nothing was written to any repository. git ls-remote origin refs/tags/contract-v2.6 is still empty — the name remains free, and it must stay free until the condition below is repaired.

This is the check doing exactly the job this family exists for. A tag on bbbbeda9 today would be the #528-class defect.

Clone provenance

Fresh git clone of opensoft/openxFactory into a throwaway directory at 2026-09-02T00:17:58Z, token-in-URL per the environment note. It has never seen a working tree, and origin/main cloned to bbbbeda984353ebaeb67d3e2bb1c73fcb7bac140 as its tip.

Step 1 — PASSED

fact result
bbbbeda984353ebaeb67d3e2bb1c73fcb7bac140 on origin/main first-parent yes, and it is the tip
contracts/manifest.yaml at that commit contract_bundle_version: contract-v2.6
git ls-remote origin refs/tags/contract-v2.6 empty — name free
published tags present contract-v1.7 … contract-v2.5, no v2.6

Step 2 — FAILED, five findings, verbatim

$ python3 scripts/validate-contract-release.py verify-promotion \
    --commit bbbbeda984353ebaeb67d3e2bb1c73fcb7bac140 --remote origin --tag contract-v2.6
HGR-RELEASE-DIGEST-MISMATCH error path=contracts/CHANGELOG.md: digest does not match the raw Git blob at the pinned commit
HGR-RELEASE-DIGEST-MISMATCH error path=contracts/manifest.yaml: digest does not match the raw Git blob at the pinned commit
HGR-RELEASE-DIGEST-MISMATCH error path=contracts/schemas/xfactory-workbench-chat-turn.schema.yaml: digest does not match the raw Git blob at the pinned commit
HGR-RELEASE-DIGEST-MISMATCH error path=docs/contract-versioning-policy.md: digest does not match the raw Git blob at the pinned commit
HGR-RELEASE-DIGEST-MISMATCH error path=scripts/validate-ideation-dashboard-contracts.py: digest does not match the raw Git blob at the pinned commit
exit=1

$ python3 scripts/validate-contract-release.py verify-commit \
    --commit bbbbeda984353ebaeb67d3e2bb1c73fcb7bac140
   (the identical five findings)
exit=1

No HGR-RELEASE-TAG-EXISTS, no HGR-RELEASE-CANDIDATE-UNREACHABLE. The tag name is free and the commit is reachable from remote main; the release surface is what moved.

The cause, measured rather than guessed

The inventory is not wrong about the commit it was built at. It is wrong about the commit that landed.

$ python3 scripts/validate-contract-release.py verify-commit --commit 07986003
release verify-commit: pass
  inventory=contracts/releases/contract-v2.6.digests.yaml
exit=0

contracts/releases/contract-v2.6.digests.yaml is byte-identical at 07986003 and at bbbbeda9 — the merge carried it across unchanged. What changed underneath it is main. The branch cut/contract-v2.6 forked at 518c670b (#556) and was never rebased onto the final integration point; a squash merge takes main's tree and applies the PR diff, so bbbbeda9 contains five release-surface members that no longer match the inventory reviewed at 07986003:

path moved by class
contracts/CHANGELOG.md a951be76 (#562) — a 4-line edit at line 932, in the v3.0 entry, replacing a line-number citation with a section citation editorial
contracts/manifest.yaml 6856f502 (#564) — one row's sha256, 2ff5f222… → 350bfedc… editorial
contracts/schemas/xfactory-workbench-chat-turn.schema.yaml 6856f502 (#564) — 176 lines, the v1 chat-turn family leaving normative contract
docs/contract-versioning-policy.md a951be76 (#562) — 172 lines versioning document
scripts/validate-ideation-dashboard-contracts.py 6856f502 (#564) — 49 lines validator

Two of the five fall inside the policy's editorial allowance (§ What a red verify-commit at HEAD means). Three do not — a schema, the versioning policy itself, and a validator. And the allowance does not apply here in any case: "verify-commit at a TAG is a different question and has no such allowance: a published bundle must verify at its own commit exactly."

#562 and #564 both merged at 2026-09-01T19:43Z, four hours BEFORE the candidate 07986003 was committed (23:24:50Z) and verified. The candidate was green against a main that had already moved — Bundle Realization Order step 1 ("Fetch and rebase onto the final integration point") is the step that was missed, and step 4 is the one that names the consequence: "If promotion creates a different commit, that commit becomes the new candidate and every gate and review reruns before tagging." Promotion created a different tree, which is the same failure with a wider blast radius.

Separately worth a look by whoever ruled the merges: #562 and #564 both carry DO NOT MERGE in their own titles and are both merged on main.

No commit on published main can carry the tag today

The established target rule is "the EARLIEST FIRST-PARENT COMMIT on published main that DECLARES the bundle and at which verify-commit PASSES." Exactly one first-parent commit declares contract-v2.6 — bbbbeda9 — and verify-commit fails there. 07986003 is not reachable from origin/main (branch-only), so it is not a legal target either. There is no commit to tag until a completion commit lands. That is the contract-v1.31 / -v1.36 / -v1.37 shape: a release COMPLETED by a later commit, whose tag points at the completion.

The remedy, sized but NOT performed

A canonical rebuild at the landed tip was run read-only in the throwaway clone and committed nowhere, purely to size the repair:

$ python3 scripts/validate-contract-release.py build --tag contract-v2.6 --output /tmp/…
release build: pass   bundle_tag=contract-v2.6   entries=283

283 entries in, 283 out. Membership and order unchanged. Exactly five digest lines move — the same shape #533 recorded when #532's changelog edit moved a member, only with sibling commits rather than an in-PR edit as the cause:

   contracts/CHANGELOG.md
-  digest: sha256:4548a7de9c117871790f670fe48721b996123c4eba4443e5092147e287c16fc3
+  digest: sha256:8c1ab580dc63039ee42fea0da0f6dcf1b7842c5826c233dfb987056fb5da7b20
   contracts/manifest.yaml
-  digest: sha256:f90c8ce4b1dec88d8099aec36555cd34d319df0908a6feb1990efc5f0b35b606
+  digest: sha256:80f4b90b7ddf98b7539f1a576d5da9c9bbf1d4b62911b211e81ebc83a249db04
   contracts/schemas/xfactory-workbench-chat-turn.schema.yaml
-  digest: sha256:2ff5f222af5cdccd545417203898a919be0365cdd0d2d5138e87e23f7ebfe1cf
+  digest: sha256:350bfedc02696e7281a42c0bdc9a25059bf7af14d16d89d9f07018d3e691dc1d
   docs/contract-versioning-policy.md
-  digest: sha256:6712a213e0bc1e0158217a541222d328bfa2e0dfbf4c624b97aea77513d9398e
+  digest: sha256:559d833b1cacbd9631110e53cb89d43f8e12dc4ff05b578f5693104b7892566b
   scripts/validate-ideation-dashboard-contracts.py
-  digest: sha256:38df086068126356fb8ab045fd05f52f9da3ff2c9b0843ddf62ad34f7bba1fa3
+  digest: sha256:332b859c42bcdbc703c876ecfdd00ec97445046aa6df65d866b13ad552e315f9

That rebuild is a repair PR, not an act this lane takes on its own, and it is not a hand-edit: policy § Release Digest Inventory requires the canonical build tool, and § What a red verify-commit at HEAD means forbids editing an inventory so a check passes. What it needs before it can carry a tag is the thing that was skipped the first time — a full gate and review rerun against the new candidate, because the ADDITIVE-and-nothing-narrows claim in the v2.6 CHANGELOG entry was measured against a tree in which #564 had not yet removed the v1 chat-turn schema. Whether that claim still reads true over the landed tree is a judgment for the reviewing session, not a digest to recompute.

Also open, unchanged by any of this: §5.8's canary pair (a dropped runner attestation; a PR with no signed open decision) is still honestly unticked, and this lane did not reach it.

Nothing was written

No tag. No branch. No commit. No push. No repository file touched. The only artifacts are in a throwaway clone that will be deleted, and this comment.

@brettheap

Copy link
Copy Markdown
Contributor Author

BRETT HEAP RULED, 2026-09-02 in-session: contract-v2.6 is SUPERSEDED, NEVER PUBLISHED — the contract-v3.0 cut is the completion.

The post-merge act stopped correctly at verification (comment above): verify-commit at this PR's squash bbbbeda9 fails with five digest mismatches, because cut/contract-v2.6 forked at 518c670b and was never rebased over #562/#564 (merged 19:43Z, four hours before the takeover commit) — Bundle Realization Order step 1 skipped by the original lane, and step 4 ("if promotion creates a different commit… every gate and review reruns before tagging") skipped by the adopting lane, which verified the candidate (07986003 passes) and not the promoted commit. That is the adopting lane's miss and is recorded as such.

But the deeper fact forecloses a completion commit for v2.6 at all: main since 19:43Z REFUSES shapes contract-v2.5 accepted (flat keys, openworkflow tokens, v1 chat-turn — the ruled #522 retirements, realized at #562/#564), which is the Breaking class, while bbbbeda9 declares a MINOR. The policy's class rule rejects old shapes "only at the new major version", and the policy text #562 itself landed reads "REMOVED at contract-v3.0". No commit exists where a contract-v2.6 tag would be both verifiable and policy-conformant, so none will be cut. The tag name stays free and the number is spent, never reused.

Disposition: the contract-v3.0 cut (now drafting on cut/contract-v3.0) re-declares the bundle at the major, carrying this PR's additive chain-attestation content (re-measured over the landed tree) together with the three retirements, records v2.6's declaration-without-publication in the CHANGELOG on the contract-v2.3 disposition precedent, and re-targets add-chain-attestation's cut-dependent boxes (§5 incl. the §5.8 canary pair) from v2.6 to v3.0 with the reason stated. The realized code and records from this PR stand exactly as landed.

brettheap added a commit that referenced this pull request Sep 2, 2026
…and §8 open with the reason

Realizes add-requirement-ref-resolution-integrity's evidence convention: a box
closes on a FACT that survives the session — a path, a count, a command and its
output — never on an intention, and a box that did NOT close stays OPEN WITH THE
MEASUREMENT rather than ticked with an excuse.

TICKED: §3.1-§3.7 (the arm, the two codes, the frozen resolver verified function
by function, the lift's two duties, the silent direction, five mutants with both
halves recorded), §4.1-§4.4 (three probes, the by-name inventory and the derived
count string in one commit: 6 -> 7 positive, 10 -> 12 warning, 8 -> 10 codes
probed), §5.1-§5.3 (the policy entry, the reconciled completeness claims across
three live sites with two deliberately left and the reason for each, the
manifest row with its unchanged digest stated, and §5.3's checked-none-found
sweep recorded site by site), and ALL OF §7.

THE GATES ARE RE-RUN AFTER A CATCH-UP MERGE OF origin/main bbbbeda, against the
tree that would actually merge rather than the one they were first taken on.
§7.2 is `8621 passed, 21 skipped, 338 deselected` — zero failures, and SKIPPED
is EXACTLY the pinned EXPECT_SKIPPED: "21", with the 7070/7090 floors cleared
and neither moved.

§7.2 WAS OPEN AN HOUR AGO AND THE RECORD KEEPS BOTH READINGS. Before the merge
the run was `1 failed, 8620 passed`:
`test_the_live_sweep_reproduces_the_AUTHORING_measurement` failed
`assert 18 == 19` on `active_co_modified`. It was ISOLATED ON BOTH TREES BEFORE
IT WAS ATTRIBUTED — that file alone gave `1 failed, 13 passed` on this branch
AND on the untouched baseline clone, with a byte-identical `Sweep(...)` tuple —
and it was another lane's pull request, openxFactory #568, which has since
landed as d308c01. The diagnosis is kept rather than deleted, because it is the
evidence the failure was never this change's.

§7.5 TICKS WITH ONE NEW FINDING NAMED, NOT WITH ZERO. Same-clock doc-health
against the NEW origin/main baseline: the findings line moves 13 -> 14 info and
nothing else, and set difference over the family's rows isolates exactly one new
row — `severity=info family=release-inventory-drift path=contracts/README.md`,
labelled "editorial member — expected between cuts". §5.1 swept that file
because it repeated a completeness claim this act falsifies; the drift is the
consequence of editing a file the just-landed v2.6 inventory pins, and its OWN
action line says to discharge it by cutting a release and NEVER by hand-editing
an inventory or contract_bundle_version. This slice does neither. The other five
drift rows — including the `error` row on docs/contract-versioning-policy.md,
which this change also edits — are present in the BASELINE report before any
edit of ours, measured by `comm` rather than by eye.

NOT TICKED, EACH WITH THE MEASUREMENT WRITTEN IN:

§6.1-§6.4 — THE CUT IS NOT THIS SLICE, AND THE ROW IS REWRITTEN RATHER THAN LEFT
TO READ AS IT DID BEFORE. When §3 was started, manifest line 3 read
contract-v2.5 and PR #565 was an OPEN contract-v2.6 cut on the same file, which
is why no number was allocated. #565 HAS SINCE LANDED (bbbbeda) and the merge
is clean — it moved line 3, this change moves a consumption_rule a hundred and
ninety lines below it. These two codes are NOT in contract-v2.6, which is a fact
about order rather than a judgement: #565 was cut from a tree that did not
contain them. REGISTRATION RIDES THE NEXT CUT. §6.4 additionally names the one
release-inventory-drift row this slice leaves for that cut, rather than letting
it be discovered.

§8.1-§8.4 — NOT MERGED. §8.3's `grep` is re-verified at this tip (no
`## MODIFIED Requirements` block anywhere in the packet, so no archive-order
hold) but that row asks for the check AT ARCHIVE TIME, and this is not that
moment.

§2.2 and §2.3 are untouched by this commit and stay exactly as the ratification
left them.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2
brettheap added a commit that referenced this pull request Sep 2, 2026
…-requirement-ref-resolution-integrity (#570)

* A reference is resolved on its own binding: two codes of a second family, and three probes

Realizes add-requirement-ref-resolution-integrity §3.2-§3.3 and §4, ratified
2026-09-01 by direct ruling and amended the same day by the same ratifier
(scope: PER-DOCUMENT). The reference resolution was performed in exactly ONE
place — the six-condition lift, reached only for a PAIR of bindings sharing a
`secret_ref` — so a binding declaring a well-formed, grammatical reference to a
requirement that does not exist, and whose secret reference was its own, was
resolved by nobody and reported by nothing. It is reported per-binding now,
whatever the binding shares.

THE SHARED SECRET WAS A PROXY FOR THE RULE AND NOT THE RULE, and this capability
had already ruled on that proxy once: the authority collapse is raised on the
holder/fetch-identity pair independently of `secret_ref`, on exactly this
reasoning. Reporting a dangling reference only where an EXEMPTION was being
asked for reported the defect precisely where a reader was already being
refused, and stayed silent everywhere it merely sat.

TWO CODES, OF A SECOND FAMILY, NAMED APART. `requirement-ref-unresolved` and
`requirement-ref-ambiguous` join `DEPRECATION_CODES` (8 -> 10). They are not a
ninth `consumer-*` code because those eight are enumerated against refusals of
SHAPE — missing, incomplete, closed-and-violated, ungrammatical, token declared
false — and a reference that resolves to nothing is none of those: it is
well-formed, inside the declared member set, grammatical in both members, and
WRONG ABOUT THE WORLD. Filing it under a grammar code would make that code
untrue in the other direction. The enumeration rule is satisfied by DECLARING
THE ACT AT THE MAJOR rather than by exempting these two from it. And they are
named apart from each other because their remedies live in different files: a
reference resolving to NOTHING is repaired AT THE REFERENCE, one resolving to
SEVERAL in THE REQUIREMENTS DOCUMENT IT NAMES — and the second is the more
dangerous, the matches being free to differ in `access_mode`.

`resolve_requirement` IS CALLED AND NOT WIDENED — byte-identical, verified
function by function, along with `requirements_index`, `_lift_refusal_detail`,
`_lift_refusal`, `_binding_findings`, `_consumer_block_warnings` and
`_semantic_findings`. The arm adds no read, no path and no input; it reports a
resolution the validator already performed and discarded. So the ambiguity it
names is PER-DOCUMENT, which is the ambiguity that resolver can see, and the
CROSS-DOCUMENT arm is deliberately out of scope and filed as openxFactory issue
#553 — cited in the finding itself, where the reader who hits the boundary is
standing.

ONE FAULT KEEPS ONE FINDING. `malformed` and `ungrammatical` are the two
statuses the grammar arms already report, and an ungrammatical `requirement_id`
is reported by the same arm, so all three are skipped here rather than named
twice. `index` defaults to None and skips the pass alone: an empty index would
report `not-found` for every declared reference in a repository the caller never
scanned, which is a finding about the caller.

THREE PROBES, AND ONE OF THEM PROVES THE SILENCE. Both warning fixtures share
their secret with NOBODY, because a probe that shared one would pass against the
shipped validator too and evidence nothing; the ambiguity probe re-uses the
shipped `support/ambiguous-requirement-ids.requirements.yaml`, whose header now
names BOTH probes depending on its duplication so a later edit cannot silently
defang two at once. The positive is its own file so a regression in the silent
direction names itself — a corpus holding only the failing direction cannot tell
a working check from one that fires on everything. All three join the by-name
inventory in the SAME COMMIT, which is the condition under which deriving the
count string is safe rather than fail-open: 6 -> 7 positive, 10 -> 12 warning,
16 negative unmoved, 8 -> 10 codes probed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2

* The reproduction becomes a test, and five mutants say the arm is load-bearing

Realizes add-requirement-ref-resolution-integrity §3.5-§3.7. Forty-one tests in
`tests/credential_contracts/test_requirement_ref_resolution.py`.

THE PACKET'S OWN REPRODUCTION IS THE FIRST TEST IN THE FILE. The defect was
measured as a tree that PASSED with zero warnings and zero errors while carrying
two defective references, and where making the two `secret_ref`s equal — ONE
BYTE, and no other edit to any file — was enough to make the same tree speak. A
reproduction that lives only in a proposal is a reproduction nobody re-runs, so
both files are carried verbatim and driven through the real validator as a
subprocess. `test_the_control_is_ONE_BYTE_and_the_templates_are_the_SAME_LENGTH`
asserts the spacing itself: same length, and exactly one differing offset (980).
That assertion exists because the packet's §6 files name BOTH secret spellings
in their comment header, so a global substitution produces a TWO-byte control
and a reader rerunning it would measure something the text does not describe —
the same class of drift the packet already repaired once when `-one`/`-two` was
called a one-byte edit.

THE SHARING PAIR KEEPS BOTH DUTIES, asserted on ONE record: exactly one semantic
finding and it is `shared-secret-identity` naming the condition that stood, AND
exactly one deprecation code and it is `requirement-ref-unresolved`. Neither
replaced the other, and they are not one fault named twice — they answer
different questions, and a reader repairing the reference discharges only the
first. Its control is built with it, because a refusal test that never had a
lift to lose proves nothing: a conforming pair still lifts, and moving ONE
`requirement_id` moves both verdicts at once.

THE SILENT DIRECTION IS FOUR NAMED TESTS, not an afterthought — a resolving
reference, a binding declaring none, a stub, and the same defective binding
driven alone and beside a conformant one to prove the report depends on no other
binding in the document. Five grammar-fault shapes assert one fault keeps one
finding.

THE PER-DOCUMENT BOUNDARY IS PINNED BY A TEST rather than left implicit:
`test_the_same_id_in_ANOTHER_document_draws_nothing_at_this_minor` declares one
id in TWO schema-valid documents and asserts the arm stays SILENT, so the
successor that broadens the lookup (openxFactory issue #553) can see exactly
which assertion it is changing.

FIVE MUTANTS, EACH WITH BOTH HALVES RECORDED. §3.7's four — drop the per-binding
call, merge the two codes, report on an undeclared member, scope the arm back to
`by_secret` — plus `report-the-wrong-status`, which was AD-1's item 9 and is
carried though that branch was declined: it costs nothing and it proves the two
codes are ROUTED differently rather than merely spelled differently. Each
records the ANCHOR as well as the death, on the sibling module's rule that a
named test failing for want of a fixture is ANCHOR-MISSING and not a kill. The
merge mutant is driven on a document carrying ONE OF EACH fault, because with a
single defective binding a merged code is indistinguishable from a correctly
split one and the mutant would have died for the wrong reason.

No test in the file skips.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2

* A ninth act lands at contract-v3.0, and every live entry that claims to name every one is reconciled

Realizes add-requirement-ref-resolution-integrity §5. The deprecation is
declared where a consumer upgrading across it will read it, and the entries
beside it that assert completeness are made true rather than left to contradict
it.

THE NEW ENTRY, in `docs/contract-versioning-policy.md` § Deprecations Currently
In Force: the act, its two codes in a table written from the REFUSAL LIST, a
migration path PER CODE — repair the REFERENCE for `requirement-ref-unresolved`,
repair THE REQUIREMENTS DOCUMENT THE REFERENCE NAMES for
`requirement-ref-ambiguous` — the per-binding scope, the sharing pair's two
duties, the PER-DOCUMENT boundary with openxFactory issue #553 named, the
measurement that nothing narrows at this minor, and the removal target
contract-v3.0. The same major the consumer block's seven acts land at, so a
consumer serves ONE deprecation window rather than two.

THE SIBLING ENTRY IS RECONCILED, NOT DUPLICATED. Its paragraph claiming to name
EVERY act landing at that major now carries a RECONCILED, NOT RESTATED paragraph
naming the ninth act and pointing at the entry that declares it — the delta's own
condition, which an entry satisfies by carrying the new act OR naming the entry
that does. An entry asserting a completeness it does not have is worse than one
asserting nothing, because a reader at the major uses it to demonstrate the
deprecation precondition was met and cannot tell an act that served its window
from one that never had an entry.

THE SWEEP IS RECORDED IN BOTH DIRECTIONS, on the rule that an edit changing what
a packet asserts about itself owes a sweep of every site asserting the same
thing. `grep -rniE 'EIGHT warning|eight .consumer-|seven acts'` finds FIVE live
sites. RECONCILED: the policy entry; `contracts/manifest.yaml`'s
`credential-contracts` row, which repeated the same sentence; and
`contracts/README.md`'s schema-registry table, which repeated it a third time
and points readers AT the policy section — a live registry doc, not
digest-pinned, so it is swept here and its change list gains this change.
DELIBERATELY LEFT, EACH WITH ITS REASON: the schema's own `description`
(`contracts/schemas/xfactory-credential-contracts.schema.yaml:205`), because
editing it moves the SCHEMA BYTES and therefore the manifest digest this change
pins as unmoved, and because the schema is declared out of this packet's
surface — the sentence is scoped by its own paragraph to the seven block
narrowings and claims nothing about codes a later minor adds; and
`contracts/CHANGELOG.md`'s contract-v2.4 entry, which is a RECORD of what that
release shipped and was TRUE at it, where a retroactive edit would falsify the
record and where tasks §6.3 gives the CHANGELOG to the cut, which adds its OWN
entry rather than rewriting an old one.

THE `Warned since` VERSION IS DELIBERATELY UNWRITTEN, and the entry says so
rather than leaving the omission to look like an oversight. The bundle number is
allocated by MERGE ORDER at the cut; `contracts/manifest.yaml:3` reads
contract-v2.5 at this tip and PR #565 is an open contract-v2.6 cut on the same
file, so a number written here is a number another packet is already spending.
An entry naming a warning release that was never cut would be the same defect as
an entry claiming a completeness it does not have. THIS COMMIT PERFORMS NO CUT:
`contract_bundle_version` is unmoved and `contracts/CHANGELOG.md` is untouched.

AND THE UNCHANGED DIGEST IS STATED RATHER THAN INFERRED: the manifest row's
`sha256` is the SCHEMA FILE's and does not move, because resolution is not a
shape JSON Schema can check — it is a lookup INTO ANOTHER DOCUMENT — and the
schema is not edited. Verified: `python3 scripts/validate-manifest-digests.py`
reports 163 per-file digests verifying.

§5.3 is CHECKED, NONE FOUND: `docs/credential-access-model.md` carries three
sites that could have described the reference as resolved-only-in-a-pair — `:180`
and `:231`, both about the SECRET rather than the requirement reference, and
`:246-250`, the only paragraph mentioning `requirement_ref`, which describes the
sharing case without claiming resolution happens only there. Those are every
occurrence of `resolv` and of `requirement_ref` in the file. No edit made, and
none invented: that row authorizes a repair if a wrong sentence exists, which is
a different act from adding a right one.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2

* Tick §3, §4, §5 and five of §7 with the measurements inline; leave §6, §7.2 and §8 open with the reason

Realizes add-requirement-ref-resolution-integrity's evidence convention: a box
closes on a FACT that survives the session — a path, a count, a command and its
output — never on an intention, and a box that did NOT close stays OPEN WITH THE
MEASUREMENT rather than ticked with an excuse.

TICKED: §3.1-§3.7 (the arm, the two codes, the frozen resolver verified function
by function, the lift's two duties, the silent direction, five mutants with both
halves recorded), §4.1-§4.4 (three probes, the by-name inventory and the derived
count string in one commit: 6 -> 7 positive, 10 -> 12 warning, 8 -> 10 codes
probed), §5.1-§5.3 (the policy entry, the reconciled completeness claims, the
manifest row with its unchanged digest stated, and §5.3's checked-none-found
sweep recorded site by site), and §7.1 / §7.3 / §7.4 / §7.5 / §7.6.

NOT TICKED, EACH WITH THE MEASUREMENT WRITTEN IN:

§6.1-§6.4 — THE CUT IS NOT THIS SLICE. `contracts/manifest.yaml:3` still reads
contract-v2.5, unmoved from origin/main, and `contracts/CHANGELOG.md` is
untouched. Another lane's contract-v2.6 cut is in flight (PR #565) on the same
file, and allocating a second number against it here is exactly the collision
§6.1 was written to prevent. Registration rides whichever cut comes next.

§7.2 — ONE FAILURE, AND IT IS NOT THIS CHANGE'S. The box asks for zero failures
and gets one, so it does not tick. The run was
`1 failed, 8620 passed, 21 skipped, 338 deselected` — SKIPPED is EXACTLY the
pinned `EXPECT_SKIPPED: "21"`, and PASSED/SELECTED clear the 7070/7090 floors
with margin; neither pin is moved. The failure is
`test_the_live_sweep_reproduces_the_AUTHORING_measurement` in
`tests/sequenced_after/test_sweep.py`, `assert 18 == 19` on
`active_co_modified`. ISOLATED ON BOTH TREES, which is what makes this a
diagnosis rather than a hope: that file alone gives `1 failed, 13 passed` on
this branch AND on the untouched origin/main baseline clone, and the printed
`Sweep(...)` tuple is byte-identical between them. This realization adds no
OpenSpec change directory and moves no requirement title, so it cannot move
those counts. The repair is already filed by its own lane — openxFactory PR
#568, the same number, the same test, the same cause.

§8.1-§8.4 — NOT MERGED. §8.3's `grep` is re-verified at this tip (no
`## MODIFIED Requirements` block anywhere in the packet, so no archive-order
hold) but that row asks for the check AT ARCHIVE TIME, and this is not that
moment; the measurement is recorded so the archiver re-runs it against a shorter
list of possibilities, not so they skip it.

§7.5 records the doc-health comparison in full rather than as a verdict: the
findings line is IDENTICAL on both trees across two same-clock runs
(6 critical, 7 error, 39 warning, 14 info), and the only two report deltas are
the canon-share metric moving with the new prose and a `release-tag-publication`
SKIP that FOUR controls place in the environment — two different reasons across
two runs, `git cat-file` reading the object one of them names, the family alone
returning `No findings` on the final tree, and the baseline reproducing nothing
with its origin repointed at the same SSH URL.

§2.2 and §2.3 are untouched by this commit and stay exactly as the ratification
left them.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2

* Tick §3, §4, §5 and all of §7 with the measurements inline; leave §6 and §8 open with the reason

Realizes add-requirement-ref-resolution-integrity's evidence convention: a box
closes on a FACT that survives the session — a path, a count, a command and its
output — never on an intention, and a box that did NOT close stays OPEN WITH THE
MEASUREMENT rather than ticked with an excuse.

TICKED: §3.1-§3.7 (the arm, the two codes, the frozen resolver verified function
by function, the lift's two duties, the silent direction, five mutants with both
halves recorded), §4.1-§4.4 (three probes, the by-name inventory and the derived
count string in one commit: 6 -> 7 positive, 10 -> 12 warning, 8 -> 10 codes
probed), §5.1-§5.3 (the policy entry, the reconciled completeness claims across
three live sites with two deliberately left and the reason for each, the
manifest row with its unchanged digest stated, and §5.3's checked-none-found
sweep recorded site by site), and ALL OF §7.

THE GATES ARE RE-RUN AFTER A CATCH-UP MERGE OF origin/main bbbbeda, against the
tree that would actually merge rather than the one they were first taken on.
§7.2 is `8621 passed, 21 skipped, 338 deselected` — zero failures, and SKIPPED
is EXACTLY the pinned EXPECT_SKIPPED: "21", with the 7070/7090 floors cleared
and neither moved.

§7.2 WAS OPEN AN HOUR AGO AND THE RECORD KEEPS BOTH READINGS. Before the merge
the run was `1 failed, 8620 passed`:
`test_the_live_sweep_reproduces_the_AUTHORING_measurement` failed
`assert 18 == 19` on `active_co_modified`. It was ISOLATED ON BOTH TREES BEFORE
IT WAS ATTRIBUTED — that file alone gave `1 failed, 13 passed` on this branch
AND on the untouched baseline clone, with a byte-identical `Sweep(...)` tuple —
and it was another lane's pull request, openxFactory #568, which has since
landed as d308c01. The diagnosis is kept rather than deleted, because it is the
evidence the failure was never this change's.

§7.5 TICKS WITH ONE NEW FINDING NAMED, NOT WITH ZERO. Same-clock doc-health
against the NEW origin/main baseline: the findings line moves 13 -> 14 info and
nothing else, and set difference over the family's rows isolates exactly one new
row — `severity=info family=release-inventory-drift path=contracts/README.md`,
labelled "editorial member — expected between cuts". §5.1 swept that file
because it repeated a completeness claim this act falsifies; the drift is the
consequence of editing a file the just-landed v2.6 inventory pins, and its OWN
action line says to discharge it by cutting a release and NEVER by hand-editing
an inventory or contract_bundle_version. This slice does neither. The other five
drift rows — including the `error` row on docs/contract-versioning-policy.md,
which this change also edits — are present in the BASELINE report before any
edit of ours, measured by `comm` rather than by eye.

NOT TICKED, EACH WITH THE MEASUREMENT WRITTEN IN:

§6.1-§6.4 — THE CUT IS NOT THIS SLICE, AND THE ROW IS REWRITTEN RATHER THAN LEFT
TO READ AS IT DID BEFORE. When §3 was started, manifest line 3 read
contract-v2.5 and PR #565 was an OPEN contract-v2.6 cut on the same file, which
is why no number was allocated. #565 HAS SINCE LANDED (bbbbeda) and the merge
is clean — it moved line 3, this change moves a consumption_rule a hundred and
ninety lines below it. These two codes are NOT in contract-v2.6, which is a fact
about order rather than a judgement: #565 was cut from a tree that did not
contain them. REGISTRATION RIDES THE NEXT CUT. §6.4 additionally names the one
release-inventory-drift row this slice leaves for that cut, rather than letting
it be discovered.

§8.1-§8.4 — NOT MERGED. §8.3's `grep` is re-verified at this tip (no
`## MODIFIED Requirements` block anywhere in the packet, so no archive-order
hold) but that row asks for the check AT ARCHIVE TIME, and this is not that
moment.

§2.2 and §2.3 are untouched by this commit and stay exactly as the ratification
left them.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 2, 2026
… so where a consumer reads (#577)

THE CHANGELOG ALREADY CARRIES THE DISPOSITION. The contract-v3.0 cut (#573,
ff9ed81) wrote it in full — declared at bbbbeda, never verifiable, never
published, superseded on Brett Heap's ruling of 2026-09-02, "Supersede: v3.0 is
the completion" — and this commit does NOT duplicate it. Two records of one
measurement is how they drift apart, so this one cites it.

WHAT WAS MISSING IS THE PLACE A CONSUMER ACTUALLY READS. docs/contract-versioning-
policy.md is the pinned document, and until this commit it contained ZERO
mentions of contract-v2.6 while asserting, in § Untagged Bundles After
Enforcement Began, that "every bundle from contract-v1.7 ... is now tagged." That
sentence is false and, for the first time in this section's history, stays false.
A consumer reading the two discharge tables and stopping would conclude every
allocated number is either tagged or awaiting one. One is neither.

FOUR EDITS, all inside that section:

  1. The header and its count: FIVE instances in two discharges becomes SIX, of
     which five were discharged and THE SIXTH CANNOT BE. No third date is added,
     because a date would promise a closure this section will never record. The
     check #528 asked for has since landed (#563), which is why instance six was
     met by a machine rather than by a human counting.

  2. The "TRUE AGAIN" annotation gains its third transition. The sentence is left
     standing rather than rewritten, on this document's own rule that a record is
     annotated and never edited to match today; the present-tense claim a reader
     should carry forward is stated beside it instead.

  3. The new subsection, in the 2026-08-25 discharge table's shape — bundle,
     declaring commit, disposition, authority — with the two defects spelled out:
     no first-parent commit satisfies the targeting rule (the cut branch was
     never rebased, § Bundle Realization Order step 1), and a rebuilt inventory
     would not cure the second defect anyway, an ADDITIVE (minor) class declared
     on a tree that refuses three shapes contract-v2.5 accepted. It is named a
     SUPERSESSION rather than a retro-publication, because RETRO-PUBLISHED, NOT
     RE-DATED describes an act that is simply unavailable here.

  4. The closing clause binds all six, the never-dischargeable sixth most of all:
     a bundle that can never be tagged is not thereby released, it is permanently
     unreleased.

THE PERMANENT ERROR IS DECLARED, NOT QUIETED. release-tag-publication reports
contract-v2.6 at ERROR and the finding WILL NOT CLEAR — measured on this branch
and on main alike, and publishing contract-v3.0's tag neither cleared it nor
could, since the family inspects every bundle carrying a release inventory. The
family is not weakened to fit the ruling: Brett superseded a bundle, he did not
license a checker to stop objecting to abandoned ones. The missing vocabulary is
issue #575's design work. Nothing is deleted to match the absence.

NOT TOUCHED, DELIBERATELY: contracts/releases/contract-v2.6.digests.yaml and the
contract-v2.6 changelog entry (the record of what was declared) and
contract_bundle_version (advanced by a cut, never adjusted).

KNOWN AND ACCEPTED COST: this policy is a non-editorial member of the
contract-v3.0 inventory, so verify-commit at HEAD now reports one
HGR-RELEASE-DIGEST-MISMATCH on this path until the next cut re-baselines. That is
the ordinary between-cuts state every normative edit creates — #570 and #562 both
created it and #573 cured it — and the remedy is a release cut, never a
hand-edit. The contract-v3.0 TAG is untouched and still verifies at ff9ed81
exactly.

Refs #574, #575, #565, #573.


Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 2, 2026
…d state, and contract-v2.6 is that state (DO NOT MERGE) (#578)

* Propose declare-spent-bundle-state: the release-tag family has no third state, and contract-v2.6 is that state

Issue #575, filed by the contract-v3.0 cut (#573, `ff9ed815`) at the moment it
met the defect rather than afterwards. `release-tag-publication` has exactly two
answers for a bundle — published, or owes a tag — and `contract-v2.6` is
neither. It was declared at `bbbbeda9` (#565); `verify-commit` there returns
five HGR-RELEASE-DIGEST-MISMATCH findings (measurement of record: PR #565
comment 5502452624), so the targeting rule has no legal target; and it declares
change class ADDITIVE over a tree that refuses three shapes contract-v2.5
accepted, which no completion commit and no rebuilt inventory can cure. Brett
Heap ruled the supersession 2026-09-02 — "Supersede: v3.0 is the completion" —
and commissioned this packet: "Merge now, fix #575 next".

Since `ff9ed815` the family reports that bundle at ERROR without grading and
`test_this_repository_reads_zero_and_the_probe_can_fire` is RED on main. The
action it prescribes is unperformable by anyone, and a finding whose only action
cannot be taken teaches its readers to stop reading the report.

ONE `## MODIFIED Requirements` BLOCK over the promoted `Release-tag publication`
requirement, adding a SPENT state entered ONLY by an explicit reserved
declaration and refused by every absence. SILENCE STILL ERRORS. The only way to
quiet a spent bundle is to publish its SUCCESSOR's tag — the very act this
family exists to compel — so the escape hatch cannot be taken by writing
anything, which is the answer to #575's guard-against-the-obvious-abuse.

THE RECORD IS `contracts/CHANGELOG.md`, NOT `health/dispositions.yaml`, and that
is measured rather than preferred: dispositions key on (family, repo, path),
every finding of this family lands on `contracts/manifest.yaml`, so one row
would suppress the whole family for the repository forever — and the loader's
own docstring records that the file is unreachable in the `--single-repo` scope
the red self-gate runs in. The changelog is a release-inventory member a
consumer already pins, is one of the three EDITORIAL members writable between
cuts, and is already where this estate records supersessions twice over.

SCENARIO-COMPLETE AND VERIFIED MECHANICALLY, not by eye: 11 of 11 canon
scenarios present, 10 byte-identical, the eleventh differing by exactly one
added AND bullet with nothing removed, all 67 canon body lines surviving. The
block was BUILT FROM CANON at named anchors rather than retyped. Ten scenarios
added; twenty-one in total.

PROPOSAL ONLY (OD-8). #544's one-landing shape was ruled for a mechanical
reason — a family ADDITION reddens family-enumeration's self-gate in the
interval — and this change adds no family and moves no count. The cut's own
entry says this vocabulary "owes its own change and its own review", the
family's own precedent recorded an amendment "awaiting Brett rather than
absorbed into the realization", and what is being amended is a fail-closed
check. main stays red one more PR, on a red that is declared, named, inherited.

OD-6 is the constraint #575 did not anticipate: the obligation-side paragraph
belongs in `docs/contract-versioning-policy.md`, a NON-EDITORIAL member of
`contracts/releases/contract-v3.0.digests.yaml`, so it rides the next cut rather
than trading this error for a release-inventory-drift one.

OPENSPEC_TELEMETRY=0 openspec validate --all --strict: 84 passed, 0 failed.
proposal-support verify: ok. OD-1 … OD-8 and OQ-1 … OQ-3 flagged for veto.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Record the measurement instead of predicting it: the packet moves NOTHING

`--single-repo` doc-health with and without this packet, same clock — base a
detached worktree at `ff9ed815`, head this packet COMMITTED, because an
UNTRACKED packet is invisible to the readers and the first measurement was
taken before the commit and had to be retaken.

6 critical / 5 error / 29 warning / 12 info on BOTH, and the two reports are
BYTE-IDENTICAL once the repo-identity string is normalized — not merely equal
in the four counts. The proposal predicted one `modified-block-currency` info;
the measurement says zero, and the prediction is replaced by the number rather
than left standing beside it.

Three zeroes checked rather than assumed: `family-enumeration` reports nothing
(no family, no count moves — OD-8's mechanical argument); `modified-block-
currency` reports `scenario-title completeness: 0`, its gate-bearing arm,
agreeing with the scenario-by-scenario verification; and the census is unmoved
because `proposal.md` is in the LIFECYCLE SCAN SET rather than the governed
corpus, which `Deterministic check families` states in terms.

The one error that does not move is the point: `release-tag-publication` still
reports contract-v2.6 at error in both runs, in the same words.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Move the sequenced-after live pin, which CI found and the measurement missed

The first `pytest-suite` run reported TWO failures, not one. The first is the
inherited red this packet is about. The second is NOT inherited —
`tests/sequenced_after/test_sweep.py::test_the_live_sweep_reproduces_the_AUTHORING_measurement`
passes at `ff9ed815` in a detached worktree and fails with the packet, because
AUTHORING an active change that carries a `## MODIFIED Requirements` block
raises `co_modified` 104 -> 105, `active_co_modified` 18 -> 19 and `change_ids`
153 -> 154.

That is the pin doing exactly its job, and its own docstring prescribes the
response: "WHEN THE CORPUS MOVES, THIS PIN MOVES WITH IT — and the move is
RECORDED below rather than silently re-typed", in the SAME COMMIT, with a dated
MOVEMENT LOG entry naming which subject moved and why. So the log gains an entry
and each moved assertion gains a message that distinguishes the TWO expected
causes of its own failure — an ARCHIVE lowers `active_co_modified` while leaving
`co_modified` untouched; an AUTHORING raises both — because a pin whose failure
message names one cause invites the wrong repair for the other.

THE THREE COUNTS THAT DID NOT MOVE ARE THE INTERESTING HALF, and they are now
asserted with their reasons rather than left to coincidence: `sole_modifiers`
holds at 49 (`change_ids - co_modified`, both sides up one), `active_sole` holds
at 12 (the new change is a CO-modifier, not a sole one), and `declaring` holds
at 1 — this packet declares no `sequenced_after:` field, the field being carried
by an ACTIVE, UNPROMOTED change, and adopting an unratified surface is not what
its "declaring must never be worth less than omitting" doctrine asks of a packet
written before it lands. A change that added itself to both populations at once
would be a defect in the sweep, and that is now checked rather than assumed.

THIS FILE IS CORPUS BOOKKEEPING, NOT THE REALIZATION OD-8 DEFERS, and the
proposal's `code_surface` says so rather than leaving a reader to infer it from
a diff. Recorded in tasks 4.7 as a MISS: the doc-health measurement in 4.6 was
complete for doc-health and was read as though it were complete for the
repository.

`python3 scripts/validate-sequenced-after.py .` passes (31 active, 1 declaring);
`pytest tests/sequenced_after` 118 passed; `openspec validate --all --strict`
84 passed, 0 failed.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Put the amendment note where its own claim is true

As first spliced, the `**AMENDED BY declare-spent-bundle-state**` note sat
directly after the paragraph it qualifies — and then claimed that "everything
from here to the scenarios is this change's addition", with eight PROMOTED
paragraphs sitting below it. The note mis-described canon as this change's work,
which is the opposite of what a restatement note is for.

The note now sits after the LAST promoted body paragraph and before the first
scenario, so both halves of its claim are true as written.

AND THE QUALIFICATION IT OWED IS NOW STATED. `A SUPERSEDED BUNDLE IS NOT GRADED
BY DISTANCE` still reads "reported at `error` without grading", byte-unchanged,
and that is still exactly what such a bundle reads as WHEREVER NO DECLARATION
NAMES IT — every bundle in the estate's history but one, and the default
forever. The sentence is kept byte-faithful rather than rewritten so a reader
arriving at it meets the promoted rule and then its one exception, instead of a
rewritten rule with no trace of what it replaced.

Re-verified: 11 of 11 canon scenarios present, 10 byte-identical, the eleventh
differing by one added AND bullet, 67 of 67 canon body lines surviving.
`openspec validate --all --strict` 84 passed; `pytest tests/doc-health` 1384
passed.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Ratify declare-spent-bundle-state, and take both Codex P1s into the requirement first

RATIFIED 2026-09-02 by Brett Heap (repository owner), in session, in TWO ACTS
over the two decisions this proposal declined to take by silence:

- OD-3 ACCEPTED AS PROPOSED — a correctly declared spent bundle emits an `info`
  with its own finding key, not silence: "the reader who finds
  contracts/releases/contract-v2.6.digests.yaml with no matching tag is owed the
  answer where they are looking, and the key is what makes the one permanent
  finding auditable".
- OD-4 ACCEPTED AS PROPOSED — "quiet only once the superseding bundle's tag is
  published, warning while it is cut but untagged, error where the named
  successor was never cut. The only way to make a bundle quiet is to publish its
  successor's tag."

Record: review/ratification-2026-09-02.md, on the add-signed-execution-chain
precedent. It carries the chain of authority as SEPARATE acts (#575 filed by the
v3.0 cut -> the supersession ruling -> the commissioning -> these two rulings ->
this ratification), what was flagged and how each was disposed, the bot rounds,
the inherited red measured three ways, and a seven-item list of what
ratification does NOT authorize.

AND THE RATIFIED TIP IS NOT THE BASELINE, WHICH IS SAID FIRST RATHER THAN LEFT
TO A DIFF. Two Codex P1s on `2b66096c` — the tip the ruling was given over —
moved normative text before this commit. Both are NARROWINGS of what was ruled
rather than departures from it, and both are holes in the guard the ruling had
just accepted rather than extensions of it, which is why they are repaired here
instead of filed as successors:

- THE GUARD WAS SATISFIABLE BACKWARDS (new OD-9). As ruled it required the named
  successor to be CUT and PUBLISHED, never LATER. A declaration for
  contract-v2.6 written into contract-v2.5's entry and naming contract-v2.5 —
  cut, published, valid annotated tag on a declaring commit — passed every
  check, so an untagged bundle would have gone quiet with NO replacement
  published at all. The successor must now be STRICTLY LATER, with its own error
  and its own scenario. A decision whose purpose is "the only way to make a
  bundle quiet is to publish its successor's tag" is not met by a tag that
  already existed.
- TWO SPENT BUNDLES WOULD HAVE SHARED ONE FINDING IDENTITY (OD-5 amended).
  `match_key()` is (family, repo, path) and ignores the rule, so the
  contracts/CHANGELOG.md path repeated the very defect OD-5 was written to
  avoid one step over: removing one declaration while the other stood would
  raise nothing. The findings now land on
  contracts/releases/<bundle>.digests.yaml, unique per bundle BY CONSTRUCTION —
  it is the artifact that made the bundle enumerable at all. The one finding
  with no inventory to land on (a declaration whose SUBJECT was never cut) stays
  on the changelog at `warning`.

Three scenarios joined the delta for those two findings; twenty-one -> TWENTY-FOUR.
Re-verified against canon: 11 of 11 promoted scenarios present, 10
byte-identical, the eleventh differing by one added AND bullet, 67 of 67 canon
body lines surviving.

COPILOT: the marker-form delimiter finding TAKEN (the reserved form is now a
code block, and the requirement says why). The "unquoted #575 breaks YAML
metadata" finding REFUSED WITH A MEASUREMENT: nothing parses proposal front
matter as YAML — `yaml.safe_load` FAILS on add-release-tag-publication-check,
add-requirement-ref-resolution-integrity and add-clearing-dispatch-boundary
alike, on "mapping values are not allowed here" — the reader that exists is
line-wise (`corpus.STATUS_RE`), and sixteen proposals already carry an unquoted
`#<issue>` on their Origin line, this packet's own basis among them. The YAML
surface that IS parsed, `.openspec.yaml`, already uses folded `>-` blocks for
exactly that reason.

AND A PARALLEL LANE MADE OD-6'S PREDICTION TRUE WHILE SPENDING ITS ARITHMETIC.
PR #577 (`2898b104`) recorded the supersession in
docs/contract-versioning-policy.md — the between-cuts edit to a NON-EDITORIAL
inventory member OD-6 declined — and release-inventory-drift now reports it at
ERROR on main. The analysis is vindicated and its conclusion overtaken in one
stroke: the incremental cost of the SPENT-state paragraph is now ZERO. The
decision is not rewritten retroactively; tasks 3.1 records the new arithmetic,
notes that #577 discharges the consumer-facing half and MUST NOT be
re-authored, and leaves the routing to the realization.

Ratification authorizes realization and performs none of it: no checker line, no
test, and no SPENT declaration lands in this commit. OQ-1 … OQ-3 remain OPEN.

`openspec validate declare-spent-bundle-state --strict` VALID; `--all --strict`
85 passed / 0 failed; proposal-support verify ok; `status-validity` and
`ratified-provenance` report nothing against this packet.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Take round three: the ruled `warning` band was unreachable in the words that encoded it

Four findings on the ratifying commit `7e9267a4`, all four TAKEN. The first is a
defect in the ENCODING of what Brett ruled rather than in the design, which is
why it is repaired here rather than filed.

CODEX P1 — THE PROVISIONAL BAND WAS UNREACHABLE. OD-4 as ruled makes a
cut-but-unpublished successor a `warning`. The delta wrote that case as a
NON-ACCEPTANCE, and its fallback clause kept the superseded-and-never-published
`error` for every declaration that was not accepted — so a conforming family
would have reported BOTH a warning and an error through the legitimate
publication window, contradicting the ruling the clause exists to encode.

The requirement now names THREE outcomes rather than two — ACCEPTED, REFUSED,
PROVISIONAL — and a PROVISIONAL declaration SUPPRESSES the superseded error and
reports ONE finding. The suppression loses nothing and the requirement now says
why: the successor is the bundle the manifest declares, so the distance arm
grades it on its own account, warning inside its window and error past the
threshold. The obligation has MOVED ONTO THE SUCCESSOR rather than been
discharged, which is exactly what the successor guard is for, and the band is
bounded by that grading rather than by this state's patience. The promoted
scenario's added AND bullet and the warning scenario both now distinguish
REFUSED from PROVISIONAL explicitly.

CODEX P2 — THE PROPOSAL'S OWN SUMMARY CONTRADICTED ITS AMENDED DECISION. OD-5
moved the findings to `contracts/releases/<bundle>.digests.yaml`; § What changes
still said `contracts/CHANGELOG.md`. A Spec Kit implementation following the
summary would have rebuilt the exact shared-identity defect the requirement now
avoids. Repaired rather than noted — a proposal whose operative paragraph
contradicts its own decision is a defect in the proposal.

COPILOT — `recognise` -> `recognize`. Canon spells it with a `z` five times and
with an `s` never. A delta that introduces the other spelling into text it is
RESTATING is introducing the drift the restatement exists to prevent.

COPILOT — A PIN MESSAGE POINTING AT THE WRONG SUBJECT. The `co_modified`
assertion said the population is "unchanged by THIS change" — true of the test's
OWNING change, add-sequenced-after-substrate, whose requirement titles are ADDED
and novel — while the reading it guards had just been raised BY this packet. It
now names which change raised it and which one does not move it, because a pin
whose failure message points at the wrong subject invites the wrong repair.

Re-verified against canon after the repairs, which moved requirement prose and
one existing scenario's bullets and added no scenario: 11 of 11 promoted
scenarios present, 10 byte-identical, the eleventh differing by one added AND
bullet, 67 of 67 canon body lines surviving. Twenty-four scenarios.

`openspec validate --all --strict` 85 passed / 0 failed;
`pytest tests/sequenced_after` 118 passed.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Say "before this amendment" where the argument means it

Self-caught on a read-through, not by a bot, and worth fixing because the
sentence had just been made false by this change's own repair.

The dispositions-file argument said "every finding this family raises against a
repository lands on contracts/manifest.yaml". That was true when written and
stopped being true two commits ago, when OD-5's amendment moved the spent-state
findings onto per-bundle inventories — so a requirement arguing from a fact its
own later paragraph contradicts.

The claim is now tensed and scoped: every finding raised BEFORE this amendment
lands on the manifest, so ONE entry on that path would suppress every
absent-tag, misplaced-tag and lightweight-ref finding for the repository
forever. And the argument is sharpened rather than merely repaired: the findings
THIS amendment adds land on per-bundle inventories for exactly the same reason,
which is the distinction `health/dispositions.yaml` has no way to draw. The
coarseness belongs to the mechanism, not to the state.

Re-verified: 11 of 11 canon scenarios, 10 byte-identical, one added AND bullet,
67 of 67 body lines. `openspec validate --all --strict` 85 passed / 0 failed.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Move the three counts the review's own repairs made stale

Self-caught on a consistency sweep. The two Codex P1s added three scenarios, and
three sites still reported the pre-review shape:

- proposal.md § What changes said "Ten scenarios are added, bringing the
  requirement to twenty-one" — now THIRTEEN and TWENTY-FOUR, and it names where
  the extra three came from rather than leaving the arithmetic to a reader.
- README's records row said the same thing, and now says the same corrected
  thing.
- .openspec.yaml's `approved_by` said the authoring session's decisions are
  "listed as OD-1 … OD-8" without pointing at OD-9, which the very next
  sentences record as added under review. It now points forward.

A packet whose narrative sites disagree with its own delta is the shape
`modified-block-currency` and `family-enumeration` both exist to catch, and this
estate's record is that the catch was human every time until a check existed. It
was human again here; the sweep is cheap and the drift is not.

`openspec validate --all --strict` 85 passed / 0 failed; proposal-support verify
ok.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Take Copilot round 4: the pin numbers the merge with #555 made stale

Copilot found the last of the review's own wake: proposal.md's `code_surface`
still claimed authoring this change moves `change_ids - 1` from 152 to 153,
while the pin it describes now asserts 154 and attributes 152 -> 153 to #555's
landing on 2026-09-01.

RE-DERIVED FROM THE LIVE SWEEP rather than reasoned about: `change ids
(32 active + 123 archived): 155`, `co-modified 105`, `sole modifiers 50`,
`ACTIVE co-modified / sole: 19 / 13`. So the absolute population moves
154 -> 155 and the `- 1` reading — which subtracts the pin's OWN owning change —
moves 153 -> 154. Three sites now say exactly that in the same words:
`code_surface`, tasks 4.7, and the README records row.

AND THE FIRST MEASUREMENT IS KEPT RATHER THAN OVERWRITTEN, because it was true
when taken: before #555 was merged in, the same act moved `change_ids` 153 ->
154 absolute. #555 moved the absolute population and the SOLE-modifier readings
and left the co-modified ones untouched; this packet does the opposite. That
pair is the same rule read from both ends, and the movement log already says a
change moving BOTH families of reading would be a defect in the sweep rather
than a corpus event.

`validate-sequenced-after.py --sweep` re-derived; `pytest tests/sequenced_after`
118 passed; `openspec validate --all --strict` 85 passed / 0 failed.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Record round four in the two places that keep the review's own account

The ratification record and the proposal's convergence section now carry the
fourth round: nine findings over four rounds, eight taken, one refused with a
measurement.

And the pattern is named rather than left as four separate corrections: THREE of
the nine findings are the same shape — a narrative site left behind by a repair
or by a merge, not a defect in the design. Two were mine to catch and were not
caught until a reviewer pointed at them (the operative summary after OD-5 moved,
the pin numbers after #555 merged in), one I caught on a read-through (the
dispositions argument's tense). That is why the packet now carries a
consistency sweep of its own counts instead of trusting them, and why the
convergence section says so where a later reader will look.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Two scenario titles differed by one word and meant opposite things

`A SPENT declaration names a superseding bundle this repository never cut` and
`A SPENT declaration names a bundle this repository never cut` sat five lines
apart, and one is about the SUCCESSOR (an `error`, the declaration points at
nothing) while the other is about the SUBJECT (a `warning`, the declaration
disposes nothing and the real bundle is still reported). A reader skimming the
titles would read them as a duplicate, and a test author picking one by title
could write the wrong assertion.

The second is now `A SPENT declaration's SUBJECT is a bundle this repository
never cut`. Scenario titles are how this capability's own arms and its readers
address scenarios, so an ambiguous pair is a defect in the delta rather than a
matter of taste.

Re-verified: 11 of 11 canon scenarios, 10 byte-identical, one added AND bullet,
67 of 67 body lines, 24 scenarios. `openspec validate --all --strict` 85 passed.

Co-Authored-By: Claude Fable 5 <[email protected]>

---------

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 2, 2026
…ct-v2.6 declared spent (#575) (#587)

* release-tag-publication: the SPENT third state — the reader, the ladder, and the emits

Realizes `declare-spent-bundle-state` tasks 2.2–2.7 (ratified 2026-09-02 by
Brett Heap; openxFactory #575). The family gains a THIRD STATE between
*published* and *owes a tag*, entered ONLY by an explicit reserved-form
declaration in `contracts/CHANGELOG.md` at the published tip and refused by
every absence.

THE READER (2.2). One pure function from changelog bytes to declarations,
parsing the reserved opener `**SPENT BUNDLE:**`, the four owed elements and
the containing `## contract-vX.Y` entry. LABEL-ANCHORED, never a split on the
separator: splitting reads a cause carrying an em dash as three elements and
then names the WRONG element as the missing one, handing an author the wrong
repair. Rejects rather than skips — the opener is reserved, so a line that
begins with it and completes nothing is a malformed declaration rather than
prose to be ignored.

THE LADDER (2.3), in the ABSENT arm only and after the ok/lightweight/misplaced
branches, so the scope rule holds BY CONSTRUCTION rather than by care. No
declaration -> today's behaviour, byte for byte. Accepted, successor published
and STRICTLY LATER -> one `info`. Successor cut but unpublished -> PROVISIONAL:
one `warning`, and the superseded `error` suppressed in its favour, the
successor being graded on its own account. Successor never cut, successor not
later (OD-9), an element missing, a duplicate declaration, the wrong containing
entry, or naming the live bundle -> `error` accepting nothing, with the
superseded `error` standing alongside so a bad declaration removes nothing. A
declaration whose SUBJECT was never cut -> `warning` on the changelog.

THE EMITS (2.4) land on `contracts/releases/<bundle>.digests.yaml` and not on
the manifest, because THE PATH IS THE FINDING'S IDENTITY: `match_key()` is
`(family, repo, path)` and ignores the rule, so a spent state on the manifest
would share an identity with every other finding of this family and its
disappearance would be masked by any surviving sibling. Four new action
constants beside the four the module already had; the accepted `info` is
`contested`.

THE SECOND READ (2.5) joins the manifest read at the SAME commit under the SAME
guard: `blobs_at` answering None is a skip naming that read, never "there is no
declaration". This is the #338 conflation one document over, and this family has
been caught by it once already.

TESTS (2.6, 2.7): 26 added over the file's real-git fixtures — every scenario
the ratified delta states, the reader as a pure function, the action strings as
FRESH LITERALS rather than comparisons with the module's own constants, and the
RED-FIRST proof that the declaration removed returns the `error`. OQ-3 is PROVED
rather than inherited, end to end through a rendered report and with TWO spent
bundles: two `info`s, two DIFFERENT match keys, and removing one raising an
`uncited-resolution` ERROR for that one alone.

Every one of 18 source mutations reds its intended test and no other.

Co-Authored-By: Claude Fable 5 <[email protected]>

* contracts/CHANGELOG.md: contract-v2.6 declared SPENT, in the reserved form

Realizes `declare-spent-bundle-state` task 2.1. ONE reserved line, into the
EXISTING `### contract-v2.6 disposition` subsection under `## contract-v3.0` —
not a new subsection, not an edit to the `contract-v2.6` entry, not an edit to
the manifest or the inventory. Its four elements come from the record that
already exists: superseding bundle `contract-v3.0`; cause, the
ADDITIVE-class-over-a-refusing-tree defect no completion commit can cure,
together with the five HGR-RELEASE-DIGEST-MISMATCH findings that leave the
targeting rule no legal target; ruled by Brett Heap, 2026-09-02
("Supersede: v3.0 is the completion"); measurement, PR #565 comment 5502452624.

A HANDLE ON THE RECORD AND NOT A SECOND RECORD, in the pattern
`document-lifecycle`'s reserved `Modified over` marker already sets. Nothing
above it is edited: the ERROR is not silenced by an absence but answered by a
declaration.

AND `main` GOES GREEN BECAUSE THIS BUNDLE IS EXPLICITLY DECLARED SPENT, never
because an undeclared bundle started passing —
`test_removing_the_declaration_returns_the_superseded_error` is that
verification, run over a tree with the declaration removed, and the `error`
returns in the same words.

Co-Authored-By: Claude Fable 5 <[email protected]>

* docs/doc-health.md: the release-tag-publication family gains the third state

Realizes `declare-spent-bundle-state` task 2.8. The family's own paragraph
gains the SPENT state: the reserved single-line form, the three outcomes
(ACCEPTED / PROVISIONAL / REFUSED and why the middle one is not a refusal), the
per-bundle inventory path and why it is not the manifest, the successor guard,
the accepted state's action line, and the two limits — the state reaches the
ABSENT-tag arm and nothing else, and is not read backwards onto the five
bundles under § Untagged Bundles After Enforcement Began.

THE FAMILY COUNT SENTENCES ARE UNTOUCHED, checked rather than assumed: this
change adds no family and moves no count, so `family-enumeration` stays silent.

Co-Authored-By: Claude Fable 5 <[email protected]>

* tasks: group 2 ticked 2.1–2.8, and 2.9 left unticked on a ruling rather than a miss

2.1 through 2.8 are DISCHARGED by the three commits below this one: the
declaration, the reader/ladder/emits with their tests, and the contract
paragraph.

2.9 IS DELIBERATELY UNTICKED. Brett Heap ruled 2026-09-02 (issue #575, lane
openxfactory-1d): "merge the realization on the dispositioned red." The family
reads `origin/main`'s manifest AND — per 2.5 — its changelog at the LIVE remote
tip, so `test_this_repository_reads_zero_and_the_probe_can_fire` cannot go green
until this PR's own squash IS that tip. The box records the mechanical proof
that it goes green there: a bare origin whose `main` is this branch reports ONE
contested `info` on `contracts/releases/contract-v2.6.digests.yaml` and no
error, while the same call against the worktree reports the inherited `error`.
The test is not edited.

3.1's ROUTING TAKEN AND LEFT WHERE IT SITS, recorded as an orchestrator decision
awaiting Brett's affirmation: the box's new arithmetic is a permission rather
than an instruction, and a second between-cuts edit to a NON-EDITORIAL release
member inside a checker PR is the shape OD-6 declined for reasons the
arithmetic does not touch.

Co-Authored-By: Claude Fable 5 <[email protected]>

* docs/doc-health.md: the `info` severity row names the RECORDED-STATE class

The severity table's `info` row read "Inventory and metrics", which is the
whole of what `info` carried until this state existed. A SPENT bundle is
neither: it is a RECORDED STATE, permanent, `contested`, and nobody can act on
it — which is the cost OD-3 accepted in terms when it chose an `info` over
silence, on the ground that a reader who finds a release inventory with no
matching tag is owed the answer in the report rather than only in a changelog
they may not read.

Named in the table so the class a reader meets is the class the contract
declares, rather than one they have to infer from a family paragraph forty
lines up.

Co-Authored-By: Claude Fable 5 <[email protected]>

---------

Co-authored-by: Claude Fable 5 <[email protected]>
@brettheap
brettheap deleted the cut/contract-v2.6 branch September 2, 2026 18:58
brettheap added a commit that referenced this pull request Sep 4, 2026
Realizes `admit-deliberation-clearing-operation` tasks 2.8 and 2.10.

contracts/manifest.yaml gains a SEVENTH clearing row,
`clearing-deliberation-return`, and the register instance's and the dispatch
record schema's row digests move with their bytes. The family header's corpus
counts are CORRECTED TO THE MEASURED VALUES rather than incremented: 7 positives
and 28 intended-invalid negatives. The second figure read "24" from the
contract-v3.3 registration onward while the disk held 26 — the validator's own
self-test reported the true number on every run and nobody reconciled the two,
which is what task 2.10 found.

THE CUT IS NOT TAKEN, AND THE REASON IS MEASURED. On merge order alone the next
additive minor would be `contract-v3.4`. It is CLAIMED: openxFactory issue #630
row 4, 2026-09-04T12:40:25Z, lane `repo-shape`, on Brett Heap's word in session
— verbatim "cut contract-v3.4" — 25 minutes before this lane's own realization
claim, and Lane Collision Protocol Amendment 1 rule 7 serializes contract-cut
claims FIFO. So:

  * `contract_bundle_version` is NOT moved and still reads contract-v3.3;
  * NO contracts/CHANGELOG.md entry is written (one entry per RELEASE, and this
    allocates none);
  * NO contracts/releases/<tag>.digests.yaml is built (an inventory names a
    bundle, and naming one reserves it);
  * the new row says so in its own consumption_rule — "the bundle number is the
    cutting session's and is not reserved here".

THAT IS THIS REPOSITORY'S OWN FORM, not an invention: the twelve chain-anchoring
rows already on main carry the identical sentence, add-chain-attestation split
the same way (#556 rows, #565 cut), and docs/contract-versioning-policy.md
forbids reserving a minor before merge order is known.

The per-row registration assertion is TIGHTENED rather than weakened for it: a
new REGISTRATION map makes it per row — the six cut rows record their bundle, the
realization row records its CHANGE — plus
`test_the_realization_row_reserves_no_bundle_number`, which is what stops a later
session writing a number in without cutting.

MEASURED: no member of contracts/releases/contract-v3.3.digests.yaml drifts at
this head beyond the EDITORIAL contracts/manifest.yaml, identically to the base,
so this feature creates no release-inventory finding.

Both READMEs move with the bytes: the family's shape table gains the return, its
register section says TWO members, its honest-limit paragraph now names all FIVE
frozen copies including the gate's grep and the test that pins it, and the
sentence "does not verify a sealed RETURN — no return shape ships here" is
corrected in place rather than deleted.

pytest tests/clearing: 203 passed. validate-clearing-dispatch: 0 errors.

Lane: hermes-wallet-exercise
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