Repository navigation
Conversation
…ied, contract-v2.6 superseded unpublished The first MAJOR since contract-v2.0, and it is a major because the tree already is one: a951be7 (#562) and 6856f50 (#564) merged in the same minute on 2026-09-01T19:43Z and between them removed three shapes contract-v2.5 accepted. From that point no minor number can honestly be declared on this tree. WHAT LANDS AT THIS MAJOR, and the changelog entry names every one: 1. the hermes flat-key FALLBACK READ leaves the domain-factory validator, with LEGACY_HERMES_KEYS and the starter's emission of the keys (#562); 2. the openworkflow-prefixed owner_layer branch leaves the same validator, one character wider than the entry declared (#562); 3. the doxBench chat-turn v1 envelope family leaves the schema, with its deprecated_envelopes block, the dispatch, twelve fixtures and the byte-identity baseline (#564); 4. add-chain-attestation tranche two, carried forward unchanged from the never-published contract-v2.6 (#556, 518c670); 5. the deprecation-section moves: the chat-turn Executed row here, the other two plus the flat KEYS' restatement in #562; 6. xfactory-workbench-chat-turn.schema.yaml's own contract_schema_version 1 -> 2, the ONE integer this major moves (OQ-2, answered by measurement); 7. doxbench_contracts.CONTRACT_TAG off its knowingly stale contract-v2.2; 8. contract-v2.6 recorded as spent, never verifiable, never published. AND ONE ACT THAT NAMED THIS MAJOR AND DID NOT LAND: add-binding-consumer- identity's eight consumer:-block constraining acts. None was authored -- validate-credential-contracts.py still emits all eight codes as warnings, measured -- so the entry is RESTATED to contract-v4.0 with the reason, under contract-deprecation-execution's ratified "execute at the major it targets, or restate with the reason", whose scenario makes leaving a spent target a defect of the cut. Two more spent targets found in the tree and restated the same way, both raised in the pull request: the context-packet-blank warning that was to become an ERROR at contract-v2.0, and nothing else. WHY contract-v2.6 IS SUPERSEDED RATHER THAN REPAIRED. Its cut branch forked at 518c670 and was never rebased over #562/#564, so verify-commit at bbbbeda returns five HGR-RELEASE-DIGEST-MISMATCH findings (three of them on a normative schema, the versioning policy and a validator) and no tag was ever created. A digest rebuild would fix that and not the second defect: contract-v2.6 declares change class ADDITIVE (minor) on a tree that refuses three shapes contract-v2.5 accepted, which no completion commit can cure. Brett Heap ruled 2026-09-02, in session: "Supersede: v3.0 is the completion." The number is spent and never reused; the v2.6 entry and its inventory are left exactly as written, as the record of what was declared. THE ADDITIVE CLAIM IS RE-MEASURED AND SPLIT IN TWO, attributed. Chain- attestation's content narrows nothing, and that survives the re-measurement because its surface and the retirements' are disjoint; the narrowing at this bundle is the three retirements' and theirs alone. Folding them into one verdict would have made the major's own reason invisible. THE TAG IS NOT PART OF THIS COMMIT. Bundle Realization Order step 4 -- every gate and verify-commit rerun on the PROMOTED commit -- is the step whose omission killed contract-v2.6, and it runs before any tag is published. Realizes the cut half of retire-hermes-flat-keys-and-openworkflow-tokens § 4, retire-doxbench-chat-turn-v1 § 6 and add-chain-attestation § 5.9 (re-targeted from contract-v2.6 with the reason stated rather than edited in). Issue #522. 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 ✨
There was a problem hiding this comment.
🟡 Changes recommended
README.md contains an incorrect PR/squash reference for the retire-doxbench-chat-turn-v1 realization, which should be corrected before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR performs the contract-v3.0 contract bundle cut (major), carrying forward chain-attestation tranche-two content, executing three previously-deprecated retirements, and updating the release surface (manifest/changelog/release inventory) and consumer pinning to reflect the new bundle version.
Changes:
- Cut
contract-v3.0: bumpcontracts/manifest.yaml, add thecontract-v3.0changelog entry, and addcontracts/releases/contract-v3.0.digests.yaml. - Update the doxBench chat-turn contract to reflect the v1 envelope retirement (including bumping the file’s
contract_schema_versionto 2) and repin doxBench consumer constants/digests tocontract-v3.0. - Restate / record policy and task artifacts for the major cut (including moving/adding executed deprecation records and updating boundary tests to recognize
contract-v3.0).
File summaries
| File | Description |
|---|---|
| tests/intent-compliance/test_release_boundary.py | Extends release-boundary classification to include contract-v3.0. |
| tests/ideation-dashboard/test_doxbench_contracts.py | Updates pinned doxBench release ref/tag and chat-turn digest to contract-v3.0. |
| scripts/ideation_dashboard/doxbench_contracts.py | Repins doxBench contract constants/digests and updates module documentation for the v1 envelope retirement and new cut. |
| README.md | Updates the “Active changes” index to reflect the contract-v3.0 cut and related realizations. |
| openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/tasks.md | Marks the contract-v3.0 cut tasks as done and records cut-time decisions/evidence. |
| openspec/changes/retire-doxbench-chat-turn-v1/tasks.md | Adds a post-merge addendum and marks the contract-v3.0 cut items as done with evidence. |
| openspec/changes/add-chain-attestation/tasks.md | Retargets the previously-claimed v2.6 cut record to contract-v3.0 and records the supersedence rationale. |
| docs/contract-versioning-policy.md | Moves the doxBench v1 deprecation to Executed and restates the consumer: constraint target to contract-v4.0 with rationale. |
| contracts/schemas/xfactory-workbench-chat-turn.schema.yaml | Bumps per-file contract_schema_version 1 → 2 with explanatory cut-time commentary. |
| contracts/releases/contract-v3.0.digests.yaml | Adds the contract-v3.0 release digest inventory (new file). |
| contracts/README.md | Updates the chat-turn schema row to reflect v1 removal at contract-v3.0 and the schema version bump. |
| contracts/manifest.yaml | Bumps contract_bundle_version to contract-v3.0 and refreshes the chat-turn schema digest/prose. |
| contracts/CHANGELOG.md | Adds the contract-v3.0 BREAKING entry and records contract-v2.6 as superseded/unpublished. |
Review details
- Files reviewed: 13/13 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| `retire-doxbench-chat-turn-v1`. **REALIZATION §§ 2/3/6.1 IS MERGED** (PR #562, | ||
| squash `a951be76`) and **THE `contract-v3.0` CUT IS TAKEN** — § 4 ticked with | ||
| its evidence, OQ-1 decided BOTH (the two realizations merged in the same |
|
Superseded by #573 — same branch, rebased onto the final integration point. A force-push to |
DO NOT MERGE WITHOUT THE OWNER'S WORD, AND DO NOT TAG FROM THIS BRANCH. The
annotated tag is a separate post-merge act from an independent clone, taken only
after § Bundle Realization Order step 4. That is the step whose omission made
contract-v2.6unpublishable, and it is enumerated below.The first MAJOR since
contract-v2.0. It is a major because the tree alreadyis one:
a951be76(#562) and6856f502(#564) merged in the same minute,2026-09-01T19:43Z, and between them removed three shapes
contract-v2.5accepted. From that moment no minor number can honestly be declared here — which
is the deeper reason
contract-v2.6is superseded rather than repaired.Brett Heap ruled, in session on 2026-09-01/02: execute the three #522
retirements at
contract-v3.0; "cut v3.0 after v2.6 alone" (anchoring rides3.x later); and "Supersede: v3.0 is the completion".
The fresh count, taken at the branch point
Branched off
origin/mainatbbbbeda984353ebaeb67d3e2bb1c73fcb7bac140andre-fetched immediately before the inventory build;
origin/mainhad not moved.contracts/manifest.yaml:3contract_bundle_version: contract-v2.6contracts/releases/contract-v2.6git ls-remote --tags origin 'refs/tags/contract-v*'contract-v1.7…contract-v2.5, nocontract-v2.6contracts/CHANGELOG.mdcontract-v2.6; no Unreleased blockgit ls-remote origin 'refs/tags/contract-v3.0'contract-v2.6is declared and unpublishable (below), so the next number is notcontract-v2.7: that would carry the same class-rule defect. The next availablenumber of the class the tree actually requires is
contract-v3.0.Every act that lands at this major
The changelog entry opens with this table, written in both directions, because
the § Deprecations discipline "THIS ENTRY NAMES EVERY ACT THAT LANDS AT THAT
MAJOR" is worthless if it is only true of the acts that succeeded.
hermesflat-key FALLBACK READ leaves the domain-factory validator, withLEGACY_HERMES_KEYSand the starter's emission of the keysa951be76openworkflow-prefixedowner_layerbranch leaves the same validator, with its docstring linea951be76deprecated_envelopes, the runtime and validator dispatch, twelve fixtures and the byte-identity baseline6856f502add-chain-attestationtranche two — eight new schemas, four extended additively, the corpus and the extended reader518c670b, carried from the never-publishedcontract-v2.6xfactory-workbench-chat-turn.schema.yaml's owncontract_schema_version1 → 2doxbench_contracts.CONTRACT_TAGoff its knowingly stalecontract-v2.2contract-v2.6recorded spent, never verifiable, never published…and one act that named this major and did NOT land
add-binding-consumer-identity's In Force entry read "DECLARED atcontract-v2.4 and CONSTRAINED at contract-v3.0" and "removal target
contract-v3.0". Not one of the eight constraining acts was authored —
scripts/validate-credential-contracts.pystill emits all eight codes asWARNINGS, measured at this tip — and the requiredness among them is separately
gated on a degraded fetch-identity mode that does not yet exist in the family.
It is RESTATED to
contract-v4.0with the reason, under the ratifiedrequirement "A deprecation is EXECUTED at the major it targets, or its entry is
RESTATED with the reason it stays" (
retire-hermes-flat-keys-and-openworkflow-tokens,specs/contract-deprecation-execution/spec.md), whose scenario "The targetarrives and the removal is not taken" makes leaving the spent target "a
defect of that cut rather than a neutral omission". A restatement refuses
nobody: moving a removal later can only widen what a major accepts. This is a
judgment the cut took on ratified text and it is flagged for the owner's word at
merge — the alternatives were to leave a false sentence standing at the major
that exists to close #522, or to execute eight acts nobody wrote.
Two smaller spent targets were found in the same sweep and restated the same
way, both raised here rather than absorbed:
contracts/manifest.yaml'sxfactory-workbench-chat-turnconsumption_ruleannounced that the
context-packet-blankwarning "becomes an ERROR atcontract-v2.0". It did not, and does not here —
scripts/validate-ideation-dashboard-contracts.py:1533still callsf.warn(...). Restated tocontract-v4.0with the reason (nothing authoredit; the warning has been served since
contract-v1.40, so no new window isowed). This one sits OUTSIDE § Deprecations Currently In Force, which is
why the mechanism never saw it — arguably a scope note for the
deprecation-target-currency guard All three contract-v2.0 deprecations remain In Force at v2.3 with no Deprecations Executed row #522 still owes.
scripts/ideation_dashboard/doxbench_contracts.py's module docstring stillsaid the chat-turn file holds "six closed envelopes". Corrected.
The
contract-v2.6dispositionModelled on this changelog's §
contract-v2.3disposition, but the fact isstronger and so is the disposition: v2.3 was untagged but VERIFIABLE, and its
tag was published four days later at the commit the targeting rule names.
contract-v2.6can never be.bbbbeda9(Realize add-chain-attestation: cut contract-v2.6 (what actually ran, said by the chain itself) #565) by manifest, changelog entry and inventory.verify-commit --commit bbbbeda9returns fiveHGR-RELEASE-DIGEST-MISMATCHfindings, exit 1. Two are the editorial membersthe policy allows between cuts; three are not — a normative schema, the
versioning policy itself, and a validator — and the allowance does not reach a
tag in any case. Cause: § Bundle Realization Order step 1 — the cut branch
forked at
518c670band was never rebased over Realize retire-hermes-flat-keys-and-openworkflow-tokens (§§ 2, 3, 6): the fallback read is REPLACED, the openworkflow branch is gone, and the keys stay In Force with the reason recorded — DO NOT MERGE, and NOT the cut #562/Realize retire-doxbench-chat-turn-v1 §§2-5: the v1 chat-turn family leaves, the fallback is redesigned rather than deleted, and all seven v1-only refusals are re-expressed (DO NOT MERGE) #564, which merged fourhours before the candidate
07986003was committed. Measurement of record:PR Realize add-chain-attestation: cut contract-v2.6 (what actually ran, said by the chain itself) #565 comment
5502452624; this PR cites it and does not re-derive it.git ls-remote origin refs/tags/contract-v2.6is empty. The post-mergechecklist stopped at step 2, which is the machinery working.
and
verify-commitfails there;07986003is not reachable fromorigin/main.it:
contract-v2.6declares class ADDITIVE (minor) on a tree that refusesthree shapes
contract-v2.5accepted. A digest rebuild moves five lines andmoves that not at all.
reused.
contracts/releases/contract-v2.6.digests.yamland the v2.6changelog entry are left exactly as written — they are the record of what
was declared.
first five: those were bundles whose tags nobody published; this is a bundle
whose tag nobody COULD publish. No gate asserts that a declared contract bundle has a published tag — the gap has recurred twice and was found by hand both times #528 stays open. A record is not a check.
The class-rule reasoning, and the Breaking clause discharged per removal
§ Change Classes, Breaking (major) requires three things of every removal, and
the entry discharges them per removal rather than in aggregate, because the
three served their warnings at three different releases.
contract-v1.1, forty-plus minors; the refused shape IS the warned shape (alayers-less stack, and nothing else)hermes.layers, because deleting the arm alone would have let such a stack fall through to an EMPTY layer map and produce no finding at all, a silent WIDENING at a majoropenworkflowtoken branchcontract-v1.1, which introducedxfactoryand began warning on the prefixcontract-v1.34, machine-readably, and the warnings were still firing at the removal:0 error(s), 4 warning(s)onmainataf746459,0 error(s), 0 warning(s)hereoneOfplus the delegated validator, with thedeprecated_envelopesREADER deliberately KEPT (it reports{}now) so the NEXT deprecation is not inertWho this major actually refuses, measured: all five supported consumers
declare
hermes.layers; there is not oneopenworkflow-prefixedowner_layerin a workflow gate across ten reachable repositories; the only v1 chat-turn
instances were openxFactory's own four fixtures. This major refuses shapes,
not repositories — which is why it may be taken, and not a reason to have
taken it silently.
The ADDITIVE claim is re-measured and split in two, attributed. The v2.6
entry measured "nothing narrows" against a tree in which #564 had not yet
removed the v1 schema. Re-measured over what landed: (1) chain-attestation's
content narrows nothing, which survives intact because its surface and the
retirements' are disjoint; (2) the narrowing at this bundle is the three
retirements' and theirs alone. Folding them into one verdict would make the
major's own reason invisible.
OQ-1 and OQ-2, answered at the cut
OQ-1 — both packets ride this major. Decided for the cut by the merges: the
two realizations landed in the same minute, so any bundle after that point
carries both narrowings whether it names them or not.
OQ-2 — exactly ONE integer moves, and which one is a measurement.
contract_schema_versiondoes not move.scripts/validate-domain-openxfactory-pins.py:92hard-codes"contract_schema_version": 1as the value every domainstack.yamlmustdeclare and ERRORS on any other; all five supported consumers declare
1.Moving it would ERROR the entire supported population at a major with no
warning minor ever served.
contract-v2.0moved it none either.schema_versiondoes not move — theconsent-instrument precedent keeps the row at
1while the file's own integermoves.
contracts/schemas/xfactory-workbench-chat-turn.schema.yaml's owncontract_schema_versionmoves 1 → 2. It is the one contract file whoseshape narrowed, and the estate bumps this integer even for growth. Measured
first: nothing in the repository reads it as a refusal input. Every envelope's
schema_version: {const: 1}is untouched.CONTRACT_TAGandtyped_proposalCONTRACT_TAG→contract-v3.0;CONTRACT_REF→unpublished:contract-v3.0.The pin was already incoherent before this PR touched it: #564 moved
SCHEMA_DIGESTS[CHAT_TURN_SCHEMA_FILE]to the post-removal bytes and knowinglyleft the label at
contract-v2.2, so the module pinned bytes belonging to nopublished release. The sentinel is this module's own established mechanism, used
across the v1.34/v1.38/v1.40/v2.2 realization branches, spelled so no
stack.yamlcan declare it. Resolving it post-tag is a listed post-mergestep — the
contract-v1.45residue stood three days, and that is what theobligation exists to avoid repeating.
typed_proposal: RETAINED, unreferenced, with the reason stated. Themeasured closure puts it OUTSIDE the surviving family and the ratified text
names it as retained on that false premise. Removing it here would be a
narrowing of a published contract file that no deprecation entry announced and
no minor warned on — forbidden at this major as squarely as refusing the
co-resident flat keys is. A removal owes its own deprecating minor first. The
disposition is recorded in the changelog, in the Executed row, and at the
definition's own site, so the false reachability claim is not what a reader finds
standing at the major.
verify-commitat this headThe inventory was built LAST by the canonical
build --tag contract-v3.0 --output contracts/releases/contract-v3.0.digests.yamlafter every other edit, never hand-edited: 283 entries in, 283 out, membership
and order unchanged, seven digest lines moving —
contracts/CHANGELOG.md,contracts/README.md,contracts/manifest.yaml,contracts/schemas/xfactory-workbench-chat-turn.schema.yaml,docs/contract-versioning-policy.md,scripts/validate-ideation-dashboard-contracts.pyandtests/intent-compliance/test_release_boundary.py.verify-promotionis deliberately not claimed green here: it requires thecandidate to be an ancestor of remote
mainand compares release-surface blobsbetween candidate and
main, both of which a cut branch fails by construction.It is a POST-MERGE check and it is the first post-merge step below.
Post-merge plan — in this order, and step 1 is the one that killed v2.6
creates a different commit and a different tree. From a fresh independent
clone at the squash:
verify-commit --commit <squash>, thenverify-promotion --commit <squash> --remote origin --tag contract-v3.0,then the full
pytest-suite. If the squash's tree differs from thiscandidate's in any release-surface member, the inventory is rebuilt in a
completion commit and everything reruns — no tag until it is green.
contract-v3.0on the squash, which must be "theEARLIEST FIRST-PARENT COMMIT on published
mainthat DECLARES the bundle andat which
verify-commitPASSES."verify-tag --remote origin --tag contract-v3.0plusverify-commitat thepeeled target.
CONTRACT_REF/RELEASED_REFfromunpublished:contract-v3.0to the commitcontract-v3.0dereferences to,immediately, not three days later.
retire-hermes-flat-keys-and-openworkflow-tokens§§ 5/7 and
retire-doxbench-chat-turn-v1§§ 7/8 clear on the published tagplus the five-consumer validator run;
add-chain-attestationstays ACTIVEregardless, on its §5.1–5.3 machinery gates.
add-chain-attestation§5.8's canarypair (a dropped runner attestation; a PR with no signed open decision),
which needs the published tag and a real pull request; and No gate asserts that a declared contract bundle has a published tag — the gap has recurred twice and was found by hand both times #528, the
missing check that no gate anywhere asserts a declared bundle has a published
tag. This cut is instance six.
Local gates
Recorded in a comment on this PR.
🤖 Generated with Claude Code