Repository navigation
Realize add-signed-execution-chain: cut contract-v2.5 (a validated chain is not an audit trail, it is a permission) - #533
Conversation
…ain is not an audit trail, it is a permission) Task 4.7 — the cut-dependent box act one (PR #524, squash 9af98c4) left to the cutting session, because a proposed change MUST NOT reserve a minor number before merge order is known. THE NUMBER, FRESH-COUNTED AT THE CUT — THE THIRD COUNT, and it has moved twice: the packet read contract-v2.3 (PR #514 took it), the realization read contract-v2.4 (#526 afdf0e8 cut AND tagged it alone). At this tip contracts/manifest.yaml:3 declared contract-v2.4, contracts/releases/ held inventories through v2.4, git ls-remote published v2.0-v2.4, no Unreleased block was pending, and `grep -c signed-execution-chain contracts/releases/contract-v2.4.digests.yaml` returned 0 — so v2.4 is spent and covers none of this family. Next additive number: contract-v2.5. Nothing had to be renumbered when a sibling took v2.4, because act one wrote the re-count INSTRUCTION into tasks.md and no number into any contract byte. ADDITIVE (minor), AND NOTHING NARROWS — MEASURED, NOT CLAIMED. `git diff --name-status contract-v2.4 9af98c4 -- contracts/` reports 47 additions and exactly ONE modification, and that modification is contracts/README.md, the editorial index. Not one schema, template, example or registry already published moved a byte, so there is no shared file in which a prior-bundle instance could be refused. contract_schema_version unchanged. WHAT MOVED, IN ORDER, WITH THE INVENTORY LAST: - contracts/manifest.yaml: contract_bundle_version contract-v2.4 -> contract-v2.5, plus the signed-execution-chain family block registering all FIVE schemas with per-file sha256. 167 rows -> 172; validate-manifest-digests.py 150 -> 155 verify. The corpus, the family README, the reader and its pytest wiring are content-addressed by commit with no per-file digest (the openxWallet, client-identity-roster, identity-brokering and trust-anchor precedent). - contracts/CHANGELOG.md: the contract-v2.5 entry, with the nothing-narrows measurement, the fresh count, the two structural residuals, the registration-is-not-enforcement section and the contract-v2.3 discharge. - contracts/README.md + contracts/signed-execution-chain/README.md: the three "REALIZED and NOT YET REGISTERED" sentences act one wrote, resolved to the literal contract-v2.5, each keeping its enforcement line. - docs/contract-versioning-policy.md: contract-v2.3 recorded as a FOURTH untagged instance and its discharge, in the section that already holds three. The section's "Every bundle from contract-v1.7 ... is now tagged" was true when written, became false, and is true again; a reader must not take it as evidence the practice never lapsed. - tests/intent-compliance/test_release_boundary.py: the boundary pin ADVANCED, not broadened. The tripwire fired on the bump, correctly — the library floor is an at-or-after comparison that would never have noticed. One named enum member, same match arm, 13 tests before and 13 after. The reason it needs a hand act is sharper here than at v2.4: this cut registers a DIFFERENT family, so nothing about it touches intent-compliance's membership, which is exactly the fact a human has to state because the library cannot tell "unchanged" from "unnoticed". - tests/signed_execution_chain/test_manifest_row_digests.py: NEW. The five rows this cut adds are recomputed from the files on disk, and the registration is closed in BOTH directions with the on-disk set derived from the DIRECTORY. It exists because scripts/validate-manifest-digests.py, which sweeps all 155 rows, is wired into NO workflow and NO test — a tool that catches drift when a human remembers to run it is the failure mode it was written to close, one level up. RED-PROVEN, AND THE PROOF FOUND A DEFECT IN THE TEST ITSELF: a 64-zero digest is parsed by PyYAML as an INT, so slicing it raised TypeError where a MISMATCH was the answer owed — this realization's own round-three lesson, that every refusal must reach the caller as the same kind of answer, arriving in its own gate. Repaired with str() (the sweeper's precedent) plus an explicit isinstance(..., str) assertion, since an int-parsed digest also silently loses leading zeros. Both mutation classes now report as findings. - contracts/releases/contract-v2.5.digests.yaml: built LAST, by scripts/validate-contract-release.py build, never hand-edited. 283 entries — MEMBERSHIP UNCHANGED from v2.4's 283, zero added and zero removed, which is what an additive release looks like in an inventory: the growth is in what a member ASSERTS. Exactly five digests move, each a file this cut edited. Built TWICE for that reason: rebuilt after two members moved during review of the entry text. REGISTRATION IS NOT ENFORCEMENT, and every artifact this cut touches says so. Tasks 4.5 and 4.6 are OPEN and are not this session's to close, and they are the ones that decide whether any of the rest confers anything: 4.5 makes the named reader a REQUIRED check in the branch ruleset, an OPERATOR act whose evidence is the live ruleset state and never a merged workflow file; 4.6 is its canary evidence and is blocked on 4.5 by construction. Requirement 9 is UNMET rather than partially met, the packaged conformance declaration still records is_required_in_ruleset: false, and the reader still warns on every run. contract-v2.3 — THE PENDING OWNER ACT IS DISCHARGED, surfaced by this cut's fresh count. The tag exists on the remote, verify-tag passes, and it dereferences to ec8be5a — exactly the commit the contract-v2.4 entry measured as the earliest first-parent commit on main declaring the bundle at which verify-commit passes (the PR #514 merge). Tag object dated 2026-08-31 03:14 -0400, the same timestamp as contract-v2.4's: the owner published both together. Untagged window about nineteen hours, during which afdf0e8 consumed v2.3 as a spent number. RECORDED, NOT SOFTENED, and nothing here tags or re-tags anything. The uncut mismatch 4.7 predicted was found exactly as predicted: verify-commit --commit HEAD at 9af98c4 reported ONE HGR-RELEASE-DIGEST-MISMATCH, on contracts/README.md, and nothing else. No non-editorial member drifted. The cut resolves it by construction. Full working record: openspec/changes/add-signed-execution-chain/realization-evidence.md Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Cuts and registers the signed-execution-chain contract family as contract-v2.5 (realizing add-signed-execution-chain task 4.7) by updating the release surfaces (contracts/manifest.yaml, contracts/CHANGELOG.md, and generated inventory) and propagating the cut record across docs and OpenSpec task evidence.
Changes:
- Bump bundle version to
contract-v2.5, register five new signed-execution-chain schema rows with per-filesha256, and add the generatedcontract-v2.5release inventory. - Advance intent-compliance release boundary classification to include
contract-v2.5. - Add a new scoped pytest check ensuring the five new manifest rows’ digests match the on-disk schema bytes, and update documentation/evidence to reflect the cut and remaining open boxes (4.5, 4.6).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
tests/signed_execution_chain/test_manifest_row_digests.py |
New scoped tests that verify the five newly-registered manifest rows match on-disk schema digests and include expected consumption-rule markers. |
tests/intent-compliance/test_release_boundary.py |
Extends the explicit release-boundary enum/match handling to classify contract-v2.5 consistently. |
README.md |
Updates the active change entry to reflect registration at contract-v2.5 and the remaining open tasks. |
openspec/changes/add-signed-execution-chain/tasks.md |
Marks task 4.7 as completed with detailed cut evidence and keeps 4.5/4.6 open. |
openspec/changes/add-signed-execution-chain/realization-evidence.md |
Adds the working record for the cut session (act two) and measured gate outputs. |
ideation/staging/INDEX.md |
Updates staging index narrative to reflect that the cut is taken and that 4.5/4.6 remain open. |
docs/contract-versioning-policy.md |
Records the contract-v2.3 tag retro-publication discharge and clarifies the section’s discharge timeline. |
contracts/signed-execution-chain/README.md |
Updates family README front-matter from “not yet registered” to registered at contract-v2.5. |
contracts/releases/contract-v2.5.digests.yaml |
Adds the generated contract-v2.5 release digest inventory (283 entries). |
contracts/README.md |
Updates the editorial contract index to reflect registration at contract-v2.5. |
contracts/manifest.yaml |
Bumps contract_bundle_version to contract-v2.5 and adds the five signed-execution-chain registration rows with sha256. |
contracts/CHANGELOG.md |
Adds the contract-v2.5 changelog entry describing the additive cut, registration, and boundaries. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…t one level of it Copilot, PR #533 round one, and the finding is real. The closure test derived the on-disk set with Path.glob("*.schema.yaml"), which reads the family ROOT ONLY — so a schema placed in a SUBDIRECTORY would bypass the closure this test exists to enforce and ship UNREGISTERED while the test stayed green. Not hypothetical: this repository already carries contracts/hermes-runtime/migrations/v1-to-v2-mapping.schema.yaml, the only nested schema under contracts/ today and proof the layout is reachable. MEASURED AGAINST THE PRE-FIX PREDICATE, not reasoned about. With an unregistered nested sixth schema on disk, glob returned exactly the five expected paths and the assertion PASSED; rglob fails. glob and rglob return the identical five paths at this cut, so the fix changes nothing today and closes the hole for whoever adds the sixth file. The docstring said "derived from the DIRECTORY" while the code read one level of it — this capability's own round-one defect class, a check that looked like it was doing its job, arriving one level up in the cut's own instrument. The instrument gets the same scrutiny as the thing it measures. realization-evidence.md records the round. No inventory member moved, so the contract-v2.5 inventory is unchanged and verify-commit stays green. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Round one taken: Copilot's Red-proven against the pre-fix predicate, not reasoned about. With an unregistered nested sixth schema on disk, Worth naming: the docstring said "derived from the DIRECTORY" while the code read one level of it — this capability's own round-one defect class (a check that looked like it was doing its job) arriving one level up, in the cut's own instrument. Recorded in No release-inventory member moved, so @codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 12 out of 12 changed files in this pull request and generated no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
tests/signed_execution_chain/test_manifest_row_digests.py:145
assert isinstance(row["sha256"], str)is placed after the digest-equality assertion, so it will never run in the common failure case wheresha256is parsed as an int (or any other mismatch). That makes the type/quoting guarantee effectively unenforced and the explanatory comment misleading; check the type first, then compare digests using the string value so failures report the intended reason.
recorded = str(row["sha256"])
assert recorded == actual, (
f"contracts/manifest.yaml records {recorded[:12]}… for {row['path']} "
f"but the bytes hash to {actual[:12]}…. The schema moved and the row did "
f"not. Recompute it in the SAME commit — a consumer verifies the digest "
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…edecessor tags, keep the policy half it declined MERGE, NOT REBASE, because a repository rule forbids force-pushing a change/* branch and this branch is already published with a bot round on it. The catch-up merge is this repository's own precedent (4ed42be, 8d1f6e9). origin/main advanced to 96b8a61 (PR #532) after this cut went green, and its entire subject is the contract-v2.3/v2.4 tag publication this cut's fresh count had surfaced and recorded itself. #532 is the better record: it peels BOTH tag objects, runs verify-commit at both targets, and re-validates the targeting rule against a live control (contract-v2.2 -> 8ccfb67, matching its published tag). contracts/CHANGELOG.md IS A RELEASE-INVENTORY MEMBER, so #532's edit moved it and verify-commit went red on the merged tree with exactly one finding, HGR-RELEASE-DIGEST-MISMATCH on contracts/CHANGELOG.md — the check doing its job on a real drift, not the editorial uncut state. The inventory is REBUILT (third build) and verify-commit is green again: still 283 entries, membership unchanged, the same five digests moved. - contracts/CHANGELOG.md: this cut's predecessor-tag subsection rewritten from a MEASUREMENT into a CITATION of #532. Two records of one measurement is how they drift apart, and the v2.4 entry is where a reader of that bundle looks. The merge itself auto-resolved cleanly — #532 inserts inside the v2.4 entry, this cut inserts a new entry above it. - docs/contract-versioning-policy.md: KEPT AND WIDENED, because #532 explicitly declines this half. It names the structural cause (issue #528: no gate anywhere asserts that a declared bundle has a published tag), observes that the policy's "every bundle from contract-v1.7 is now tagged" has been false TWICE while nothing noticed, and correctly refuses to correct the prose a third time. The section now carries contract-v2.3 AND contract-v2.4 as instances FOUR and FIVE beside the three the 2026-08-25 ruling discharged, with each untagged window, the fact that v2.3 was CONSUMED as a spent number inside its window, why it recurred, and the plain statement that a record is not a check and #528 is open. - The count was RE-TAKEN at the new base and still reads contract-v2.5: the remote publishes tags through contract-v2.4 and no contract-v2.5, contracts/releases/ holds inventories through contract-v2.4, and v2.4's inventory still carries zero signed-execution-chain members. Gates re-run on the merged content: verify-commit green, validate-manifest-digests 155/155, openspec --all --strict 80 passed, full suite 8363 passed / 21 skipped / 0 failed, doc-health 60 -> 58 with ZERO new findings and the TWO drift findings this cut discharges removed. THE LESSON, already written down once in this estate: check for a sibling branch or PR on your SUBJECT the minute before authoring a record about it, not only at the start. This cut counted correctly at its tip and was still overtaken, because the count surfaced a fact interesting enough that somebody else was already writing it up. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Brought forward onto Why it mattered rather than being routine bookkeeping: #532's subject is exactly the
Every gate re-run on the merged content, and the merge commit's tree is byte-identical to the candidate they were run against:
@codex review |
| def _family_rows() -> dict[str, dict]: | ||
| manifest = yaml.safe_load(MANIFEST.read_text(encoding="utf-8")) | ||
| rows: dict[str, dict] = {} | ||
| for row in _walk(manifest): | ||
| identifier = row["id"] | ||
| if not identifier.startswith("signed-execution-chain"): | ||
| continue | ||
| assert identifier not in rows, f"duplicate manifest row {identifier!r}" | ||
| rows[identifier] = row | ||
| return rows |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6950993969
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| `contract-v1.33`/`v1.35`/`v1.39` in August and then reached `contract-v2.3` and | ||
| `contract-v2.4` in the same week the August ruling was still being cited. **It is | ||
| filed as issue #528 and is OPEN.** Until a check lands, the sentence above can go | ||
| false a fourth time, and this section records rather than prevents that. A reader |
There was a problem hiding this comment.
Correct the recurrence ordinal to third
The new policy text says another lapse would make the sentence false a fourth time, but this cut's own changelog states that it has been false twice and can therefore go false a third time (contracts/CHANGELOG.md:203-211). This leaves the authoritative versioning records internally contradictory when a future reader encounters another missing tag; change “fourth” to “third” or explicitly document a different counting basis.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
|
Ready for the merge decision. All four required checks GREEN at Bot disposition, recorded plainly:
Round three's silence is silence, not a refusal message and not an approval, so it is noted rather than counted. What the merge commit changed relative to the twice-reviewed content is bounded and stated: its tree is byte-identical to the candidate every gate was run against, and the delta from The Sourcery is an upsell stub on this repository and returned no review. |
Provenance — merged on Brett Heap's in-session order, 2026-08-31 ("merge and tag when green")All four checks green at tip |
…d the two boxes that confer everything stay open (#535) * Archive add-signed-execution-chain: nine requirements reach canon, and the two boxes that confer everything stay open Archived on Brett Heap's order of 2026-08-31, once the pin-sync had landed. THE ARCHIVE GATE, READ RATHER THAN INHERITED. `docs/release-realization-flow.md` wants a code-surface change's code merged on the implemented target plus a green run. Act one is PR #524, squash `9af98c4d`; act two is the cut, PR #533, squash `58fd7a4f`, whose annotated tag `contract-v2.5` (object `f0ed3f3b`) peels from the remote to that commit. Green was taken from the check-runs API at this act, not from a merge notification: on both final heads (`69509939`, `e7a37064`) all five checks report success. TWO BOXES DID NOT CLOSE, AND NOTHING HERE PRETENDS THEY DID. Task 4.5 is the OPERATOR act making `signed-execution-chain-gate` REQUIRED in the branch ruleset — a merged workflow file is not evidence, only the live ruleset state is — and 4.6 is its canary evidence, blocked on 4.5 by construction because three of its four conjuncts are producible today and the fourth cannot be read until the ruleset changes. Until 4.5 is performed requirement 9 is UNMET rather than partially met, the shipped declaration records `is_required_in_ruleset: false`, and the reader warns on every run. So the capability reaches canon MEETING ITS OWN DEGRADED CASE rather than evading it, which is what makes the archive lawful. Both are restated as dispositions in the archived tasks.md (4.5, 4.6, 6.1) and carried forward at issue #534, so an open operator act is not written down only inside an archived packet. 4.5 remains Brett's act. PROMOTION VERIFIED BYTE-FOR-BYTE, and the delta had no scenario-completeness exposure at all: it is pure ADDED into a capability that did not previously exist, so there was no canon scenario set to restate and nothing could be silently dropped. Measured anyway — 9 requirements in, 9 out, titles an identical set, all nine bodies byte-identical (9/9), 45 scenarios in, 45 out, one new capability directory, no sibling capability touched. THE MECHANISM WAS `openspec archive --yes`, NOT `proposal-support archive`, AND THE CHOICE IS THE RECORDED CONVENTION. That wrapper refuses any change whose tasks.md still carries a `^- [ ]` line — a blanket gate that cannot tell a ruled-open follow-up or a deliberately-open operator act from unfinished work. The two things it adds were run anyway on both sides of the move: the origin gate via `proposal-support verify` (ok before and after, per-change and whole-corpus), and packaging, a lawful no-op for a staged origin with no supporting-docs folder. Precedents: 2026-08-28-declare-sentinel-pin-vocabulary and the three sibling archives of 2026-08-27. Gates: `openspec validate --all --strict` 80 passed / 0 failed before and after; `pytest tests/ -q -m "not postgres"` 8363 passed / 21 skipped / 0 failed at the baseline, and 1709 passed on the reactive subsets after; `.openspec.yaml` moved rather than being lost, proved by identical blob id `57f45fe1`. Fifty-six paths still name the old home and are deliberately left standing: in the corpus the string is an opaque `subject_ref` the reader compares field-to-field and never resolves on disk, `contracts/CHANGELOG.md` is a member of the published contract-v2.5 digest inventory so editing it would raise HGR-RELEASE-DIGEST-MISMATCH, and thirteen already-archived changes carry the same stale spelling — this joins a standing class rather than introducing one. Co-Authored-By: Claude Fable 5 <[email protected]> * Bot round: name the two task counts as two readings, and record the derived-view consequence the target_release decision had not considered COPILOT — ACCEPTED. The archive-act record quoted the CLI's `Task status: 22/27` and then said the file ends at 23/28 without labelling them as two different readings. They now say so in terms: 22/27 is the CLI's reading at the moment it ran, before § 6.1 existed; 23/28 is this file's end state after the restatement adds § 6.1 as the twenty-third tick and twenty-eighth box; the five open boxes are the same five in both. Neither is a correction of the other — recording only the second would hide what the tool actually said, and only the first would misdescribe the file a later reader opens. CODEX P2 — THE PRESCRIBED FIX IS REFUSED, THE FACT BEHIND IT IS RECORDED. Codex asked that `proposal.md`'s `target_release: contract-v2.3` be rewritten to `contract-v2.5`. The realization session had already decided the opposite in terms, and that decision stands: rewriting a RATIFIED proposal's front-matter to agree with today's state is the move this repository refuses everywhere else, and doing it inside an ARCHIVE commit would make the archived packet differ from the text that was ratified — a worse defect than a superseded number. The line is also not false: it says on its own face that the number remains allocated at realization by merge order and is confirmed against the manifest at the realization's tip. But Codex surfaced a consequence the realization session's reasoning did NOT consider, and it verifies: `scripts/ideation_dashboard/generator.py` `_release_frontmatter` (:378-387) lifts the field into the dashboard snapshot (:542-547), and archived folders are in scope (`_archived_change`, :202-214), so the dashboard tile for this ARCHIVED change reports the proposal-time number. `_header_value` returns the whole physical line, so what renders carries the allocation caveat inline rather than a bare "v2.3" — which bounds the defect without dissolving it. Every authoritative surface says contract-v2.5: manifest, CHANGELOG, tasks 4.7, the published tag, the README archived row. The gap is now written down in realization-evidence.md instead of waiting to be rediscovered, and its honest home is a derived-view question — should the dashboard prefer a realization-confirmed number over a proposal-time one — not an edit to a ratified line. Re-gated: openspec validate --all --strict 80 passed / 0 failed; proposal-support verify ok; pytest tests/doc-health tests/ideation-dashboard 6024 passed, 18 skipped, 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
Realizes
add-signed-execution-chaintask 4.7 — the cut-dependent box act one(PR #524, squash
9af98c4d) deliberately left to the cutting session, because aproposed change MUST NOT reserve a minor number before merge order is known.
Registration in
contracts/manifest.yaml+contracts/CHANGELOG.md, and theadditive bundle.
Working record:
openspec/changes/add-signed-execution-chain/realization-evidence.md.THE NUMBER, FRESH-COUNTED AT THE CUT — THE THIRD COUNT
This number has moved twice, which is exactly why 4.7 required it re-counted:
contract-v2.3contract-v2.4afdf0e88cut AND tagged it alonecontract-v2.5At the tip:
contracts/manifest.yaml:3declaredcontract-v2.4;contracts/releases/held inventories throughcontract-v2.4;git ls-remote --tags originpublished v2.0–v2.4; no Unreleased block pending; andgrep -c signed-execution-chain contracts/releases/contract-v2.4.digests.yaml→ 0, so v2.4 is spent and covers none of this family.
Nothing had to be renumbered when v2.4 was taken by a sibling, because act one
wrote the re-count INSTRUCTION into
tasks.mdand no number into any contractbyte. That is the rule working, not luck.
ADDITIVE, AND NOTHING NARROWS — MEASURED, NOT CLAIMED
git diff --name-status contract-v2.4 9af98c4d -- contracts/reports 47additions and exactly ONE modification, and the one modification is
contracts/README.md— the editorial contract index, not a schema. Not oneschema, template, example or registry this repository already published moved a
byte, so there is no shared file in which a prior-bundle instance could be
refused.
contract_schema_versionunchanged.WHAT LANDED, IN ORDER, WITH THE INVENTORY LAST
contracts/manifest.yaml— bundlecontract-v2.4→contract-v2.5, plus thefamily block registering all five schemas with per-file
sha256. 167 rows→ 172;
validate-manifest-digests.py150 → 155 verify. The corpus, thefamily README, the reader and its pytest wiring are content-addressed by
commit (the openxWallet / client-identity-roster / identity-brokering /
trust-anchor precedent).
contracts/CHANGELOG.md— thecontract-v2.5entry.contracts/README.md+contracts/signed-execution-chain/README.md— thethree REALIZED and NOT YET REGISTERED sentences resolved to the literal
contract-v2.5, each keeping its enforcement line.docs/contract-versioning-policy.md— thecontract-v2.3instance recorded.tests/intent-compliance/test_release_boundary.py— the boundary pinADVANCED, not broadened.
tests/signed_execution_chain/test_manifest_row_digests.py— new.tasks.md4.7 ticked with evidence;README.mdandideation/staging/INDEX.mdrecord the cut and that TWO boxes remain open.contracts/releases/contract-v2.5.digests.yaml— built LAST, neverhand-edited. 283 entries, membership UNCHANGED (283 at v2.4, zero added,
zero removed — an additive release shows in what a member ASSERTS). Exactly
five digests move, each a file this cut edited.
REGISTRATION IS NOT ENFORCEMENT, AND EVERY ARTIFACT SAYS SO
Tasks 4.5 and 4.6 are OPEN and are not this session's to close, and they are
the ones that decide whether any of the rest confers anything. 4.5 makes the named
reader a REQUIRED check in the branch ruleset — an OPERATOR act whose evidence is
the live ruleset state and never a merged workflow file. 4.6 is its canary
evidence and is blocked on 4.5 by construction. So requirement 9 is UNMET
rather than partially met, the packaged conformance declaration still records
is_required_in_ruleset: false, and the reader still emits its standingreader-not-requiredwarning on every run. A manifest row is a consumptioncontract for BYTES; nothing here may be cited as evidence that a chain is walked
before a terminal act.
THE NEW TEST, AND WHY IT EARNS ITS PLACE
scripts/validate-manifest-digests.pysweeps all 155 rows and is wired into noworkflow and no test —
grep -rn validate-manifest-digestsfinds it only inprose. A tool that catches drift when a human remembers to run it is the failure
mode it was written to close, one level up: it exists because one stale row rode
through THREE bundle cuts undetected. So the five rows this cut adds get a
standing check, scoped to this family so a red reds for this capability's reason
(the
tests/credential_contracts/test_manifest_row_digest.pyprecedent).RED-PROVEN, NOT ASSUMED, and the proof found a defect in the test itself:
deadbeefcafe0000…AssertionErrornaming both digestsTypeError— a harness failureAssertionError, recorded value'0'An unquoted all-digit YAML scalar parses as an int, so slicing it crashed
where a MISMATCH was the answer owed. That is this realization's own round-three
lesson — every refusal must reach the caller as the same kind of answer —
arriving in its own gate, found by RUNNING the mutation rather than reading the
code. Repaired with
str()(the sweeper's own precedent) plus an explicitisinstance(..., str)assertion, because an int-parsed digest also silently losesleading zeros.
THE PREDECESSOR TAGS — RECORDED BY #532, CITED HERE, AND THE POLICY HALF IT DECLINED
This cut's fresh count surfaced that
contract-v2.3— which thecontract-v2.4entry recorded as declared and NEVER TAGGED, with publication PENDING an owner act
— had since been tagged, and the first draft measured and recorded that discharge
itself. Then
origin/mainadvanced to96b8a616(PR #532), whose entire subjectis that same publication. It is the better record: it peels BOTH tag objects
(v2.3 AND v2.4, which the v2.4 entry had also left unmentioned), runs
verify-commitat both targets, and re-validates the targeting rule against a livecontrol (
contract-v2.2→8ccfb67b, matching its published tag).So this cut's subsection was rewritten from a MEASUREMENT into a CITATION — two
records of one measurement is how they drift apart — and the policy half was KEPT
AND WIDENED, because #532 explicitly declines it. That entry names the structural
cause (#528: no gate anywhere asserts a declared bundle has a published tag),
observes that the policy's "every bundle from
contract-v1.7… is now tagged"has been false twice while nothing noticed, and correctly refuses to correct the
prose a third time.
docs/contract-versioning-policy.md§ Untagged Bundles nowcarries v2.3 and v2.4 as instances FOUR and FIVE beside the August three — with
each untagged window, the fact that v2.3 was CONSUMED as a spent number inside its
own window, why it recurred, and the plain statement that a record is not a
check and #528 is open.
MERGE, NOT REBASE. A repository rule forbids force-pushing a
change/*branchand this one was already published with a bot round on it, so the catch-up landed as
a merge — this repository's own precedent (
4ed42be5,8d1f6e9e). The mergeauto-resolved cleanly: #532 inserts inside the v2.4 entry, this cut inserts a new
entry above it.
contracts/CHANGELOG.mdIS an inventory member, so #532's edit madeverify-commitgo red on the merged tree with exactly one finding — the check doingits job on a real drift — and the inventory was rebuilt (third build). Every
gate was re-run on the merged content, and the merge commit's tree is byte-identical
to the candidate they were run against.
THE LESSON: check for a sibling branch or PR on your SUBJECT the minute before
authoring a record about it, not only at the start. This cut counted correctly at
its tip and was still overtaken, because the count surfaced a fact interesting
enough that somebody else was already writing it up.
THE UNCUT MISMATCH 4.7 PREDICTED, FOUND EXACTLY AS PREDICTED
verify-commit --commit HEADat9af98c4dreported ONEHGR-RELEASE-DIGEST-MISMATCH, oncontracts/README.md, and nothing else — thedocumented editorial uncut state. No non-editorial member drifted. The cut
resolves it by construction.
REBASED ONTO THE FINAL INTEGRATION POINT
Policy step 1 requires the rebase and an IMMEDIATE re-check; step 4 makes a
different commit a new candidate whose gates rerun.
origin/mainadvanced9af98c4d→95a22a42(PR #531) →96b8a616(PR #532) mid-authoring, so thebranch was brought forward TWICE and the count RE-TAKEN each time: inventories still through v2.4, tags still through v2.4, no
v2.5 on the remote, still 0 family members in v2.4's inventory. v2.5 still
stands. The inventory needed no rebuild, measured not assumed: #531 touched
docs/doc-health.md,scripts/doc_health/{report,runner}.pyandtests/doc-health/test_suite.py— not one release-inventory member. Everygate below was re-run at each candidate, the final one included.
GATES
verify-commit --commit HEADinventory=contracts/releases/contract-v2.5.digests.yaml, exit 0, zero findingsverify-tagv2.3 / v2.4release verify-tag: pass/passvalidate-manifest-digests.pyOK … 155 per-file digest(s) verifyverify-openxwallet-pin.pyOK … openXwallet@6b248d40… (wallet-v1.3), 8 digest(s) recomputedvalidate-signed-execution-chain.py .0 error(s), 1 warning(s)— thereader-not-requiredwarning, which is 4.5's absence speakingopenspec validate add-signed-execution-chain --strictopenspec validate --all --strictTotals: 80 passed, 0 failedscripts/validate-*.py9af98c4d(16 errors in files this cut does not touch, measured by stash-and-rerun)pytest tests/ -q -m "not postgres"verify-promotion --commit HEAD --remote origin --tag contract-v2.5HGR-RELEASE-CANDIDATE-UNREACHABLE+ 5 ×HGR-RELEASE-SURFACE-DRIFT). NoHGR-RELEASE-TAG-EXISTS, so the name is free on the remote. EXPECTED pre-merge; clears on mergeopenxFactory96b8a6165/4/38/13 = 60 (drift 2); branch 5/4/38/11 = 58 (drift 0). Set difference taken BOTH ways: zero new of any family, exactly two removed — both the drift findings this cut discharges (contracts/README.mdand, at the final base,contracts/CHANGELOG.md)The
contract-v2.5TAG is NOT in this PR: policy step 5 publishes it againstthe commit that actually LANDS.
Co-Authored-By: Claude Fable 5 [email protected]