Skip to content

Realize add-chain-attestation: the seven record kinds, the extended links 1-6 walk of the SAME required check, and the tranche-two corpus with all 95 refusal codes red-proven - #556

Merged
brettheap merged 6 commits into
mainfrom
change/realize-chain-attestation
Sep 1, 2026
Merged

brettheap merged 6 commits into
mainfrom
change/realize-chain-attestation

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Realizes add-chain-attestation (tranche two) — ratified by Brett Heap 2026-09-01 at f54cb5bc, re-ratified at 6d7ef17b. Links 4–6 and 10: what actually ran, said by the chain itself.

What lands

The eight schema files (contracts/signed-execution-chain/): attestation-common (shared defs — signature with the signer's public key carried beside it, predecessor hash link, the CLOSED three-member evidence class composing with the ratified trust-anchor chain-custody registry in D2's declared order, and the recorded signing request as a REQUIRED member, so an unattributable signature is unrepresentable), setup-attestation (link 4, with the committed expected attestation set inside the signed bytes), commitment-extension (the same commitment written later, deadline at DISPATCH), signed-chain-binding (the seventh record kind: subject scope, closed record-kind enumeration, the chain identity served — consuming the canonical certificate-record/issuance-evidence pair and redefining neither), runner-attestation (link 5), pr-open-decision (link 6), closure-record (link 10, the three amendment-lineage limbs), remediation-declaration.

The additive extension of four shipped tranche-one files: chain-inception gains the OPTIONAL amendment_lineage block (required by the READER for any chain carrying tranche-two records; the additive-release residual is declared at SEC-R16 — making it required would have refused every inception the shipped bundle accepts, which the versioning policy classes BREAKING), digest-construction gains eleven SUBJECTS and no second construction, transparency-log-leaf gains seven leaf types and the extended refusal enumeration, conformance-declaration gains SEC-R10..R18 and the attestation_design block for the three obligations a gate cannot see. Not one published member removed, renamed or narrowed.

The reader, extended — the SAME required check walking further (scripts/signed_execution_chain/attestation.py, invoked by validate-signed-execution-chain.py): the eleven-check links_1_6 walk (tranche one's eight untouched, three legs at their own positions), the horizon rules (merged_and_never_closed, gate_scope_understated, gate_walk_incomplete, links_1_3_only_after_tranche_two — the packaged tranche-one chain keeps its cut-time links_1_3 verdict on the two-horizon doctrine), the composed tier-2 issuance verified fingerprint-first, corroboration with the custody ceiling read from the ratified registry's own file, closure's three lineage limbs, and the remediation exemption's four refusals.

The packaged tranche-two corpus (examples/tranche-two/): FOUR positive chains — the interleaved fan-out discovered as the work ran (chain two), the unamended zero-length lineage and up-front fan-out (chain three), the remediation positive (chain four), the complete single-task append target (chain five) — the consumed trust-anchor records so every reference resolves, and 74 intended-invalid negatives: all NINETY-FIVE closed refusal codes red-proven (tranche one's 24 + 71), the self-test still refusing a code with no probe, every negative re-signed after mutation so it tests the rule and not a broken signature. It ships its own log store; the split is forced by the append-only rule, recorded at the reader's CORPORA note.

Registration (tasks.md 5.9, the registration half): eight new contracts/manifest.yaml rows with per-file sha256, the four moved tranche-one rows refreshed with the extension named inside each rule, and the family/contracts READMEs updated. The cut half is deliberately NOT here: contract_bundle_version stays contract-v2.5 and no CHANGELOG entry is written — the bump, the entry, the annotated tag and release-surface-integrity's verify-commit from an independent clone are the cutting session's act, on tranche one's own precedent. The frontier was re-verified today: origin/main's CHANGELOG heads at v2.5 (the two contract-v3.0 ratifications of #551/#552 are proposal-only retirement packets targeting a future major), so tranche two claims contract-v2.6; tranche three allocates after.

Task state

  • §4.1–4.7 closed on the artifacts (each box records the settled decision and the file that encodes it).
  • §5.4, 5.5, 5.6 closed (evidence in the boxes).
  • §5.1, 5.2, 5.3 open — the two machinery gates: nothing here operates a CA, mints a tier-2 identity, holds a key, or runs an omnigent layer. SEC-R18 is declared UNMET (execution_layer_ordering: not_enforced), on this capability's own named-reader rule.
  • §5.7: the ruleset already requires signed-execution-chain-gate (org ruleset 21957695, unchanged by this PR); this PR's own green run of that check is the "same check walking further" evidence — to be recorded when CI reports.
  • §5.8 open: the two canary PRs (dropped attestation; unsigned open) are a post-landing act, like tranche one's CANARY — deliberately broken chain record; MUST FAIL signed-execution-chain-gate; never merge (task 4.6, #534) #549.
  • §5.9 half-closed as above.

Suite triage

Full-suite run before this branch: 103 failures. 92 were environmental (uninitialized openXwallet submodule — tests/trust-anchor ×83 and tests/openxwallet_pin ×9 all pass once git submodule update --init openXwallet runs; CI initializes it). 10 were real and are fixed here: the family's manifest-row digests (now thirteen rows, closed both directions), chain_reader signature/coverage/probe tests (read across BOTH corpora; obligations now eighteen with the schema's minItems: 9, maxItems: 18 keeping the shipped nine-entry declaration valid), canonical.SUBJECTS synced to the contract, and the doc-health carriage-ledger self-gate naming this packet's MODIFIED gate block as the deliberate amendment it is. 1 is pre-existing and environmental (tests/ideation-dashboard/test_snapshot.py::test_find_validator_locates_pinned_checkout needs the surrounding workspace layout; unrelated to this surface).

Doc-health zero-new against origin/main (33 = 33, identical families). openspec validate --all --strict green (81/81). The gate's own invocation (--require-pinned-wallet-vocabulary) reports 0 errors, 0 warnings over both corpora.

🤖 Generated with Claude Code

brettheap and others added 4 commits September 1, 2026 01:53
… reader, and the tranche-two corpus through 44/95 probes

The seven tranche-two record shapes, the additive amendment-lineage extension
of chain-inception, eight new digest subjects under the one construction, the
tranche-two reader module walking links 1-6 as the SAME required check, the
four-chain positive corpus (fan-out interleaved and not, unamended lineage,
remediation, append target) validating clean, and the first 24 negative
fixtures. In flight: the remaining ~50 negatives, README/manifest, and the
self-test wiring.

Co-Authored-By: Claude Fable 5 <[email protected]>
…efusal code red-proven (95/95)

One fixture per named refusal, each refused for the reason it is named for
(the self-test pins expected code and, where load-bearing, the message).
Every negative re-signs after mutating so it tests the rule and not a broken
signature — except the one whose subject IS the broken signature. The two
lineage defects that live inside signed bytes carry their own bespoke
inception. 0 errors, 0 warnings across both packaged corpora.

Co-Authored-By: Claude Fable 5 <[email protected]>
…ract-v3.0 retirement ratifications, proposal-only)
…extension moved

The eight new manifest rows with per-file sha256 and the four tranche-one rows
refreshed (their bytes moved additively; each rule says so); the family and
contracts READMEs carrying the thirteen-file state; canonical.SUBJECTS synced
to the contract's eleven added digest subjects; LEAF_TYPES and the leaf
schema's refusal enumeration synced to the reader (a second construction has
no code because it has no representation); the family pytest wiring extended —
thirteen manifest rows, eighteen obligations, probes and coverage read across
BOTH corpora — 91 passed; the carriage-ledger self-gate names this packet's
MODIFIED gate block as the deliberate amendment it is; fixture PR numbers
moved deliberately out of range so no fixture names a real pull request;
tasks.md 4.1-4.7 and 5.4-5.6 closed on the artifacts. Doc-health zero-new
against origin/main (33 = 33, same families). openspec --all --strict green.

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

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

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…reen run on this packet's own PR (#556, run 33478531543)

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

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

Realizes the add-chain-attestation tranche-two extension of the signed-execution-chain contract surface by adding tranche-two schema(s), expanding the digest-subject enumeration used by canonical hashing, and updating validator-adjacent tests/docs to treat tranche one + tranche two as a union of two packaged corpora.

Changes:

  • Extend signed-execution-chain contract coverage and canonical digest-subject enumeration to include tranche-two subjects (without introducing a second digest construction).
  • Add the tranche-two remediation declaration schema and a tranche-two negative-fixture corpus, and update tests to compute coverage/probe sets across both corpora.
  • Update doc-health self-gate expectations and contracts index documentation to reflect the tranche-two realization and registration narrative.

Reviewed changes

Copilot reviewed 99 out of 102 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/signed_execution_chain/test_manifest_row_digests.py Updates the manifest-row closure expectations from 5→13 schema rows and loosens the “registered at” assertion to accept contract-v2.5 or contract-v2.6 as appropriate.
tests/signed_execution_chain/test_chain_reader.py Updates corpus coverage/probe logic to aggregate positives/negatives across reader.CORPORA and to account for consumed trust-anchor kinds present in tranche-two fixtures.
tests/doc-health/test_modified_block_currency_self_gate.py Registers the new/continued carriage-ledger subject and updates the explanatory assertion text to match the newly expected self-gate narrative.
scripts/signed_execution_chain/canonical.py Extends the canonical digest subject set to include tranche-two subjects (keeping a single construction).
contracts/signed-execution-chain/remediation-declaration.schema.yaml Adds the remediation declaration schema (new tranche-two record kind).
contracts/signed-execution-chain/examples/tranche-two/negative/two-chain-scoped-identities-for-one-chain.yaml Negative fixture: two chain-scoped identities bound to one chain (subject_scope_mismatch).
contracts/signed-execution-chain/examples/tranche-two/negative/terminal-act-permitted-on-links-1-3-alone.yaml Negative fixture: post-tranche-two “links_1_3-only” terminal act (links_1_3_only_after_tranche_two).
contracts/signed-execution-chain/examples/tranche-two/negative/supplied-key-whose-fingerprint-is-not-the-certified-one.yaml Negative fixture: supplied pubkey fingerprint mismatch (signing_key_fingerprint_mismatch).
contracts/signed-execution-chain/examples/tranche-two/negative/signed-record-the-log-holds-no-leaf-for.yaml Negative fixture: enumerated record absent from the log (enumerated_record_unproven).
contracts/signed-execution-chain/examples/tranche-two/negative/signature-that-does-not-verify-under-the-supplied-key.yaml Negative fixture: mutated signed block with original signature (record_signature_invalid).
contracts/signed-execution-chain/examples/tranche-two/negative/setup-attestation-with-no-issuance-evidence.yaml Negative fixture: issuance provenance asserted but undeclared (issuance_provenance_asserted_undeclared).
contracts/signed-execution-chain/examples/tranche-two/negative/runner-supplies-its-own-requester-identity.yaml Negative fixture: self-reported requester attribution (requester_identity_self_reported).
contracts/signed-execution-chain/examples/tranche-two/negative/runner-produces-its-own-signature.yaml Negative fixture: attestation signed away from controller (attestation_signed_away_from_controller).
contracts/signed-execution-chain/examples/tranche-two/negative/runner-claimed-fact-recarried-as-controller-corroborated.yaml Negative fixture: evidence-class promotion without support (runner_claimed_fact_read_as_attested).
contracts/signed-execution-chain/examples/tranche-two/negative/remediation-subject-merely-mentioned.yaml Negative fixture: remediation subject not declared in covered bytes (remediation_subject_not_declared).
contracts/signed-execution-chain/examples/tranche-two/negative/remediation-offered-with-its-own-links-absent.yaml Negative fixture: remediation chain attempts to skip gate (remediation_skips_gate).
contracts/signed-execution-chain/examples/tranche-two/negative/record-chaining-from-something-other-than-its-predecessor.yaml Negative fixture: predecessor digest break (predecessor_digest_break).
contracts/signed-execution-chain/examples/tranche-two/negative/promotion-claimed-because-the-repair-was-admitted.yaml Negative fixture: promotion claimed while repaired chain unclosed (release_over_unclosed_chain).
contracts/signed-execution-chain/examples/tranche-two/negative/predecessor-digest-naming-the-wrong-subject.yaml Negative fixture: digest subject mismatch (digest_subject_unnamed).
contracts/signed-execution-chain/examples/tranche-two/negative/per-task-identity-offered-for-the-pull-request-open-decision.yaml Negative fixture: per-task identity used for chain-level decision (subject_scope_mismatch).
contracts/signed-execution-chain/examples/tranche-two/negative/opportunistic-caller-submits-a-corroborating-payload.yaml Negative fixture: signing subject not provisioned (signing_subject_not_provisioned).
contracts/signed-execution-chain/examples/tranche-two/negative/open-decision-offered-as-the-permission-to-merge.yaml Negative fixture: open decision offered as authority (open_decision_offered_as_permission).
contracts/signed-execution-chain/examples/tranche-two/negative/new-verdict-claiming-the-tranche-one-scope.yaml Negative fixture: gate scope understated (gate_scope_understated).
contracts/signed-execution-chain/examples/tranche-two/negative/links-1-6-verdict-recording-only-the-shorter-walk.yaml Negative fixture: incomplete extended walk recorded (gate_walk_incomplete).
contracts/signed-execution-chain/examples/tranche-two/negative/lane-mints-its-own-keypair-and-labels-it-with-the-expected-scope.yaml Negative fixture: forged attestation identity (forged_attestation_identity).
contracts/signed-execution-chain/examples/tranche-two/negative/independently-observed-fact-naming-no-observer.yaml Negative fixture: unsupported evidence class usage (evidence_class_unsupported).
contracts/signed-execution-chain/examples/tranche-two/negative/extension-signed-somewhere-other-than-the-controller.yaml Negative fixture: extension signed away from controller (extension_signed_away_from_controller).
contracts/signed-execution-chain/examples/tranche-two/negative/exemption-claimed-by-inheritance.yaml Negative fixture: remediation exemption inherited (remediation_exemption_inherited).
contracts/signed-execution-chain/examples/tranche-two/negative/dispatched-task-whose-attestation-never-arrives.yaml Negative fixture: dispatched leaf never written (dispatched_leaf_never_written).
contracts/signed-execution-chain/examples/tranche-two/negative/decision-whose-pull-request-is-not-the-one-merged.yaml Negative fixture: open decision PR mismatch (open_decision_pull_request_mismatch).
contracts/signed-execution-chain/examples/tranche-two/negative/decision-naming-another-chain.yaml Negative fixture: open decision names another chain (open_decision_names_another_chain).
contracts/signed-execution-chain/examples/tranche-two/negative/decision-enumerating-less-than-the-committed-expectation.yaml Negative fixture: decision enumeration incomplete (open_decision_enumeration_incomplete).
contracts/signed-execution-chain/examples/tranche-two/negative/decision-enumerating-an-attestation-nothing-committed.yaml Negative fixture: attestation outside committed expectation (attestation_outside_committed_expectation).
contracts/signed-execution-chain/examples/tranche-two/negative/controller-standing-not-checked-at-signing.yaml Negative fixture: revocation standing unchecked (revocation_standing_unchecked).
contracts/signed-execution-chain/examples/tranche-two/negative/controller-certificate-revoked-at-signing.yaml Negative fixture: certificate revoked at signing (certificate_revoked_at_signing).
contracts/signed-execution-chain/examples/tranche-two/negative/controller-certificate-chains-to-no-held-anchor.yaml Negative fixture: controller anchor not held (controller_anchor_not_held).
contracts/signed-execution-chain/examples/tranche-two/negative/commitment-extension-written-after-the-attestation-arrived.yaml Negative fixture: commitment extension written after dispatch (commitment_extension_after_dispatch).
contracts/signed-execution-chain/examples/tranche-two/negative/closure-with-a-lane-claimed-test-outcome.yaml Negative fixture: closure outcome unestablished (lane-claimed) (closure_outcome_unestablished).
contracts/signed-execution-chain/examples/tranche-two/negative/closure-testing-a-revision-other-than-the-merge.yaml Negative fixture: tested revision mismatch (tested_revision_mismatch).
contracts/signed-execution-chain/examples/tranche-two/negative/closure-running-a-test-other-than-the-ratified-one.yaml Negative fixture: governed test identity mismatch (governed_test_identity_mismatch).
contracts/signed-execution-chain/examples/tranche-two/negative/closure-over-an-unsigned-test-record.yaml Negative fixture: closure result unsigned (closure_result_unsigned).
contracts/signed-execution-chain/examples/tranche-two/negative/closure-over-a-proposal-other-than-the-ratified-one.yaml Negative fixture: closure proposal binding mismatch (closure_proposal_binding_mismatch).
contracts/signed-execution-chain/examples/tranche-two/negative/closure-over-a-failing-test.yaml Negative fixture: closure result failed (closure_result_failed).
contracts/signed-execution-chain/examples/tranche-two/negative/chain-scoped-request-from-a-caller-the-inception-does-not-bind.yaml Negative fixture: chain-scoped signing request unattributable (signing_request_unattributable).
contracts/signed-execution-chain/examples/tranche-two/negative/chain-scoped-identity-offered-for-a-runner-attestation.yaml Negative fixture: chain-scoped identity used for runner attestation (record_kind_outside_closed_enumeration).
contracts/signed-execution-chain/examples/tranche-two/negative/chain-binding-names-another-chain.yaml Negative fixture: chain binding names another chain (chain_binding_names_another_chain).
contracts/signed-execution-chain/examples/tranche-two/negative/binding-referencing-issuance-evidence-that-is-not-in-scope.yaml Negative fixture: binding references non-scoped issuance evidence (forged_attestation_identity).
contracts/signed-execution-chain/examples/tranche-two/negative/binding-authorizing-a-kind-outside-its-scope.yaml Negative fixture: binding widens authorized kinds (record_kind_outside_closed_enumeration).
contracts/signed-execution-chain/examples/tranche-two/negative/attested-payload-disagreeing-with-the-setup-attestation.yaml Negative fixture: payload disagrees with setup attestation (payload_disagrees_with_setup_attestation).
contracts/signed-execution-chain/examples/tranche-two/negative/attestation-leaf-written-after-its-successors.yaml Negative fixture: attestation leaf deferred past successor (attestation_leaf_deferred_past_successor).
contracts/signed-execution-chain/examples/tranche-two/negative/attestation-identity-recorded-as-the-actor.yaml Negative fixture: tier-2 identity recorded as actor (attestation_identity_as_actor).
contracts/signed-execution-chain/examples/tranche-two/negative/attestation-for-a-task-no-commitment-covers.yaml Negative fixture: attestation for uncommitted task (attestation_for_uncommitted_task).
contracts/signed-execution-chain/digest-construction.schema.yaml Extends the digest-subject enum with tranche-two subjects while keeping the single construction.
contracts/README.md Adds a tranche-two row to the contracts index describing registration and tranche-two semantics.

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

Copilot AI review requested due to automatic review settings September 1, 2026 06:43

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

Copilot reviewed 99 out of 102 changed files in this pull request and generated no new comments.

@brettheap

Copy link
Copy Markdown
Contributor Author

Bench record at head f7a85563 — all four required checks green, verdicts enumerated by named head:

  • signed-execution-chain-gate: pass on both heads of this PR (run 33478531543 at 828d6284, run 33478727088 at f7a85563) — the SAME required check walking the extended links 1–6 over both packaged corpora, 95/95 refusal codes red-proven in its self-test. The first of those runs plus a live ruleset read (org ruleset 21957695, enforcement: active, required check unchanged) closes tasks.md 5.7, recorded in the box.
  • pytest-suite: pass (run 33478727137) — includes the family wiring extended to thirteen manifest rows / eighteen obligations / both-corpora probes, and the carriage-ledger self-gate naming this packet's MODIFIED gate block (the red the tranche-three lane independently reproduced at 1a69b7cb is fixed HERE, not dismissed as environmental).
  • wallet-validation: pass (run 33478727194). merge-master-approval: pass (run 33478727499).

Bot bench state, recorded rather than smoothed: Codex REFUSED the review request twice at its usage limit (its own replies above) — per the standing Codex-silence procedure this is recorded as no Codex verdict, not as a clean pass; a re-request is owed when the limit resets if Brett wants Codex on the record before merging. Copilot reviewed 99/102 files at f7a85563 and generated zero comments (review 5074762721). Sourcery is the known upsell stub.

Stopping here — merge is Brett's word. Post-merge acts owed: the v2.6 cut (bundle bump + CHANGELOG + annotated tag + release-surface-integrity verify-commit from an independent clone; frontier re-verified at v2.5 today), the 5.8 canary pair, and tranche three's PR queues behind the cut (it allocates v2.7).

… which landed the identical subject first

Both sides named ('add-chain-attestation', 'signed-execution-chain', 'A gate
validates the short chain as a hash-linked chain') — main's version is the one
in force, so this branch takes it wholesale and drops its duplicate wording.
The family suite is green over the resolution (15 passed).

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

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

Copilot reviewed 99 out of 101 changed files in this pull request and generated 1 comment.

Comment on lines +182 to +186
# Tranche one's rows register at contract-v2.5 (four of them additionally
# noting the v2.6 extension that moved their bytes); tranche two's register
# at contract-v2.6. Either way the row must SAY which bundle registered it.
assert ("Registered at contract-v2.5" in rule
or "Registered at contract-v2.6" in rule), row_id
@brettheap

Copy link
Copy Markdown
Contributor Author

Provenance for the admin-merge that follows: Brett Heap's word, given 2026-09-01 and relayed through the coordinating session: "merge #556, then the cut." Gap-check immediately before the act: head 3d68c22e, all four required checks green (signed-execution-chain-gate, pytest-suite, wallet-validation, merge-master-approval), no review or comment newer than the bench record, base moved only by proposal-only landings (#557 carriage-ledger naming — already yielded to in the merge commit — and #544/#542, no surface overlap). mergeStateStatus: BLOCKED is the standing lane: Brett's approvals never register on his own PRs, so the merge is performed admin, squash, on his word as recorded here.

@brettheap
brettheap merged commit 518c670 into main Sep 1, 2026
5 checks passed
brettheap added a commit that referenced this pull request Sep 2, 2026
…said by the chain itself) (#565)

* Realize add-chain-attestation: cut contract-v2.6 (what actually ran, 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]>

* Answer both Copilot findings in prose, and re-baseline the one digest 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]>

---------

Co-authored-by: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 2, 2026
…cuted, chain-attestation carried, contract-v2.6 superseded unpublished (#573)

* Cut contract-v3.0: three retirements executed, chain-attestation carried, 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]>

* Fix round: OQ-2 answered NO on the realization's own evidence, three bot findings, and the release-tag-publication collision declared

FOUR THINGS, and the first is a correction of this cut's own judgment.

1. OQ-2 REVERSED, AND THE REVERSAL IS THE FINDING. The cut bumped
   xfactory-workbench-chat-turn.schema.yaml's contract_schema_version 1 -> 2 on
   a measurement that "nothing in the repository reads it as a refusal input".
   Two tests read it -- test_doxbench_contracts.py's
   test_the_widened_family_is_the_only_one_the_file_declares and
   test_doxchat_model_intake.py -- and the first carries the realization's
   REASONING beside the assertion: the envelopes this file no longer defines
   cannot be validated against it at all, so there is no shape left for a bumped
   integer to describe. The answer was already in the tree, in executable form,
   before the packet's box asked the cut for it. NO contract_schema_version
   moves at this major -- not the set's, not any manifest row's, not the file's
   -- and the chat-turn digest reverts byte-for-byte to the realization's
   350bfedc. Recorded in the CHANGELOG and both packets rather than quietly
   reverted, because a cut that overturns a ratified realization's reasoned
   decision on a bad measurement should say so.

2. THREE COPILOT FINDINGS, all taken. "contract-v3.0 shipped" -> "was CUT",
   this section's own declared/published distinction. And the inherited claim
   that the `unpublished:` sentinel is "a value no stack.yaml can declare"
   overclaims -- a repository can write the string; what stops it is
   validate-domain-openxfactory-pins.py requiring a 40-hex SHA for
   contract_ref_type: commit. Corrected in three places and named as an
   overclaim rather than silently reworded; the historical comments that made it
   are left standing as records.

3. THE release-tag-publication FAMILY READS contract-v2.6 AND HAS NO VOCABULARY
   FOR IT, declared rather than left to be hit. It reports the bundle at WARNING
   today -- and its test is ALREADY RED ON main, independently of this cut,
   which reads origin/main -- and will report it at ERROR without grading once
   the manifest moves, permanently, because the tag it prescribes is
   unperformable. The finding is TRUE and the family is not wrong; it has no
   third state between published and owes-a-tag. The cut does NOT weaken it:
   Brett ruled that v3.0 supersedes v2.6, not that a checker should stop
   objecting to abandoned bundles. Filed as openxFactory issue #575 with the
   five things a disposition owes, and declared in the CHANGELOG.

4. The inventory rebuilt over all of it. 283 entries in, 283 out.

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

* Fix round 2: two Copilot findings — the stale bump sentence, and the sweep sentence this cut makes false

1. contracts/CHANGELOG.md said the cut "moves that digest once more, for the
   contract_schema_version bump above". It does not: fix round 1 answered OQ-2
   NO and reverted the bump, so SCHEMA_DIGESTS keeps the realization's 350bfedc
   and what this cut changes is the LABEL beside it -- which is the whole of the
   repair, the label having been the incoherent half. Caught by Copilot against
   the fix round that created it, which is the round working.

2. doxbench_contracts.py's sweep note -- "NO `unpublished:` VALUE IS ASSIGNED
   ANYWHERE in the repository" -- is FALSE from this cut, which assigns
   `unpublished:contract-v3.0`. The fix block below it already said so; Copilot
   read the sentence and not the block three paragraphs later, which is exactly
   how a reader meets it. The pointer is now AT the sentence. The sentence
   itself is annotated rather than rewritten, on its own closing rule: it is the
   record of what was true at the commit it describes, and editing it to match
   today would destroy the evidence that the sweep happened. It becomes true
   again when the tag is published and the ref resolved -- the post-merge step
   the v1.45 residue is the argument for not deferring.

Inventory rebuilt: 283 entries in, 283 out.

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

* Fix round 3: the declared/published distinction, in the two places that still blurred it

Copilot's round-3 finding, and it is the same class as round 1's: this repository
distinguishes a bundle that is DECLARED from one that is PUBLISHED (a bundle is
not published until its tag exists), and two sentences written by this cut used
the publication word for the declaration.

  contracts/manifest.yaml:1731 -- "contract-v3.0 ships here" is now
  "contract-v3.0 is DECLARED here (declared, not published -- a bundle is not
  published until its tag exists, and this row is written at the cut)". The
  sentence sits inside the context-packet-blank restatement, where the whole
  point is that contract-v2.0 SHIPPED without taking a narrowing it announced,
  so blurring the two words there is worse than elsewhere.

  docs/contract-versioning-policy.md:406 -- "until that major shipped without
  any of the eight acts" is now "was CUT". Same correction, same reason: the
  consumer-block entry's restatement turns on the target ARRIVING, which it
  does at the declaration.

Swept for the rest: no other sentence in this cut says a contract-v3.0 that has
no tag has shipped.

Inventory rebuilt: 283 entries in, 283 out.

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

---------

Co-authored-by: Claude Fable 5 <[email protected]>
@brettheap
brettheap deleted the change/realize-chain-attestation branch September 2, 2026 18:56
brettheap pushed a commit that referenced this pull request Sep 4, 2026
…on the owner's word and the tranche-two precedent

Brett Heap, 2026-09-04, in session — RULING for lane openxfactory-1d's PR #629: "merge
629, register now". tasks.md 4.11 put registration "at the additive bundle cut"; the
owner overruled the TIMING, on the precedent of add-chain-attestation (#556, 518c670),
which registered its eight rows in its realization and left the version bump and the
changelog entry to the cut. Twelve manifest rows added in the manifest's existing shape
(per-file sha256; validate-manifest-digests: 175 verify, was 163); one README paragraph
in contracts/chain-anchoring/README.md; 4.11 ticked with the overrule recorded;
proposal.md code_surface discloses the timing. NO bundle number taken or reserved;
contract_bundle_version stays main's contract-v3.2; CHANGELOG untouched (the cut's act).

Gates at this commit: chain tests 203 passed; tests/doc-health 1500 passed; openspec
--all --strict 88/88; proposal-support verify ok; validate-chain-anchoring 0 errors / 2
standing warnings; chain gate 0/0 with pinned vocabulary; sequenced_after ok (no pin
moved); verify-commit mismatch set == origin/main's two (manifest editorial; policy doc
pre-existing) — nothing new.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 4, 2026
…very refusal seen to fire — adopted from the ownerless branch (#629)

* WIP realize-chain-anchoring: twelve schemas landed, validator through its scope layer, grammar-settlement edits carried

Tranche three in progress: contracts/chain-anchoring/ (definitions + eleven
record shapes + family README) and the canonical reader's first half (guards,
registry, closed refusal enumeration, scope builder). Carries agent B's
grammar settlement beside it: transparency-log-leaf + digest-construction
widened, canonical.py SUBJECTS mirror extended, manifest rows re-pinned.
Examples corpus, negatives, self-test, and tests/chain_anchoring follow.

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

* The chain-anchoring reader refuses, and every refusal has been seen to fire

The canonical validator complete: shapes with date-time enforced, the anchored
digest recomputed over {material_digest, mint_time_configuration}, the four
per-chain elements refused by name plus the structural half of canonicality,
the closure rule and the state vocabulary as name sweeps at any depth, the
timing model in its declared direction (the future-dated mint refused beyond
the skew and its honest twin ACCEPTED within it; the breach margin
one-directional; the delay check never read as compliance), the shortfall
arithmetic closed against the committed set, the plane/linkage/consent rules
walked across the whole scope, and the conformance declaration closed over
CA-R1..CA-R9 with CA-R5-COMMITMENT-PATH refused the word satisfied. Its
docstring states what it does NOT do at equal length: it reaches no chain,
fetches no header set, and cannot tell a declared salted keyed commitment
from a plain digest by inspection.

The packaged corpus: 21 positives validated as ONE coherent scope — the
healthy dual-witness receipt, the ordering-only chain with its
no_determination result, the honest twin, the sat-on minter exposed by the
checkpoint bracket, the served/local pair over one item, the three-state
lifecycle, the correction anchored forward, the declared-shortfall
declaration — and 75 single-fault negatives adjudicated INSIDE that scope,
one per refusal code, each file NAMED for the code it provokes and pinned by
an expected-failure detail: 70/70 closed codes red-proven plus five finding
codes outside the enumeration, because inventing a member there would be a
contract change made by a reader.

tests/chain_anchoring/ pins what the self-test cannot check about itself:
the direction pairs both ways, the payload sweep's depth-blindness, every
corpus digest actually recomputing, coverage asserted outside the reader,
and the exit codes a future gate would grep for. Family README documents the
reader, the corpus, and the two standing honest warnings (reader not yet
required; archival node undeclared).

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

* Five finding codes outside the enumeration, and the filename rule stated where the reader declares itself

The reader's docstring undercounted its own kebab-case finding codes (four,
where residual-not-declared makes five) and nowhere stated that a negative
fixture's filename IS the code it provokes — the rule the self-test enforces.
A reader whose self-description disagrees with its self-test is the drift the
self-test exists to catch, caught here by hand instead.

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

* Tick the seven boxes the artifacts close, and leave the nine that need an operator, a cut or a decision open

Seven of §4 and §5's boxes are closed here, each with the evidence that closes
it named in the box rather than asserted beside it: 4.1 the twelve schemas, 4.2
the 21-positive/75-negative corpus with 70/70 closed refusal codes red-proven,
4.3 the reader at `0 error(s), 2 warning(s)`, 4.4 the D4 residual DECLARED (not
discharged) as `CA-R5-COMMITMENT-PATH` with `satisfied` refused for it, 4.8
corroborating-only ENFORCED by two named refusals, 5.3 the twelve leaf kinds
settled in tranche one's grammar and pinned by test, and 5.6 the analysis
result's closed three-member status discriminator.

NINE STAY OPEN AND ARE MEANT TO. 4.5, 4.6, 4.7 and 4.9 are [OPERATOR] acts — an
archival node RUN, inclusion proofs captured and retained, an aggregation path
— and nothing in a contract repository can tick them. 4.10's end-to-end
exercise is corpus-deep and not item-deep. 5.1, 5.2, 5.4 and 5.5 are
settlements this branch's author did not record.

4.11 IS DELIBERATELY NOT TICKED AND THE FAMILY IS DELIBERATELY UNREGISTERED.
Its own text says registration happens "at the additive bundle cut", and
`contracts/chain-anchoring/README.md` says the same in the present tense. The
manifest here therefore keeps main's `contract-v3.2` and all 180 of its
entries, and moves only the two per-file digests this branch's ADDITIVE
widening of two shipped schemas actually moved.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Round one: the count the merge made stale, and a negative fixture whose note described its positive twin

Two Copilot findings, both TAKEN, both about a text disagreeing with the value
beside it — which is the class of defect this family's own self-test exists to
catch, caught here by a reader instead.

* `validate-signed-execution-chain.py` still said the corpus-coverage obligation
  was over "tranche one's four", which was true at the fork and false after the
  merge: the obligation this branch now asserts is over THE ELEVEN THIS
  CAPABILITY GOVERNS — tranche one's four AND tranche two's seven, each still
  holding a packaged example — and the test says so. Both comments are corrected
  to the eleven. The twelve anchoring types remain outside it, for the reason
  already written: they are another capability's acts and that family owns their
  corpus.

* `examples/negative/linkage_use_with_unreadable_revocation_state.yaml` carried a
  `notes` line reading *"read current_not_revoked, and performed the join under
  it"* beside its own `revocation_state_read: unreadable`. The note had been
  copied from the fixture's healthy twin. The refusal was never in doubt — the
  reader reads the FIELD, not the note, and the fixture still fails for its
  intended reason with its `expected_failure_detail` unchanged — but a negative
  whose prose narrates the positive is a fixture that teaches the wrong rule to
  whoever reads it next.

Re-measured after both: `validate-chain-anchoring.py` 0 errors / 2 standing
warnings, and `pytest tests/chain_anchoring tests/signed_execution_chain`
201 passed.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Register the twelve chain-anchoring schemas at realization (§ 4.11), on the owner's word and the tranche-two precedent

Brett Heap, 2026-09-04, in session — RULING for lane openxfactory-1d's PR #629: "merge
629, register now". tasks.md 4.11 put registration "at the additive bundle cut"; the
owner overruled the TIMING, on the precedent of add-chain-attestation (#556, 518c670),
which registered its eight rows in its realization and left the version bump and the
changelog entry to the cut. Twelve manifest rows added in the manifest's existing shape
(per-file sha256; validate-manifest-digests: 175 verify, was 163); one README paragraph
in contracts/chain-anchoring/README.md; 4.11 ticked with the overrule recorded;
proposal.md code_surface discloses the timing. NO bundle number taken or reserved;
contract_bundle_version stays main's contract-v3.2; CHANGELOG untouched (the cut's act).

Gates at this commit: chain tests 203 passed; tests/doc-health 1500 passed; openspec
--all --strict 88/88; proposal-support verify ok; validate-chain-anchoring 0 errors / 2
standing warnings; chain gate 0/0 with pinned vocabulary; sequenced_after ok (no pin
moved); verify-commit mismatch set == origin/main's two (manifest editorial; policy doc
pre-existing) — nothing new.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Move the digest-subject count pin 27 -> 28 for the tranche-three union

The catch-up merge into main added `sealed_bundle_manifest`
(add-cpc-clearing-boundary) after this branch's own eleven
chain-anchoring subjects in the same closed enumeration. The pinned
list and count in test_the_eleven_anchoring_digest_subjects_are_enumerated_once
are updated per its own docstring's tranche-widening rule; no other
pinned count exists.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Re-measure the proposal's target_release line on the merged head: the declared bundle is contract-v3.3, the value is unchanged

Copilot on 7eae03c: the front-matter measurement still said contracts/manifest.yaml:3
declares contract-v2.2. The measurement is kept as taken and a dated re-measurement is
appended, the way add-subject-establishment (#491) handled the same drift: the bundle
moved under this branch through v2.2 → v3.0 → v3.1 → v3.2 → v3.3; the field's value —
next additive bundle, allocated at the cut, none reserved here — does not change.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[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 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
brettheap added a commit that referenced this pull request Sep 4, 2026
…liases in it

One test per ratified scenario — twenty for requirement 2, fourteen for
requirement 3 — each named for the scenario it pins, each building the record
set that scenario describes and asserting the outcome the scenario states. A
scenario with no test is a scenario nobody has seen hold.

They run over a MINIMAL scope rather than the whole packaged corpus: the
durability records are self-contained, the reader's own self-test already
adjudicates all forty-one positives together, and repeating that here would
multiply a quadratic cost for no further evidence. The whole module runs in
eight seconds; the suite is 59 tests in 138s.

The twelve accepting scenarios assert the POSITIVE half rather than only the
refusal — the empty day's root really is the released construction's declared
empty root, the midnight admission really enters the window that opens then,
the two-leaf batch's root and both membership paths really recompute, the
replay really consumes no sequence, the upgrade really appends against the same
anchored digest, and the retired-profile verification really reports current
standing without touching the immutable as-of token.

`contracts/manifest.yaml` gains six rows with per-file digests and the six
moved files are re-pinned: 187 digests verify. `contract_bundle_version` is
UNTOUCHED and no bundle number is reserved, on the #556/#629 precedent — and
the row block carries the measurement that makes this realization additive:
`git tag --contains 11feff7` is empty and `contract-v3.3.digests.yaml` carries
zero rows for this family.

AND THE CORPUS CARRIES NO YAML ANCHORS. The generated files shared object nodes,
so PyYAML emitted `&id001`/`*id001` across forty-seven of them — legal YAML and
a bad artifact: a reader cannot see the value without resolving a reference, and
one edit silently changes two sites. Caught by a scenario test that mutated an
aliased node and moved the anchored digest with it, which is exactly the hazard.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 4, 2026
… and 3: the fixed-UTC durability batch, and submitted is not confirmed (#657)

* Six durability and confirmation-profile schemas, the shared vocabulary they take by reference, and six further digest subjects

Realizes the shape half of `amend-chain-anchoring-readiness-and-durability`
requirements 2 and 3 (ratified 2026-09-04, `471d3361`) on the schemas
`add-chain-anchoring` landed at `11feff75`.

`contracts/chain-anchoring/` gains six record shapes: the operator-approved
confirmation profile and its append-only signed registry, the released immutable
daily-Merkle construction profile, the append-only eligibility registry that
fixes the denominator, the one atomic admission of one event into one fixed UTC
window, and the canonical signed manifest of one closed window. Fourteen shared
definitions land in `anchoring-definitions.schema.yaml` — the registry entry's
seven bindings, the two snapshots, the dedupe and late-arrival rules, the
resolving checkpoint, the batch membership path, the leaf class and the
contract-defined genesis sentinel — because the two requirements share a
registry discipline and a window model, and two spellings of either is the drift
that file exists to prevent.

The closed refusal enumeration is widened by forty-eight. The per-witness
`witness_evidence_state` REPLACES `[in_flight, landed, terminally_failed]`: the
old `in_flight` conflated "no submission evidence" with "submission accepted,
confirmation condition unmet", which is the exact defect requirement 3 exists to
close. The migration is written into the `$def` itself, including the
measurement that makes replacement legal — this family has never shipped in a
tagged bundle.

`digest-construction.schema.yaml` gains six subjects on its own written
invitation, and `canonical.py`'s frozen mirror moves with it. No second
construction, no leaf-grammar widening, no bundle number.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* The packaged corpus moves onto the amended shapes, and the durability lifecycle joins it

Fifteen new positive example files carry the amendment's own worked cases: two
immutable confirmation-profile versions with the retired predecessor kept in
place, the durability and ordering-only profiles, the append-only register with
exactly one active entry per network at every boundary, the released
daily-Merkle construction with its deterministic empty root, the versioned
eligibility denominator, three consecutive fixed-UTC windows (a first day with
the genesis sentinel, an EMPTY second day, a third carrying a late-source-time
event), their admissions including a replay acknowledgement that consumes no
second sequence, their receipts as daily items on the identity aggregation path,
and the two anchor states — both witnesses confirmed, and "OpenTimestamps
submitted and Bitcoin pending" in the amendment's own words.

Every batch root and membership path in the corpus is computed under the
released construction rather than written by hand, so the reader's
recomputation has something real to disagree with.

The basis realization's sixty corpus files are migrated uniformly: configured
witnesses gain their window-snapshotted confirmation profile INSIDE the
committed block (it is a receipt-only input and joins the block by the closure
rule, not by an enumeration chase), per-chain entries gain their commitment
derivation and the profile they were confirmed under, anchor-state rows move off
the retired vocabulary with their submission and confirmation evidence, and
anchored digests are recomputed ONLY where they already recomputed — so a
fixture whose whole point is a wrong anchored digest keeps its wrongness.

The conformance declaration closes over ELEVEN obligations now, not nine: a
declaration whose length could not follow the capability would either refuse
every conforming record or tolerate a silence.

Corpus: 40 positive records as one coherent scope, 75 negatives still invalid
for their intended reason, 70/118 closed codes red-proven. The forty-eight new
codes are unprobed at this commit and that is the reader's next slice.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* The reader refuses the durability profile, and it recomputes rather than believes

Eight new check layers, run last because every rule of this profile is a
property of a SET: the durability index is built once over the whole scope and
the comparisons are made against it.

The reader now RESOLVES the released daily-Merkle construction and mechanically
recomputes every leaf, every membership path and every batch root under it — the
composition is under the estate's ONE digest construction, with the domain
separators travelling inside the canonical JSON, so no second hashing rule is
minted to reach a Merkle tree. A released construction whose declared ordering
or shape this reader cannot reproduce deterministically is refused rather than
accepted on the strength of a root nobody can check, and
`acceptance_time_ascending` is refused for a stated reason: timestamps tie, a
tie has no deterministic tiebreak, and a batch two builders order differently
has a root that proves nothing.

Manifests are reconciled against their own window's admissions rather than read:
a lowered `last_leaf_sequence` over a retained prefix is caught even though the
manifest's three summary numbers and its root are perfectly self-consistent,
which is the one attack a self-consistent summary cannot detect. Continuity is
resolved to the immediately preceding item's configuration-bound anchored
digest, a link taken over the previous BATCH ROOT is refused by name, and a gap
between consecutive windows is refused because a chain of daily items with holes
proves nothing about the days in the holes.

Requirement 3's binding is checked across three records at once, because it is
one rule about three: the committed snapshot, the state row's evidence under it,
and the verification result's named profile with its immutable as-of token
beside current registry standing. Both overcorrections are refused — a retired
profile minting a new claim, and current standing rewriting a historical
receipt.

The genesis sentinel the reader holds and the one the contract defines are
compared at startup, for the same reason the refusal sets are.

Positive corpus: 41 records, zero errors, the two standing honest warnings
unchanged. The forty-eight new codes remain unprobed and that is the next slice.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Fifty-two negatives: every one of the forty-eight new refusals seen to fire

One single-fault fixture per new code, each generated from the positive corpus
so it is the SAME record with ONE thing wrong, each FILENAME the code it
provokes and each pinned by an expected-failure substring — the family's carried
rule, applied to the amendment's forty-eight.

Four further fixtures probe the semantic findings whose codes live OUTSIDE the
closed enumeration, because inventing a member there would be a contract change
made by a reader: an acceptance instant outside the window it names, a version
chain with no predecessor link, one separator serving both tree positions, and
a profile that has only ever been seen to accept.

The three cross-record faults are written as multi-document fixtures, which is
the only way they are expressible: a retained prefix presented as a whole day
needs its own admissions beside it, a denominator two windows disagree about
needs two, and a profile activating next week applied to last week's window
needs a register, a manifest and a receipt in one scope.

Self-test: 41 positive records as one coherent corpus, 126 negatives invalid for
their intended reason, 118/118 closed refusal codes red-proven, 8 further
finding codes probed. Zero errors; the two standing honest warnings unchanged.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Thirty-four scenario tests, six manifest rows, and a corpus with no aliases in it

One test per ratified scenario — twenty for requirement 2, fourteen for
requirement 3 — each named for the scenario it pins, each building the record
set that scenario describes and asserting the outcome the scenario states. A
scenario with no test is a scenario nobody has seen hold.

They run over a MINIMAL scope rather than the whole packaged corpus: the
durability records are self-contained, the reader's own self-test already
adjudicates all forty-one positives together, and repeating that here would
multiply a quadratic cost for no further evidence. The whole module runs in
eight seconds; the suite is 59 tests in 138s.

The twelve accepting scenarios assert the POSITIVE half rather than only the
refusal — the empty day's root really is the released construction's declared
empty root, the midnight admission really enters the window that opens then,
the two-leaf batch's root and both membership paths really recompute, the
replay really consumes no sequence, the upgrade really appends against the same
anchored digest, and the retired-profile verification really reports current
standing without touching the immutable as-of token.

`contracts/manifest.yaml` gains six rows with per-file digests and the six
moved files are re-pinned: 187 digests verify. `contract_bundle_version` is
UNTOUCHED and no bundle number is reserved, on the #556/#629 precedent — and
the row block carries the measurement that makes this realization additive:
`git tag --contains 11feff7` is empty and `contract-v3.3.digests.yaml` carries
zero rows for this family.

AND THE CORPUS CARRIES NO YAML ANCHORS. The generated files shared object nodes,
so PyYAML emitted `&id001`/`*id001` across forty-seven of them — legal YAML and
a bad artifact: a reader cannot see the value without resolving a reference, and
one edit silently changes two sites. Caught by a scenario test that mutated an
aliased node and moved the anchored digest with it, which is exactly the hazard.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* The family README says eighteen files, one hundred and eighteen codes, and what the operator still owes

The enumeration migration table — which old value becomes which, and the one
that CANNOT be mapped mechanically because that is the measure of what it was
hiding — plus the pre-publication measurement stated as a measurement: `git tag
--contains 11feff7` is empty and `contract-v3.3.digests.yaml` carries zero rows
for this family, so replacing a closed enumeration is additive to every bundle
that has ever shipped and had to land before the next cut.

And what this realization does NOT do, in the present tense: the operator still
owes the two profile approvals and the construction release (tasks 1.3 and 1.4).
What is built is the vessel they are published into and the refusal that fires
when a configured network has none, so the amendment's BLOCKED state is
mechanical rather than a promise. The packaged register carries example entries
and no operator's act.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Tick the amendment's realization tasks with evidence, and file the feature that carries it

`amend-chain-anchoring-readiness-and-durability`: 1.6, 2.2, 2.3, 2.4 and 2.5
ticked with the measurements behind each, and 3.1's existing tick — which was
scoped to the ratification commit and said so — gains the successor's own run
against the tree it edits.

TASKS 1.3 AND 1.4 STAY OPEN AND ARE MARKED `[OPERATOR]`. They ask the operator
to APPROVE the two confirmation profiles and to RELEASE the daily-Merkle
construction before authoring rests on them. What this realization built is the
VESSEL those approvals are published into and the REFUSALS that make the
amendment's BLOCKED state mechanical rather than a promise — a configured
network with no active entry, an approval by anyone but the operator, a numeric
depth with nothing cited behind it, a profile with only one transition
direction, a substituted construction, equal domain separators. Each is
red-proven. The packaged register carries EXAMPLE entries and no operator's act,
and the notes on both boxes say so rather than reporting them done.

2.4 was this realization's FIRST act and is recorded as a measurement taken
twice: `git tag --contains 11feff7` empty, zero chain-anchoring rows in the
v3.3 inventory, no open cut PR and no sibling realization in the family. The
shared first release therefore reinterprets no prior artifact because no prior
artifact exists — which is exactly the alternative that task's own text asks
for.

`specs/029-chain-anchoring-durability-confirmation/` is the Speckit feature:
spec.md maps all thirty-four scenarios to the shape, the reader rule and the
test that holds each; data-model.md carries the shape-by-shape design and the
three shapes that can say the wrong thing on purpose; research.md records the
two alternatives refused and why; and evidence/ carries the gates with counts,
the red-first measurement, the test-count deltas and the zero doc-health delta.

One existing pin moved: `test_the_eleven_anchoring_digest_subjects_are_
enumerated_once` becomes `test_the_anchoring_digest_subjects_are_enumerated_once`
and its slice assertions move 28 -> 34, which is the invariant working — this
enumeration is a UNION that grows and `construction_name` does not move.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Nine kebab-case findings, not eight — the reader's self-description matched its own list

The docstring said EIGHT and then listed NINE. Five carried from the basis
realization plus four from this amendment is nine, and the self-test's own note
line reports nine probed, so the prose was the only thing that disagreed with
the tool. A reader whose self-description disagrees with its self-test is the
drift the self-test exists to catch, caught here by hand for the second time in
this family's life.

The family README and the feature's gates and test-count evidence carry the same
correction, and the ledger row count moves 164 -> 165 with the catch-up merge.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Re-take the doc-health delta after main moved, rather than assume it still holds

main advanced 23 commits (the archives of add-consumer-identity-namespace and
create-medxchart-overlay-boundary among them), this branch took a clean catch-up
merge, and BOTH halves were measured again. Two info findings dropped on both
sides at once — they were modified-block-currency findings on the two changes
that archived — so the base moved and the delta is identical: still zero, and
still a finding-SET comparison rather than a count comparison.

Every gate reading in evidence/gates.md is now stated as taken at the merged
head, with the two counts main itself moved called out: the sweep ledger 164 ->
165 rows and the OpenSpec corpus at 89 items.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* The PR body, kept in the feature dir where the evidence it cites lives

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Copilot round 1: the result names a WITNESS, and the defs count is measured

TWO findings, both taken.

**The verification result's rows were keyed by chain, and the chain is not
enough to say which witness.** `configured_witnesses` carries no uniqueness
constraint on `chain_id`, and the per-chain entry's own `witness_id` exists for
exactly that reason — "where the realization configures more than one witness
against one chain". A `confirmation_profiles_evaluated_under` row keyed on the
chain alone collapses two such witnesses into one row, and a reader cannot tell
which pairing was evaluated. `witness_id` is now REQUIRED on the row; the
shortfall arithmetic is already keyed by it, so this is the family's key and not
a new one.

And the reader COMPARES it rather than trusting it: the named witness must be in
the referenced receipt's committed configured set, its chain must be that
witness's chain, the profile named must be the one the committed block
snapshotted FOR THAT WITNESS — not one chosen at verification time — and two
rows for one witness are two answers about one evaluation. Each is refused as
`witness_confirmed_without_named_profile`, and two new probes in the scenario
tests hold the witness-not-configured and profile-mismatched halves.

**Four feature documents said "fourteen shared definitions" while listing
eighteen.** Fixed by MEASUREMENT rather than by recounting: `set(now['$defs']) -
set(basis['$defs'])` gives basis 13 / now 31 / ADDED 18 / removed none. The
measurement is recorded beside the list so the next reader does not re-derive
it, and the commit message that introduced "fourteen" is wrong on the record —
history stays as it is, and the documents a reader reads are correct.

Gates on this head: chain-anchoring reader 0/2 (41 positives, 127 negatives,
118/118 closed codes), sec validator 0/0, manifest digests 187/187 (the
verification-result row re-pinned), openspec 89/0, proposal-support ok,
scenario tests 34 passed.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Copilot round 2: the receipt side refuses the same way — snapshots keyed by chain, not by witness

TAKEN. One section earlier in `check_confirmation_bindings`, the receipt's
own committed snapshots were indexed `snapshots[chain] = snapshot` — the same
anti-pattern round 1 fixed on the verification-result side. `configured_witnesses`
carries no uniqueness constraint on `chain_id`, and the per-chain entry's own
`witness_id` exists for exactly that reason ("where the realization configures
more than one witness against one chain"), so a second witness on one chain
silently overwrote the first witness's snapshot, and a `per_chain_anchors`
entry naming the profile it was ACTUALLY confirmed under, for its OWN
witness, could be compared against the WRONG witness's snapshot and refused
for a defect that never happened.

Snapshots are now keyed by `witness_id`. An entry that names its own
`witness_id` (optional on this shape, unlike the now-required field on
verification-result rows) is resolved directly; an entry that omits it falls
back to the chain only where the chain resolves to exactly one configured
witness, and is refused (`witness_confirmed_without_named_profile`) where the
chain is ambiguous rather than guessed by array order. No new refusal code:
this reuses the family's existing code for "a confirmed entry names no
profile that can be trusted."

Red-proved: a new regression test builds a receipt with two witnesses
collapsed onto one chain, each correctly confirmed under its own committed
profile. Without the fix it wrongly fires
`witness_confirmed_without_named_profile` (plus a cascading
`confirmation_profile_standing_rewrites_historical_receipt`) on the entry
compared against the other witness's snapshot; with the fix, zero errors.

Gates on this head: chain-anchoring reader 0 errors (41 positives, 127
negatives, 118/118 closed codes — unchanged, no new code), manifest digests
187/187 (unchanged, no fixture touched), chain_anchoring + signed_execution_chain
+ manifest_digests suites 238 passed, doc-health suite 1552 passed.

Lane: openxfactory-1d
Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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