Repository navigation
A validated chain is not an audit trail, it is a permission — realize tranche one - #524
Conversation
Realizes the ratified `add-signed-execution-chain` (#495, squash `91cf0a46`), tasks §3 and §4.1-§4.4. The family already signs the decision and then loses the signature: `add-wallet-carried-review-authority` made review authority a wallet-carried grant, and what happens next runs in a lane that cannot prove it descended from that ratification. This is the chain a gate WALKS before the terminal act, so the record and the control are the same object. THREE THINGS §3 REQUIRED SETTLED BEFORE ANY SCHEMA WAS AUTHORED, and each is settled against a published standard rather than invented. The digest construction is `xfc-jcs-sha256-1` — RFC 8785 JSON Canonicalization Scheme, SHA-256, algorithm-tagged — declared ONCE in `digest-construction.schema.yaml` and taken by `$ref` everywhere else, so the family cannot grow a second construction rule beside the first; its admitted value classes are BOUNDED and a non-integer number is REFUSED, because ECMAScript number serialization is the one part of JCS a second implementation reliably gets wrong and a digest two readers compute differently is worse than a digest one of them refuses. The exact byte range is the `signed_ratification` block and nothing outside it. The leaf grammar is RFC 6962 / Rekor taken as a HASH-LINKED SIGNED LEAF SEQUENCE, and the realization says which form it took rather than leaving a reader to assume a Merkle tree: THE HEAD IS THE NEWEST LEAF, so no separate tree-head record exists. The log's home is this repository, on the register precedent — forced rather than preferred, because requirement 9 wants a reader required ON THE REPOSITORY THAT HOLDS THE RECORDS and requirement 5 wants a point-of-use checker to work with no live service in reach. THE FOUR RECORD KINDS `code_surface` NAMES, AND A FIFTH FILE THAT DECLARES NO KIND. `contracts/signed-execution-chain/` carries chain inception, the traveling contract, the transparency-log leaf and the realization conformance declaration on `trust-anchor`'s ratified declared-shortfall pattern, plus the definitions-only digest construction. NO SECOND VOCABULARY IS INVENTED: the presentation is the shipped `xfactory_wallet_grant_exercise` and the signing wallet the shipped `xfactory_wallet_record`, carried VERBATIM inside the signed bytes and validated against the PINNED schemas through the `openXwallet/` gitlink; the actor is `identity-brokering`'s `actor_subject_reference` carrying an `xfactory_wallet_subject_attestation`. They are carried as well as referenced because the gate's presentation, actor, holder-class and signature checks READ them, and a reference nothing can resolve at the point of use leaves four of eight checks unrunnable — which requirement 9 says confers nothing. WHERE EACH RESTRICTION LIVES IS ITSELF A RULE. Shapes this capability OWNS are made unrepresentable (an actor with no wallet attestation cannot be written down); restrictions it imposes on a SHIPPED vocabulary are refused BY NAME (`object_ref` absent, `signed_over` not `request_digest`), because requirement 1's own doctrine is that a refusal must name what was actually lacking, and "does not match const" does not. THE READER VERIFIES THE SIGNATURE RATHER THAN READING A CLAIM ABOUT IT. `scripts/validate-signed-execution-chain.py` walks all EIGHT ordered checks over links 1-3 plus the FOUR rules a gate cannot see — atomicity, per-act uniqueness, the log's append-only property, and the declaration closed in both directions — and it performs Ed25519 verification (RFC 8032, verification only, no secret, no signing) pinned by that RFC's published vectors and their mutations. Checks 2 and 3 are never collapsed: the chain identity is over the SIGNED bytes and the `object_ref` comparison is over the CONTENT digest, and a record equating them is refused by name. `ecdsa-p256` and `ecdsa-secp256k1` are refused as UNEVALUABLE rather than accepted unchecked. EVERY CLOSED REFUSAL CODE IS RED-PROVEN, AND THE SELF-TEST REFUSES A CODE WITH NO PROBE. Seven positives compose ONE whole chain; twenty-six negatives are single-fault variants adjudicated IN THAT CORPUS'S SCOPE, because a refusal of a chain is a property of a SET of records and a fixture adjudicated alone could not express one. All nine refusals `tasks.md` 4.2 names are among the twenty-four. THE GATE IS RUNNING AND IT CONFERS NOTHING YET, and both halves are stated in the present tense. `.github/workflows/signed-execution-chain-gate.yml` verifies the openXwallet pin BEFORE trusting it, walks the whole tree with `--require-pinned-wallet-vocabulary` so an unreachable pin REFUSES instead of silently checking less, and asserts POSITIVELY that the walk happened. Its invocation is pinned by `tests/signed_execution_chain/test_gate_wiring.py` inside the required `pytest-suite` job, because a comment in a workflow protects nothing. It is NOT required in the branch ruleset — that is task 4.5, an OPERATOR act — so the packaged conformance declaration records `is_required_in_ruleset: false`, SEC-R9 is `partial`, the reader warns on every run, and a test refuses a declaration that records SEC-R9 satisfied while the reader is unrequired. TWO RESIDUALS ARE DECLARED RATHER THAN COVERED. SEC-R1: the pinned exercise record carries no field holding the SIGNED digest value, so the record alone cannot prove the signed request included `object_ref`; the durable repair is an additive optional field belonging to `opensoft/openXwallet` as a NAMED SUCCESSOR, and defining it here would mint the second proof vocabulary the requirement exists to avoid. SEC-R6: suffix truncation no party has yet observed, closed by tranche-three anchoring. The reader REFUSES either recorded `satisfied`. WHAT IS DELIBERATELY NOT DONE. 4.5 is an operator act; 4.6 depends on it by construction and a box closed on three of four conjuncts would be closure on intention; 4.7 rides a bundle cut whose number is allocated by merge order, so this commit registers nothing in `contracts/manifest.yaml` and bumps nothing. `contract-v2.3` is SPENT — the manifest declares it and its inventory is in the tree — so the next additive number is `contract-v2.4`, which `add-binding-consumer-identity`'s realization also owes; several changes may ride one cut, and if that one cuts first this re-counts rather than reserving. D7.9's SWEEP WAS RUN, AND ITS ONE DELIBERATE NON-EDIT IS RECORDED. Ticking §4 changes what the packet asserts about itself, so every site asserting "realization is a later commission" was grepped and edited — `tasks.md`, the README OpenSpec record, and `ideation/staging/INDEX.md` in both its row and its detail section — then the grep re-run. `proposal.md`, `.openspec.yaml` and the ratification record are NOT edited: their sentences are about what the RATIFYING ACT authorized, they were true when written and remain true, and rewriting a ratified baseline to reflect a later act would make the ratification look like the thing that built the family. `tasks.md` says so in terms rather than leaving the reader to infer it. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0d0f277d0c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| challenge = int.from_bytes( | ||
| hashlib.sha512(encoded_r + public_key + message).digest(), "little") % _L | ||
| return _equal(_mul(scalar_s, _G), _add(point_r, _mul(challenge, point_a))) |
There was a problem hiding this comment.
Reject small-order Ed25519 public keys
When a carried wallet uses the identity point as its Ed25519 public key, _decompress accepts it and this equation accepts R as the identity with S = 0 for every message. Consequently, an attacker can construct a schema-valid did:key and forge a ratification signature without possessing any private key; reject identity/small-order points or require prime-subgroup membership before treating the signature as verified.
Useful? React with 👍 / 👎.
| elif previous is not None: | ||
| expected = digest_value(previous[1].get("leaf_digest")) | ||
| if expected is not None and carried != expected: |
There was a problem hiding this comment.
Require the stored log to begin at its genesis leaf
When the lowest retained leaf has a nonzero index, such as after an older unrelated chain's genesis leaf is deleted, previous is None and this branch skips validation of the carried predecessor entirely. The remaining leaf can still declare tree_size == leaf_index + 1, so the repository scan accepts a log with a missing prefix even though the contract says leaves are never removed; explicitly require index 0 and consecutive indices before checking predecessor digests.
Useful? React with 👍 / 👎.
| if isinstance(value, int): | ||
| return str(value) |
There was a problem hiding this comment.
Bound integers to values serialized consistently by JCS
When a signed record contains a schema-valid large integer, str(value) is not RFC 8785's ECMAScript number serialization: for example, Python emits 9007199254740993 unchanged while an ECMAScript/JCS reader represents that number as 9007199254740992, and values at 1e21 also differ in exponent formatting. Because the schemas permit unbounded integers, two conforming readers can derive different chain identities; reject integers outside the exactly supported range or implement the required ECMAScript serialization.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Pull request overview
This pull request realizes tranche-one of the ratified signed execution chain capability by adding the contract family schemas and fixtures, introducing stdlib-only verification primitives for digest construction and Ed25519 verification, and wiring a GitHub Actions gate whose invocation is pinned via pytest.
Changes:
- Add the
contracts/signed-execution-chain/contract family (schemas + documentation) and a comprehensive positive/negative fixture corpus. - Add
scripts/signed_execution_chain/primitives (canonicalJCS+SHA256 construction;ed25519verification +did:keykey recovery) plus tests pinning expected behavior. - Add
.github/workflows/signed-execution-chain-gate.ymland tests that pin the workflow’s job shape and validator invocation.
Reviewed changes
Copilot reviewed 52 out of 52 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/signed-execution-chain-gate.yml | Adds the short-chain gate workflow that runs the signed execution chain validator and anti-vacuity assertions. |
| README.md | Updates the active-change index to reflect realization status and remaining operator-owned boxes. |
| contracts/README.md | Adds the signed-execution-chain family and named reader to the contracts index (not yet registered). |
| contracts/signed-execution-chain/README.md | Documents tranche-one intent, scope, and how to use/validate the family artifacts. |
| contracts/signed-execution-chain/digest-construction.schema.yaml | Declares the single digest construction (xfc-jcs-sha256-1) and shared digest/identifier defs. |
| contracts/signed-execution-chain/chain-inception.schema.yaml | Defines the link-1/2 inception record shape. |
| contracts/signed-execution-chain/traveling-contract.schema.yaml | Defines the link-3 traveling contract record shape. |
| contracts/signed-execution-chain/transparency-log-leaf.schema.yaml | Defines the transparency-log leaf record shape (including gate-verdict leaf structure). |
| contracts/signed-execution-chain/conformance-declaration.schema.yaml | Defines the tranche-one conformance declaration shape (declared-shortfall discipline). |
| contracts/signed-execution-chain/examples/chain-inception-ratified-change.example.yaml | Positive example for the inception act (links 1–2). |
| contracts/signed-execution-chain/examples/traveling-contract-ratified-change.example.yaml | Positive example for the traveling contract (link 3). |
| contracts/signed-execution-chain/examples/transparency-log-leaf-0-ratification.example.yaml | Positive example for the genesis leaf (wallet-presented ratification). |
| contracts/signed-execution-chain/examples/transparency-log-leaf-1-inception.example.yaml | Positive example for the inception leaf. |
| contracts/signed-execution-chain/examples/transparency-log-leaf-2-traveling-contract.example.yaml | Positive example for the traveling-contract issuance leaf. |
| contracts/signed-execution-chain/examples/transparency-log-leaf-3-gate-verdict.example.yaml | Positive example for a gate-verdict leaf with per-check outcomes. |
| contracts/signed-execution-chain/examples/conformance-declaration-openxfactory-tranche-one.example.yaml | Positive example conformance declaration for openxFactory tranche-one realization. |
| contracts/signed-execution-chain/examples/negative/actor-attests-a-different-wallet.yaml | Negative fixture: actor↔wallet mismatch refusal path. |
| contracts/signed-execution-chain/examples/negative/actor-carries-no-wallet-attestation.yaml | Negative fixture: missing wallet attestation (schema-level refusal). |
| contracts/signed-execution-chain/examples/negative/actor-resolved-through-the-wallet.yaml | Negative fixture: invalid resolution direction (wallet used to resolve subject). |
| contracts/signed-execution-chain/examples/negative/agent-held-wallet-ratifies-and-attests-itself-honestly.yaml | Negative fixture: machine holder class ratifies (eligibility refusal). |
| contracts/signed-execution-chain/examples/negative/chain-identity-equated-with-the-content-digest.yaml | Negative fixture: rejects content-digest == chain-identity conflation. |
| contracts/signed-execution-chain/examples/negative/chain-identity-under-another-serialization.yaml | Negative fixture: digest construction mismatch (serialization disagreement). |
| contracts/signed-execution-chain/examples/negative/chain-with-no-traveling-contract.yaml | Negative fixture: missing link 3 refusal. |
| contracts/signed-execution-chain/examples/negative/declaration-claiming-the-truncation-residual-is-closed.yaml | Negative fixture: conformance overclaim (undeclared residual). |
| contracts/signed-execution-chain/examples/negative/exercise-carries-no-object-ref.yaml | Negative fixture: missing object_ref binding. |
| contracts/signed-execution-chain/examples/negative/exercise-presented-with-no-proof-of-possession.yaml | Negative fixture: missing proof of possession. |
| contracts/signed-execution-chain/examples/negative/exercise-replayed-from-another-ratification.yaml | Negative fixture: exercise replay / wrong object_ref digest. |
| contracts/signed-execution-chain/examples/negative/grant-revoked-at-exercise.yaml | Negative fixture: authority revoked at exercise. |
| contracts/signed-execution-chain/examples/negative/inception-recorded-in-no-leaf.yaml | Negative fixture: act unproven / inception not inscribed as a leaf. |
| contracts/signed-execution-chain/examples/negative/inception-routed-through-the-clearance-pipeline.yaml | Negative fixture: inception not out-of-pipeline. |
| contracts/signed-execution-chain/examples/negative/leaf-naming-a-chain-with-no-ratification.yaml | Negative fixture: orphan chain identity. |
| contracts/signed-execution-chain/examples/negative/leaf-signed-over-other-bytes.yaml | Negative fixture: leaf signature invalid. |
| contracts/signed-execution-chain/examples/negative/leaf-whose-predecessor-digest-is-wrong.yaml | Negative fixture: leaf hash-link broken. |
| contracts/signed-execution-chain/examples/negative/proof-presented-and-not-verified.yaml | Negative fixture: proof verification failed (presented but not verified). |
| contracts/signed-execution-chain/examples/negative/proof-signed-over-the-whole-request.yaml | Negative fixture: signed_over selector refused (request vs request_digest). |
| contracts/signed-execution-chain/examples/negative/ratification-leaf-with-no-inception.yaml | Negative fixture: atomicity failure (ratified-but-uninscribed). |
| contracts/signed-execution-chain/examples/negative/ratification-signature-over-other-bytes.yaml | Negative fixture: ratification signature invalid for carried bytes. |
| contracts/signed-execution-chain/examples/negative/ratification-signed-with-an-unverifiable-algorithm.yaml | Negative fixture: unevaluable chain (unsupported signature algorithm). |
| contracts/signed-execution-chain/examples/negative/second-inception-reusing-the-per-act-value.yaml | Negative fixture: per-act value reuse refusal. |
| contracts/signed-execution-chain/examples/negative/traveling-contract-carrying-another-leaf-digest.yaml | Negative fixture: traveling contract carries wrong inception leaf digest. |
| contracts/signed-execution-chain/examples/negative/traveling-contract-from-another-execution.yaml | Negative fixture: continuity broken via mix-and-match artifacts. |
| contracts/signed-execution-chain/examples/negative/verdict-recording-a-permit-over-a-refused-chain.yaml | Negative fixture: verdict leaf claims permitted over a chain the reader refuses. |
| scripts/signed_execution_chain/init.py | Introduces the signed_execution_chain package surface for reader-side primitives. |
| scripts/signed_execution_chain/canonical.py | Implements RFC 8785 canonical serialization (bounded value classes) + SHA-256 tagging. |
| scripts/signed_execution_chain/ed25519.py | Implements Ed25519 verification and did:key public key recovery (stdlib-only). |
| scripts/validate-signed-execution-chain.py | Named reader/validator that walks the tranche-one chain and adjudicates the packaged corpus + repo scan. |
| tests/signed_execution_chain/test_gate_wiring.py | Pins the workflow/job wiring and validator invocation flags/order. |
| tests/signed_execution_chain/test_digest_construction.py | Pins digest construction behavior against RFC 8785 and contract subject enumeration. |
| tests/signed_execution_chain/test_ed25519_known_answers.py | Pins the Ed25519 verifier against RFC 8032 vectors and mutation negatives. |
| tests/signed_execution_chain/test_chain_reader.py | Exercises the chain reader behavior across the packaged corpus and refusal codes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| if len(public_key) != PUBLIC_KEY_BYTES or len(signature) != SIGNATURE_BYTES: | ||
| return False | ||
| point_a = _decompress(public_key) | ||
| if point_a is None: | ||
| return False | ||
| encoded_r = signature[:32] | ||
| point_r = _decompress(encoded_r) | ||
| if point_r is None: | ||
| return False | ||
| scalar_s = int.from_bytes(signature[32:], "little") | ||
| if scalar_s >= _L: | ||
| # A non-canonical S is a malleable signature: the same message and key | ||
| # would verify under more than one signature, which is not what "the | ||
| # signature over this ratification" is allowed to mean. | ||
| return False | ||
| challenge = int.from_bytes( | ||
| hashlib.sha512(encoded_r + public_key + message).digest(), "little") % _L | ||
| return _equal(_mul(scalar_s, _G), _add(point_r, _mul(challenge, point_a))) |
| def test_a_public_key_that_does_not_decompress_is_refused(): | ||
| """A y outside the field has no point on the curve. It must be refused, not | ||
| treated as a verification failure of a valid key and not raise.""" | ||
| _, message, signature = _vector(2) | ||
| assert not ed25519.verify(b"\xff" * 32, message, signature) | ||
|
|
| type: array | ||
| minItems: 8 | ||
| maxItems: 8 | ||
| uniqueItems: true | ||
| items: |
… that only looked like checks Four findings on #524, all real, all taken. Three were confirmed by RUNNING THE MUTATION AGAINST THE PRE-FIX CODE rather than by reasoning about it, which is the only way to know a repair is anchored to something. THE FIRST WAS A FORGERY, NOT A HARDENING — found by Codex and Copilot independently in the same round, both P1. The Ed25519 verifier accepted SMALL-ORDER public keys. With an identity key the `[h]A` term of `[S]B == R + [h]A` vanishes, the equation stops depending on `h` and therefore on the message, and `R = identity, S = 0` satisfies it for EVERY message — no private key involved. Every public half in this family arrives inside a record: a `did:key` in a CARRIED wallet, chosen by whoever assembled the chain. Measured against the pre-fix code before the repair: the identity key accepted that forgery over every message tried, and two of the order-4 points accepted it over some. `_is_small_order` refuses the whole class by `[8]P == identity` — exactly "the order divides 8" — rather than a hard-coded list of encodings a non-canonical spelling could slip past. A small-order `R` is refused too: not the forgery vector, but an honest signer produces one only at probability about 2**-252, so it costs no legitimate signature and removes the last case whose acceptance would depend on a cofactored reading. Six negative controls land with it, including one that confirms the published small-order list really is small-order BY ARITHMETIC — which caught a transcription slip in that list on its first run, one byte too long. THE APPEND-ONLY PROPERTY WAS CHECKED OVER PAIRS, SO A DELETED PREFIX WAS INVISIBLE (Codex, P1). The lowest retained leaf had no predecessor in scope, so its carried digest was compared against nothing — and a store that deleted a prefix presented a set in which every surviving pair linked correctly and every `tree_size` still agreed with its own index. Pre-fix: ZERO findings over a log whose genesis leaf was deleted. `check_log` now requires the retained set to begin at leaf 0 and run consecutively BEFORE any digest comparison, and reports an unverifiable link as unverifiable rather than as a pass. "Leaves are appended and never removed" is the contract's sentence; a check that cannot see a removal is not checking it. AN INTEGER CAN OUTRUN THE ONE CONSTRUCTION (Codex, P2). `str(value)` is not ECMAScript number serialization once a value leaves the range a double holds exactly: pre-fix, `9007199254740993` was emitted unchanged where an RFC 8785 reader emits `9007199254740992`, so two conforming readers could derive different chain identities in silence. The repair is the SAME bound one value class wider — not a second rule, which is what this capability's own digest requirement demands of a fix — declared in the contract beside the non-integer refusal, with a sweep test asserting every integer the packaged corpus actually declares is inside it. `uniqueItems` CLOSED NOTHING (Copilot). Two entries naming the same check with different outcomes are distinct objects, so a verdict could record `actor_bound_to_signing_wallet` twice — once passing, once failing — omit `standing_and_holder_class_at_exercise` entirely, carry eight items, and be schema-valid beside prose calling the list closed and ordered. Pre-fix: zero schema errors for exactly that verdict. `prefixItems` pins each position to its own `const`, so a duplicate, an omission AND a reordering are all unrepresentable. Repairing the reader alone would have left the SHAPE admitting it. THE COUNT SWEEP RAN, because the corpus grew from 26 negatives to 28 and a count restated in three places is one invariant: `tasks.md` 4.2, the `contracts/README.md` row and the family README were all updated from one grep, and the grep was re-run to empty. `tasks.md` §4 now records the round in a table, on the footing `design.md` D7 records the packet's own. Verification at this tip: openspec 78/78; the reader 0 errors with 28 negatives and 24/24 refusal codes red-proven; the pinned wallet gate 0/0; trust-anchor, worker-enrollment, identity-brokering, credential-contracts and manifest-digests all exit 0; doc-health zero-new against `origin/main`. Co-Authored-By: Claude Fable 5 <[email protected]>
Round one applied — four findings, all real, all takenThank you both; the first one was a live forgery, not a hardening. Every repair was anchored by running the mutation against the pre-fix code rather than by reasoning about it. Pre-fix behaviour, measured:
The transferable part: all four were checks that looked like they were working — pairs that linked, a list that was eight long, a digest that serialized, an equation that balanced. None would have been caught by a test written from the rule's own wording. The count sweep ran too (26 → 28 negatives, three sites, one grep, re-grepped to empty), and At this tip: openspec 78/78; reader 0 errors, 28 negatives, 24/24 refusal codes red-proven; pinned wallet gate 0/0; trust-anchor / worker-enrollment / identity-brokering / credential-contracts / manifest-digests all exit 0; doc-health zero-new vs @codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 54 out of 54 changed files in this pull request and generated no new comments.
Suppressed comments (2)
Previously missed (2) — in code that hasn't changed since the last review.
tests/signed_execution_chain/test_gate_wiring.py:34
INVOCATIONis defined but never referenced, so it can drift without the tests noticing and makes the module comment (“INVOCATION pinned…”) misleading. Remove it, or use it directly in the assertions if you want a single pinned source of truth.
scripts/signed_execution_chain/canonical.py:110_key_order()useserrors="surrogatepass", and_escape()will emit surrogate code points literally. Surrogates are not valid Unicode scalar values for JSON text, so this can produce non-interoperable/invalid canonical JSON and make digests disagree across implementations. Prefer refusing surrogate code points explicitly and encode UTF-16 without surrogatepass, raisingConstructionErrorfor this case.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aedfd8ced7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| returns by the back door.""" | ||
| seen: dict[str, tuple[str, str]] = {} | ||
| for label, doc in scope.inceptions: | ||
| value = get(doc, "signed_ratification", "presentation", "exercise_ref") |
There was a problem hiding this comment.
Bind uniqueness to the carried exercise identifier
When a second inception reuses the carried exercise unchanged but replaces only presentation.exercise_ref with a fresh value, the signed bytes and chain identity change while this map treats the exercise as unused. No check equates that reference with presentation.exercise.exercise_id, and the traveling contract also follows the replaceable outer reference, so the consumed exercise can be replayed despite the per-act uniqueness rule; compare the two identifiers and enforce uniqueness on the carried exercise's actual ID.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
| keys.update(declared_keys(get(doc, "signed_ratification", "presentation", | ||
| "wallet"))) |
There was a problem hiding this comment.
Reject colliding key IDs instead of overwriting them
When two schema-valid carried wallets declare the same key_id for different public keys, dict.update silently keeps whichever wallet is encountered last. Every leaf naming that ID is then verified against that unrelated key, making valid older leaves fail and allowing leaves for another chain to be accepted when signed by the colliding wallet's key; reject ambiguous IDs or resolve a leaf signer through an explicit wallet/DID rather than a scope-wide lossy map.
Useful? React with 👍 / 👎.
| completion.""" | ||
| for chain_id, chain in sorted(scope.chains.items()): | ||
| types = {doc.get("leaf_type") for _, doc in chain.leaves} | ||
| if "wallet_presented_ratification" in types and "chain_inception" not in types: |
There was a problem hiding this comment.
Require leaves for every governed act
When a log is created without a wallet_presented_ratification leaf, this condition never fires; likewise, nothing requires a traveling_contract_issued leaf for a traveling contract. Such a log can simply number its remaining leaves consecutively, and check_one only requires the inception leaf plus the traveling artifact, so the gate can permit a chain whose primary custody record omits acts the contract requires to be recorded as signed leaves; require the corresponding leaf for each inception and traveling contract, matched by payload reference.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
| f"and readers that agree on how to hash can still disagree on what " | ||
| f"was hashed") | ||
| return | ||
| if leaf_type == "gate_verdict": |
There was a problem hiding this comment.
Verify wallet-presentation leaf payloads
When a wallet_presented_ratification leaf carries the expected ratified_subject label but an arbitrary digest value or unrelated payload_ref, it reaches this branch and then falls through without any comparison because only verdict and traveling-contract payloads are recomputed below. The leaf's own digest and signature can validly cover that false commitment, so the reader accepts a leaf that does not record the presentation it claims; compare its payload reference and value with the inception's carried exercise and subject digest.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
Round two produced four findings. TWO OF THEM THE AUTHOR HAD JUST CAUGHT in the same window — the ratification leaf's uncompared payload, and the missing-leaf pair — which is evidence the defect class was correctly identified rather than guessed at. Both were already repaired in this branch's working tree when Codex raised them. The other two were missed by that sweep, both P1, and both are one shape. A REFERENCE AND ITS REFERENT COULD MOVE INDEPENDENTLY. That is the round-two class, and it is not the round-one class: round one was a check that looked like it was working, this is two facts that looked like one fact. A capability whose whole subject is binding one record to another should expect it. PER-ACT UNIQUENESS KEYED ON A LABEL THE PRODUCER COULD REPLACE (Codex, P1, and the sharpest finding of this bench). The rule keyed on `presentation.exercise_ref`. A producer could carry the ALREADY-CONSUMED exercise VERBATIM — same `exercise_id`, same proof, same revocation check — and replace only that outer reference with a fresh value: the signed bytes changed, so the chain identity changed, and the uniqueness map saw a value it had never seen. THE CONSUMED EXERCISE WAS REPLAYABLE PAST THE RULE WRITTEN TO PREVENT EXACTLY THAT. Measured against the pre-fix code: the fixture drew `act_unproven` and `missing_link` and no `per_act_value_reused` at all. Both halves of the repair land, because either alone leaves a hole: the reference must AGREE with the carried record, and uniqueness is keyed on the CARRIED identifier so it does not depend on that agreement check having run. A rule that relies on another rule to be sound has a second failure mode. A VERIFICATION RESULT DECIDED BY ITERATION ORDER (Codex, P1). The scope-wide key map was built with `dict.update`, so when two carried wallets declared one `key_id` for DIFFERENT public halves, whichever was read last silently won: valid leaves of the other chain would fail, and leaves signed by the colliding wallet's key would be ACCEPTED for a chain that never authorized it. An `AMBIGUOUS_KEY` marker is now carried forward — never overwritten, and never dropped, since a reader that discarded it would resolve from a second wallet an identifier the first had already made unanswerable — at all three sites that resolve a key. An ambiguous identifier makes every signature naming it UNEVALUABLE, which is a refusal: verifying against a guess is worse than declining to verify. Pinned by a test that presents the two wallets in BOTH orders, because order-independence is the actual property. AND THE SHAPE WAS SWEPT FOR IN THE SAME SESSION IT WAS NAMED, rather than waiting for a third round to find the next instance. Every remaining pair of the shape in the signed bytes is now compared: the outer `grant_ref` against the carried exercise's, the carried wallet's id and holder against the exercise's `attribution`, and the wallet's DECLARED CUSTODY against the exercise's `custody_model_in_force`. Custody is the load-bearing one — `add-trust-anchor`'s ratified rule is that declared custody BOUNDS WHAT A SIGNATURE EVIDENCES, so an exercise free to record a stronger model than its wallet declares would let a `holder_readable` key evidence a human act, and requirement 8's narrowing rests on that being impossible. THE SELF-CAUGHT PASS FROM THE SAME WINDOW IS HERE TOO, and it measured its own value rather than asserting it. Every packaged negative was run through both readers and diffed: the missing-leaf strengthenings changed the verdict on FOUR committed fixtures, so they were anchored already; the ratification-leaf digest comparison changed the verdict on NONE, which made it dead code until `ratification-leaf-committing-to-another-subject.yaml` was written for it. A refusal no fixture provokes is a refusal nobody has seen work. The diff harness also reported one row this round could not have caused, and that row was the harness's own defect — the anchor worktree had no `openXwallet` gitlink, so the two readers were validating carried blocks against different vocabularies. A measurement instrument gets the same scrutiny as the thing it measures. The corpus is 7 positives and 31 negatives; the count sweep ran again across its three sites and was re-grepped to empty. Verification at this tip: openspec 78/78; the reader 0 errors with 24/24 refusal codes red-proven; the pinned wallet gate 0/0; trust-anchor, worker-enrollment, identity-brokering, credential-contracts and manifest-digests all exit 0; doc-health zero-new against `origin/main`; pytest 8287 passed, 21 skipped, 0 failed, with 21 skipped matching the workflow's exact pin. Co-Authored-By: Claude Fable 5 <[email protected]>
Round two applied — and two of the four you found, I had just found tooCodex independently raised the ratification-leaf payload and the missing-leaf pair while I was repairing exactly those two in the same window. Both were already fixed in the working tree when your review landed. I take that as evidence the defect class was correctly identified rather than guessed at, so both are recorded in The other two were missed by my sweep. Both P1, both real, and both are one shape: a reference and its referent able to move independently — which is not round one's shape. Round one was a check that looked like it was working; this is two facts that looked like one fact.
The shape was then swept for, in the same session it was namedEvery remaining pair of that shape in the signed bytes is now compared: the outer The self-caught pass measured its own value rather than asserting itEvery packaged negative was run through both readers and diffed. The missing-leaf strengthenings changed the verdict on four committed fixtures, so they were anchored already; the ratification-leaf digest comparison changed the verdict on none — dead code until The diff harness also reported one row this round could not have caused, and that row was the harness's own defect: the anchor worktree had no Corpus is now 7 positives / 31 negatives; the count sweep ran again across its three sites and was re-grepped to empty. At this tip: openspec 78/78; reader 0 errors, 24/24 refusal codes red-proven; pinned wallet gate 0/0; the five sibling validators exit 0; doc-health zero-new vs @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eb1241fce4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if leaf_type == "traveling_contract_issued": | ||
| for other_label, other in scope.travelings: | ||
| if other.get("traveling_contract_id") == doc.get("payload_ref"): |
There was a problem hiding this comment.
Bind issuance leaves to the traveling contract's chain
In a multi-chain store, a traveling_contract_issued leaf can name chain A in chain_ref while carrying the payload_ref and digest of chain B's traveling contract. This scope-wide lookup matches only the ID, so the digest recomputation succeeds, and the global recorded-ID set in check_atomicity then treats B's issuance as logged; chain B can therefore pass without a corresponding signed leaf. Require exactly one matching contract and verify that its chain identity also equals the leaf's chain_ref.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
One P1, and it is round two's shape ONE LEVEL UP — found in the rule the previous round's self-run sweep had just added, which is the honest measure of how far such a sweep gets. A `traveling_contract_issued` LEAF COULD NAME CHAIN A WHILE RECORDING CHAIN B'S CONTRACT (Codex, P1). Both checks that should have caught it looked SCOPE-WIDE: the payload-digest recomputation resolved the traveling contract by IDENTIFIER across the whole store, so it matched and recomputed cleanly, and the missing-leaf rule collected recorded identifiers GLOBALLY, so chain A's leaf discharged chain B's obligation. Chain B then passed with its primary custody record SILENT about an act the contract requires to be recorded as a signed leaf — which is exactly the hole the missing-leaf rule had been added to close one round earlier. Measured against the pre-fix code: the fixture validated CLEANLY. Not "refused for the wrong reason" — accepted. The lookup is now chain-scoped and requires exactly one match, and the recorded set is keyed on the (chain, contract) PAIR, so an issuance is discharged only by a leaf on the ISSUING chain. The other three leaf types were checked for the same defect in the same pass: all were already chain-scoped, so this was the only site. THE FIXTURE WAS WRONG ON ITS FIRST DRAFT, AND IT NEARLY HID THE FINDING. It reported as refused-for-the-intended-reason, and the reason was an INCIDENTAL defect the draft had introduced — its `inception_leaf_ref` named the wrong leaf — rather than the cross-chain filing under test. A negative fixture that fails for a second reason is not a probe; it is a fixture that agrees with you. The anchor became real only once the fixture was corrected to a single fault and the pre-fix reader was seen to ACCEPT it. That is the second time this realization has had to turn its own scrutiny on its own harness — the first was a diff instrument comparing two readers against different pinned vocabularies. **A measurement instrument gets the same scrutiny as the thing it measures**, and both instances are recorded in `tasks.md` §4 rather than quietly corrected. Corpus is 7 positives and 32 negatives; the count sweep ran across its three sites and was re-grepped to empty. Verification at this tip: openspec 78/78; the reader 0 errors with 24/24 refusal codes red-proven; the pinned wallet gate 0/0; trust-anchor, worker-enrollment, identity-brokering, credential-contracts and manifest-digests all exit 0; doc-health zero-new against `origin/main`. Co-Authored-By: Claude Fable 5 <[email protected]>
Round three applied — the same shape one level up, inside the rule round two had just addedOne P1, real, taken. And it is the honest measure of how far a self-run sweep gets: I swept for round two's shape and this instance was in the rule that sweep had just written. A Pre-fix, measured: the fixture validated cleanly. Not refused for the wrong reason — accepted. Repair: the lookup is chain-scoped and requires exactly one match, and the recorded set is keyed on the (chain, contract) pair, so an issuance is discharged only by a leaf on the issuing chain. I checked the other three leaf types for the same defect in the same pass — all were already chain-scoped, so this was the only site. The fixture was wrong on its first draft, and it nearly hid your findingIt reported as refused-for-the-intended-reason, and the reason was an incidental defect the draft had introduced ( That is the second time this realization has had to turn its scrutiny on its own harness (the first: a diff instrument comparing two readers against different pinned vocabularies, and blaming the change for its own defect). Both are recorded in Corpus is 7 positives / 32 negatives; count sweep re-run across its three sites and re-grepped to empty. At this tip: openspec 78/78; reader 0 errors, 24/24 refusal codes red-proven; pinned wallet gate 0/0; the five sibling validators exit 0; doc-health zero-new vs Nine findings over three rounds now, all real. @codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
| for char in text: | ||
| code = ord(char) | ||
| escape = _ESCAPES.get(code) | ||
| if escape is not None: | ||
| out.append(escape) | ||
| elif code < 0x20: | ||
| out.append(f"\\u{code:04x}") | ||
| else: | ||
| out.append(char) |
Copilot, on `eb1241fc`, and it is a class of its own: not a missing check, but a
check whose ANSWER came out in the wrong currency.
Python strings can hold unpaired surrogates — a YAML reader using
`surrogatepass`, or crafted input. `_escape` passed them through and `digest`'s
`.encode("utf-8")` then raised `UnicodeEncodeError`, which is NOT
`ConstructionError`: it escaped the refusal path every caller handles and
surfaced as a HARNESS FAILURE rather than as a finding. Measured against the
pre-fix code, for both a string value and a member name.
`_escape` now refuses U+D800-U+DFFF as a `ConstructionError` — the code point has
no UTF-8 encoding at all, so it has no serialization for any reader to agree
with. The bound is DECLARED in the contract beside the integer one, and the test
that pinned the integer bound's presence there was WIDENED into the site that has
to grow with each new refusal rather than a second test being added beside it.
The test carries a VALID astral-character control alongside five refused shapes,
because a fix that refused legitimate records would pass every negative in it.
A CONSTRUCTION THAT CRASHES ON AN INPUT IT SHOULD REFUSE HAS TWO ANSWERS, and the
whole point of one construction is that there is one. The general form is carried
in `tasks.md` §4: every refusal must reach the caller as the same kind of answer.
Verification at this tip: openspec 78/78; the reader 0 errors; 59 tests in
`tests/signed_execution_chain`; doc-health zero-new against `origin/main`.
Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot's surrogate finding — applied, and it is a class of its ownNot a missing check: a check whose answer came out in the wrong currency. Python strings can hold unpaired surrogates (a YAML reader using Repair: The test carries a valid astral-character control alongside five refused shapes, because a fix that simply refused legitimate records would pass every negative in it.
That is ten findings over three rounds, all real, all taken. At this tip: openspec 78/78; reader 0 errors, 32 negatives, 24/24 refusal codes red-proven; doc-health zero-new; 59 tests in @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ba510ca708
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| key_ref = signature.get("presenting_key_ref") | ||
| entry = declared_keys(get(signed, "presentation", "wallet")).get(key_ref) | ||
| raw = decode_signature(signature.get("signature")) |
There was a problem hiding this comment.
Bind the traveling signature to the presented key
When a carried wallet declares multiple keys, replacing the traveling contract's ratification_signature with a valid signature from a secondary key is accepted because this path resolves whichever presenting_key_ref the replacement names and never compares it with signed_ratification.presentation.presenting_key_ref. The full repository scan also misses the substitution: check_one checks only the inception record's signature, while this function independently accepts the altered traveling copy. Require the traveling signature to name the presentation key (and, when the inception is available, to match the signature it is supposed to carry), otherwise the point-of-use artifact no longer proves possession by the key recorded for link 1.
Useful? React with 👍 / 👎.
| if derived is None or derived != chain_id: | ||
| outcomes[CHECK_NAMES[1]] = "fail" |
There was a problem hiding this comment.
Propagate digest failures into recorded refusal reasons
When check 2 is the only failed walk check—for example, all chain references consistently carry a chain_identity that does not recompute—this branch marks the outcome fail but adds no digest_construction_mismatch to emitted. Fresh evidence beyond the previously fixed missing-proof case is that this direct assignment bypasses the new fail(...) helper; consequently emitted can remain empty and the later recorded_code comparison is skipped, allowing the verdict to record any enum-valid refusal reason without diagnosing the false reason.
Useful? React with 👍 / 👎.
…he next number is v2.5 Merges `origin/main` (18 commits) and corrects a number this branch asserted twice. The correction is the packet's own rule firing, not a repair of it. `tasks.md` 4.7 said, in terms: *"if #516 cuts alone first, this one re-counts again rather than reserving a number."* THAT IS WHAT HAPPENED. `add-binding-consumer-identity` cut and TAGGED `contract-v2.4` alone (#526, `afdf0e88`, now on `main`), and its inventory carries ZERO `signed-execution-chain` members — verified by grep against the inventory, not assumed from the intent. So v2.4 covers none of this family, and at this tip the next additive number is `contract-v2.5`: the manifest declares `contract-v2.4` and `contracts/releases/contract-v2.4.digests.yaml` is a cut inventory in the tree. THE RULE IS WHAT MADE THIS CHEAP. Because a proposed change must not reserve a minor number before merge order is known, no contract byte, no manifest row and no changelog heading in this branch ever named a number — so a figure that has now moved twice cost two prose corrections and nothing else. Both sites that named it are updated and the grep re-run to empty; `tasks.md` 4.7 and the staging INDEX detail now record the second count and why there was one. AND WHAT THE CUTTING SESSION WILL FIND IS MEASURED HERE RATHER THAN LEFT TO SURPRISE THEM: at this tip `verify-commit --commit HEAD` reports EXACTLY ONE mismatch, `HGR-RELEASE-DIGEST-MISMATCH` on `contracts/README.md`, while `origin/main` PASSES the same check. That is the expected uncut state — this realization adds two rows to the contracts index, and `contracts/README.md` is one of the three EDITORIAL members that legitimately move between cuts, which is why doc-health's `release-inventory-drift` family calls it INFO and reports zero new findings where the strict release tool reports an error. The cut resolves it by construction. A mismatch on any NON-editorial member would be a real finding, and there is none. Verification at this tip, all re-run against the NEW main: openspec 79/79 (the merge brought a new change packet); the reader 0 errors with 24/24 refusal codes red-proven; the pinned wallet gate 0/0; trust-anchor, worker-enrollment, identity-brokering, credential-contracts and manifest-digests all exit 0; doc-health zero-new against a baseline regenerated at `b0d754bd`. Co-Authored-By: Claude Fable 5 <[email protected]>
Fresh count CORRECTED at this tip: the next additive number is
|
| return [f"{'/'.join(str(part) for part in err.path) or '<root>'}: {err.message}" | ||
| for err in sorted(validator.iter_errors(doc), key=lambda e: list(e.path))] |
Provenance — merged on Brett Heap's standing in-session order, 2026-08-31Brett's sequencing order: land this realization once green with the bot round dispositioned, then cut the release, then pin-sync the aggregation. All four checks green at tip The fresh count at this tip is contract-v2.5 (v2.4 spent by #526 with zero signed-execution-chain members) — the cut follows as its own slice per tasks 4.7, discharging the one editorial |
…h sides Co-Authored-By: Claude Fable 5 <[email protected]>
| def _workflow(): | ||
| return yaml.safe_load(WORKFLOW.read_text(encoding="utf-8")) |
| runs = " ".join(step.get("run", "") | ||
| for step in _steps()) | ||
| assert "git submodule update --init openXwallet" in runs | ||
| assert "--recursive" not in runs | ||
| assert "submodules: true" not in WORKFLOW.read_text(encoding="utf-8") |
|
Provenance addendum: merge executes at tip |
…ain is not an audit trail, it is a permission) (#533) * Realize add-signed-execution-chain: cut contract-v2.5 (a validated chain is not an audit trail, it is a permission) Task 4.7 — the cut-dependent box act one (PR #524, squash 9af98c4) left to the cutting session, because a proposed change MUST NOT reserve a minor number before merge order is known. THE NUMBER, FRESH-COUNTED AT THE CUT — THE THIRD COUNT, and it has moved twice: the packet read contract-v2.3 (PR #514 took it), the realization read contract-v2.4 (#526 afdf0e8 cut AND tagged it alone). At this tip contracts/manifest.yaml:3 declared contract-v2.4, contracts/releases/ held inventories through v2.4, git ls-remote published v2.0-v2.4, no Unreleased block was pending, and `grep -c signed-execution-chain contracts/releases/contract-v2.4.digests.yaml` returned 0 — so v2.4 is spent and covers none of this family. Next additive number: contract-v2.5. Nothing had to be renumbered when a sibling took v2.4, because act one wrote the re-count INSTRUCTION into tasks.md and no number into any contract byte. ADDITIVE (minor), AND NOTHING NARROWS — MEASURED, NOT CLAIMED. `git diff --name-status contract-v2.4 9af98c4 -- contracts/` reports 47 additions and exactly ONE modification, and that modification is contracts/README.md, the editorial index. Not one schema, template, example or registry already published moved a byte, so there is no shared file in which a prior-bundle instance could be refused. contract_schema_version unchanged. WHAT MOVED, IN ORDER, WITH THE INVENTORY LAST: - contracts/manifest.yaml: contract_bundle_version contract-v2.4 -> contract-v2.5, plus the signed-execution-chain family block registering all FIVE schemas with per-file sha256. 167 rows -> 172; validate-manifest-digests.py 150 -> 155 verify. The corpus, the family README, the reader and its pytest wiring are content-addressed by commit with no per-file digest (the openxWallet, client-identity-roster, identity-brokering and trust-anchor precedent). - contracts/CHANGELOG.md: the contract-v2.5 entry, with the nothing-narrows measurement, the fresh count, the two structural residuals, the registration-is-not-enforcement section and the contract-v2.3 discharge. - contracts/README.md + contracts/signed-execution-chain/README.md: the three "REALIZED and NOT YET REGISTERED" sentences act one wrote, resolved to the literal contract-v2.5, each keeping its enforcement line. - docs/contract-versioning-policy.md: contract-v2.3 recorded as a FOURTH untagged instance and its discharge, in the section that already holds three. The section's "Every bundle from contract-v1.7 ... is now tagged" was true when written, became false, and is true again; a reader must not take it as evidence the practice never lapsed. - tests/intent-compliance/test_release_boundary.py: the boundary pin ADVANCED, not broadened. The tripwire fired on the bump, correctly — the library floor is an at-or-after comparison that would never have noticed. One named enum member, same match arm, 13 tests before and 13 after. The reason it needs a hand act is sharper here than at v2.4: this cut registers a DIFFERENT family, so nothing about it touches intent-compliance's membership, which is exactly the fact a human has to state because the library cannot tell "unchanged" from "unnoticed". - tests/signed_execution_chain/test_manifest_row_digests.py: NEW. The five rows this cut adds are recomputed from the files on disk, and the registration is closed in BOTH directions with the on-disk set derived from the DIRECTORY. It exists because scripts/validate-manifest-digests.py, which sweeps all 155 rows, is wired into NO workflow and NO test — a tool that catches drift when a human remembers to run it is the failure mode it was written to close, one level up. RED-PROVEN, AND THE PROOF FOUND A DEFECT IN THE TEST ITSELF: a 64-zero digest is parsed by PyYAML as an INT, so slicing it raised TypeError where a MISMATCH was the answer owed — this realization's own round-three lesson, that every refusal must reach the caller as the same kind of answer, arriving in its own gate. Repaired with str() (the sweeper's precedent) plus an explicit isinstance(..., str) assertion, since an int-parsed digest also silently loses leading zeros. Both mutation classes now report as findings. - contracts/releases/contract-v2.5.digests.yaml: built LAST, by scripts/validate-contract-release.py build, never hand-edited. 283 entries — MEMBERSHIP UNCHANGED from v2.4's 283, zero added and zero removed, which is what an additive release looks like in an inventory: the growth is in what a member ASSERTS. Exactly five digests move, each a file this cut edited. Built TWICE for that reason: rebuilt after two members moved during review of the entry text. REGISTRATION IS NOT ENFORCEMENT, and every artifact this cut touches says so. Tasks 4.5 and 4.6 are OPEN and are not this session's to close, and they are the ones that decide whether any of the rest confers anything: 4.5 makes the named reader a REQUIRED check in the branch ruleset, an OPERATOR act whose evidence is the live ruleset state and never a merged workflow file; 4.6 is its canary evidence and is blocked on 4.5 by construction. Requirement 9 is UNMET rather than partially met, the packaged conformance declaration still records is_required_in_ruleset: false, and the reader still warns on every run. contract-v2.3 — THE PENDING OWNER ACT IS DISCHARGED, surfaced by this cut's fresh count. The tag exists on the remote, verify-tag passes, and it dereferences to ec8be5a — exactly the commit the contract-v2.4 entry measured as the earliest first-parent commit on main declaring the bundle at which verify-commit passes (the PR #514 merge). Tag object dated 2026-08-31 03:14 -0400, the same timestamp as contract-v2.4's: the owner published both together. Untagged window about nineteen hours, during which afdf0e8 consumed v2.3 as a spent number. RECORDED, NOT SOFTENED, and nothing here tags or re-tags anything. The uncut mismatch 4.7 predicted was found exactly as predicted: verify-commit --commit HEAD at 9af98c4 reported ONE HGR-RELEASE-DIGEST-MISMATCH, on contracts/README.md, and nothing else. No non-editorial member drifted. The cut resolves it by construction. Full working record: openspec/changes/add-signed-execution-chain/realization-evidence.md Co-Authored-By: Claude Fable 5 <[email protected]> * Bot round: derive the on-disk schema set from the whole directory, not one level of it Copilot, PR #533 round one, and the finding is real. The closure test derived the on-disk set with Path.glob("*.schema.yaml"), which reads the family ROOT ONLY — so a schema placed in a SUBDIRECTORY would bypass the closure this test exists to enforce and ship UNREGISTERED while the test stayed green. Not hypothetical: this repository already carries contracts/hermes-runtime/migrations/v1-to-v2-mapping.schema.yaml, the only nested schema under contracts/ today and proof the layout is reachable. MEASURED AGAINST THE PRE-FIX PREDICATE, not reasoned about. With an unregistered nested sixth schema on disk, glob returned exactly the five expected paths and the assertion PASSED; rglob fails. glob and rglob return the identical five paths at this cut, so the fix changes nothing today and closes the hole for whoever adds the sixth file. The docstring said "derived from the DIRECTORY" while the code read one level of it — this capability's own round-one defect class, a check that looked like it was doing its job, arriving one level up in the cut's own instrument. The instrument gets the same scrutiny as the thing it measures. realization-evidence.md records the round. No inventory member moved, so the contract-v2.5 inventory is unchanged and verify-commit stays green. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…d the two boxes that confer everything stay open (#535) * Archive add-signed-execution-chain: nine requirements reach canon, and the two boxes that confer everything stay open Archived on Brett Heap's order of 2026-08-31, once the pin-sync had landed. THE ARCHIVE GATE, READ RATHER THAN INHERITED. `docs/release-realization-flow.md` wants a code-surface change's code merged on the implemented target plus a green run. Act one is PR #524, squash `9af98c4d`; act two is the cut, PR #533, squash `58fd7a4f`, whose annotated tag `contract-v2.5` (object `f0ed3f3b`) peels from the remote to that commit. Green was taken from the check-runs API at this act, not from a merge notification: on both final heads (`69509939`, `e7a37064`) all five checks report success. TWO BOXES DID NOT CLOSE, AND NOTHING HERE PRETENDS THEY DID. Task 4.5 is the OPERATOR act making `signed-execution-chain-gate` REQUIRED in the branch ruleset — a merged workflow file is not evidence, only the live ruleset state is — and 4.6 is its canary evidence, blocked on 4.5 by construction because three of its four conjuncts are producible today and the fourth cannot be read until the ruleset changes. Until 4.5 is performed requirement 9 is UNMET rather than partially met, the shipped declaration records `is_required_in_ruleset: false`, and the reader warns on every run. So the capability reaches canon MEETING ITS OWN DEGRADED CASE rather than evading it, which is what makes the archive lawful. Both are restated as dispositions in the archived tasks.md (4.5, 4.6, 6.1) and carried forward at issue #534, so an open operator act is not written down only inside an archived packet. 4.5 remains Brett's act. PROMOTION VERIFIED BYTE-FOR-BYTE, and the delta had no scenario-completeness exposure at all: it is pure ADDED into a capability that did not previously exist, so there was no canon scenario set to restate and nothing could be silently dropped. Measured anyway — 9 requirements in, 9 out, titles an identical set, all nine bodies byte-identical (9/9), 45 scenarios in, 45 out, one new capability directory, no sibling capability touched. THE MECHANISM WAS `openspec archive --yes`, NOT `proposal-support archive`, AND THE CHOICE IS THE RECORDED CONVENTION. That wrapper refuses any change whose tasks.md still carries a `^- [ ]` line — a blanket gate that cannot tell a ruled-open follow-up or a deliberately-open operator act from unfinished work. The two things it adds were run anyway on both sides of the move: the origin gate via `proposal-support verify` (ok before and after, per-change and whole-corpus), and packaging, a lawful no-op for a staged origin with no supporting-docs folder. Precedents: 2026-08-28-declare-sentinel-pin-vocabulary and the three sibling archives of 2026-08-27. Gates: `openspec validate --all --strict` 80 passed / 0 failed before and after; `pytest tests/ -q -m "not postgres"` 8363 passed / 21 skipped / 0 failed at the baseline, and 1709 passed on the reactive subsets after; `.openspec.yaml` moved rather than being lost, proved by identical blob id `57f45fe1`. Fifty-six paths still name the old home and are deliberately left standing: in the corpus the string is an opaque `subject_ref` the reader compares field-to-field and never resolves on disk, `contracts/CHANGELOG.md` is a member of the published contract-v2.5 digest inventory so editing it would raise HGR-RELEASE-DIGEST-MISMATCH, and thirteen already-archived changes carry the same stale spelling — this joins a standing class rather than introducing one. Co-Authored-By: Claude Fable 5 <[email protected]> * Bot round: name the two task counts as two readings, and record the derived-view consequence the target_release decision had not considered COPILOT — ACCEPTED. The archive-act record quoted the CLI's `Task status: 22/27` and then said the file ends at 23/28 without labelling them as two different readings. They now say so in terms: 22/27 is the CLI's reading at the moment it ran, before § 6.1 existed; 23/28 is this file's end state after the restatement adds § 6.1 as the twenty-third tick and twenty-eighth box; the five open boxes are the same five in both. Neither is a correction of the other — recording only the second would hide what the tool actually said, and only the first would misdescribe the file a later reader opens. CODEX P2 — THE PRESCRIBED FIX IS REFUSED, THE FACT BEHIND IT IS RECORDED. Codex asked that `proposal.md`'s `target_release: contract-v2.3` be rewritten to `contract-v2.5`. The realization session had already decided the opposite in terms, and that decision stands: rewriting a RATIFIED proposal's front-matter to agree with today's state is the move this repository refuses everywhere else, and doing it inside an ARCHIVE commit would make the archived packet differ from the text that was ratified — a worse defect than a superseded number. The line is also not false: it says on its own face that the number remains allocated at realization by merge order and is confirmed against the manifest at the realization's tip. But Codex surfaced a consequence the realization session's reasoning did NOT consider, and it verifies: `scripts/ideation_dashboard/generator.py` `_release_frontmatter` (:378-387) lifts the field into the dashboard snapshot (:542-547), and archived folders are in scope (`_archived_change`, :202-214), so the dashboard tile for this ARCHIVED change reports the proposal-time number. `_header_value` returns the whole physical line, so what renders carries the allocation caveat inline rather than a bare "v2.3" — which bounds the defect without dissolving it. Every authoritative surface says contract-v2.5: manifest, CHANGELOG, tasks 4.7, the published tag, the README archived row. The gap is now written down in realization-evidence.md instead of waiting to be rediscovered, and its honest home is a derived-view question — should the dashboard prefer a realization-confirmed number over a proposal-time one — not an edit to a ratified line. Re-gated: openspec validate --all --strict 80 passed / 0 failed; proposal-support verify ok; pytest tests/doc-health tests/ideation-dashboard 6024 passed, 18 skipped, 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…A ground correction Three P1s on f54cb5b plus two announcement P2s, discharged together with the route-A re-grounding as one coherent act. P1 3899739417 — A RIVAL AUTHORITY-PROVEN REVIEW COULD CLOSE THE CHAIN. Limb 1 compared SUBJECTS and not review IDENTITY, and the committed lineage fields named no review record at all — so limb 2's assertion that the review record falls inside the ratifying bytes was NOT CONSTRUCTIBLE, a defect round eighteen introduced. The ratifying bytes now commit to a FOURTH field, THE CONSUMED REVIEW RECORD'S OWN DIGEST, and limb 1 compares identity TWICE: against that digest and against the review the referenced amendment record names. An earlier REJECTED review of the same bytes fails both. P1 3899739435 — LINK 6 BOUND TO NO PULL REQUEST. A decision reused after a branch move, retargeted, or attached to another PR carrying the same chain identity permitted A MERGE OF WORK THE CONTROLLER NEVER SIGNED AS THE PROPOSED WORK. The signed decision now carries the PR IDENTIFIER and the HEAD REVISION it proposes, and the gate REFUSES unless both EQUAL the pull request and merged head at the terminal act. P1 3899739441 — A NO-OP TEST COULD CLOSE THE CHAIN. Rounds four and seven hardened the OUTCOME — authenticated execution, exact revision, established PASS — and never checked THE TEST WAS THE RIGHT TEST, so 'governed' constrained nothing a verifier could check. The RATIFIED SUBJECT now NAMES the governed test, the controller dispatches THAT test, and the closure record's test identity must EQUAL it. What was promised is what is tested — this requirement's own opening sentence, finally owed a check. P2 3899739426 — proposal.md's heading said ONE MODIFIED block where there are TWO; corrected, with the second block's route, its re-grounding and the shared archive-order dependency stated. THE GUARD WALK ran over all nine permitting conjunct sets. The new PR-binding positive is scoped to 'proceeds to the rest of the walk' by construction; the closure positive gained the test-identity conjunct. AND THE ROUTE-A GROUND IS CORRECTED IN THE SAME ACT. The merge-up surfaced that PR #524 (9af98c4) realized tranche one at contract-v2.5, falsifying Route A's first precondition — true at dd847e4, verified there, and dead by the time of the merge. The merge was ABORTED rather than pushed. Brett was given the correction in full and ruled 'route A' (2026-09-01): THE ROUTE STANDS, ITS GROUND MOVES. The MODIFIED on tranche one's REQUIREMENT TEXT is lawful OpenSpec canon amendment; its SCHEMA consequence is an ADDITIVE EXTENSION OF THE SHIPPED chain-inception.schema.yaml AT THIS PACKET'S OWN CUT, on add-binding-consumer-identity's (#497) precedent. THE SUBJECT-KEYED RE-GROUND SWEEP corrected every site: the ratification record's basis 2.1, design.md D12, tasks 1.26 and 5.4, proposal target_release. Superseded grounds are MARKED AND DATED rather than rewritten, and Route B's refusal ground is recorded as UNAFFECTED — it never depended on tranche one being uncut. THE RATIFICATION RECORD KEEPS ITS TRUTH AND GAINS SECTION 7: it truthfully ratified f54cb5b; that head's verdict arrived afterwards; both it and the ground correction are discharged here; RE-RATIFICATION IS PENDING. The packet's status and the announcement tri-site read RATIFIED-THEN-AMENDED — not draft, not currently-ratified — and approved_on stands as the history of the act it records. 104 -> 108 ADDED scenarios; MODIFIED unchanged at 2 requirements / 17. 1.22's announcement sweep fired at every site. Co-Authored-By: Claude Fable 5 <[email protected]>
Tranche one was realized on main by PR #524 (9af98c4) at contract-v2.5, and #509/#513 plus other-lane work landed alongside it. This merge brings all of it under the branch so the packet can be read against the state it will actually promote into. ONE CONFLICT: README.md's OpenSpec Records block. Resolved by UNION, newest-first, per the #495 precedent (4d9d36f) — with one correction the union rule requires rather than forbids: KEPT FROM OURS add-chain-attestation (the newest entry, 2026-09-01) KEPT FROM THEIRS govern-sibling-added-modified-deltas, add-chain-anchoring, add-structured-scope-substrate DROPPED FROM OURS add-signed-execution-chain, add-binding-consumer-identity The two dropped entries are not lost: MAIN ARCHIVED BOTH CHANGES, and its README already carries their archive entries pointing at openspec/changes/archive/2026-08-31-*. Keeping our ACTIVE entries beside main's ARCHIVE entries would have duplicated them and asserted they are still active, which is false. The union rule exists to avoid LOSING entries, not to resurrect superseded ones — every entry survives, each in its true state. ideation/staging/INDEX.md auto-merged with both sides' topic content intact. NO CONFLICT TOUCHED openspec/changes/add-chain-attestation/** — verified zero paths across the merge base, so the packet including the ratification record and the frozen sitting bundle resolves to our side byte-exact. VERIFIED ON THE MERGED TREE, because the re-grounding asserts it: contracts/signed-execution-chain/chain-inception.schema.yaml is additionalProperties: false and carries NO lineage fields, so the additive extension is OWED AT THE CUT exactly as target_release, design.md D12 and tasks 5.4 now say. FROZEN SITTING BUNDLE BYTE-IDENTICAL across the merge — all ten artifacts (packet, ballot, council record, disposition, the four seat returns, the seat-returns README, the #509 summary) hash unchanged. The eleventh file, ratification-2026-09-01.md, changed only because this round amended it under Brett's ruling. Co-Authored-By: Claude Fable 5 <[email protected]>
…rge #510" RE-RATIFIED AT 6d7ef17, against the full disclosed state, closing the pending act §7.3 recorded. Verbatim: "re-ratify and merge #510" — Brett Heap, 2026-09-01. THE LINEAGE THIS RECORD DESCRIBES, CLOSED ON ITSELF. A subject was REVIEWED at one head, AMENDED under what that review returned, and RE-RATIFIED at the amended head — reviewed -> amended -> re-ratified, connected by a discharge trail. That is precisely the AMENDMENT LINEAGE this delta requires a ratification to carry. The rule was written because "accepted as amended" is the ordinary case rather than the exception; the record now proves it by being an instance of it. BOTH ACTS STAND AND NEITHER ERASES THE OTHER. f54cb5b's ratification is the history at sections 1-6 — it truthfully ratified that head, and the record was never rewritten to pretend otherwise. 6d7ef17's re-ratification is the act in force. The ratified baseline names the amended head; the original act keeps its own line. STATUS AND THE ANNOUNCEMENT TRI-SITE MOVE TOGETHER to RATIFIED — CURRENT, per the family's rule: the proposal header, the process section and the front-matter Origin block, plus tasks 3.1 and the preamble, .openspec.yaml, README and the staging INDEX. A sweep confirms ZERO pending-state claims survive anywhere outside the record's own history. AND TWO FRONT-MATTER DEFECTS FOUND BY COPILOT ON THIS HEAD ARE FIXED IN THE SAME ACT, both residue of the previous round's own re-grounding sweep: code_surface still called tranche one "ratified-not-realized" while target_release said PR #524 realized it — a front matter contradicting itself about the very ground being re-ratified — and target_release carried "no consumer pinned at the current bundle is made non-conformant" twice, a duplication my replacement introduced. The sweep that re-grounded six sites missed one and duplicated a clause in another; both are corrected here rather than carried into the re-ratification. Gates on the merged tree: strict valid, --all 79/0, doc-health ZERO-NEW against the current origin/main. Co-Authored-By: Claude Fable 5 <[email protected]>
…5b1618f (#1138) Advance the pinned decision core to fe9a6f5b, the merge of codexFactory #524, which regenerates the openxFactory review-authority floor block from 66 to 67 entries and so covers the four specs added to base since b21f0100 (corpus-adapter-seam, domain-mapping-declaration, packet-citation-report and factory-mcp-conformance). This discharges the merge-master-approval floor_incomplete red admitted at #1252's landing. Lands on Brett Heap's word "land #1138 when green" (2026-10-06); the advisory merge-master-approval red at the head is the pre-landing reading of the old pin, dispositioned on the PR. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…RATION_PIN b21f0100) (#1256) Record the review-lane pin's lockstep with the xFactory aggregation as diverged. #1138 (squash 9171d14) advanced core_commit b21f0100 to fe9a6f5b (codexFactory #524), while the aggregation's MIGRATION_PIN stays b21f0100 on all three surfaces, as measured on xFactory main 1047586d. The dated reason paragraph and the test literal move together, in the form of #1123 → 8184d74. This is owed by Brett Heap's ruling of 2026-09-24 on #656 (comment 5815412869, item C2) and lands on his word "land C2 when green" (2026-10-06). Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Realizes the ratified
add-signed-execution-chain(#495, squash91cf0a46) —tasks §3 and §4.1–§4.4. Three boxes are deliberately left open and are named
below.
The inversion the packet was ratified for: a validated chain is not an audit
trail, it is a permission. An audit trail is written after the fact and can
be forged after the fact; a chain the gate WALKS before the terminal act cannot
be, because the act does not happen without it. This pull request builds that
chain's tranche-one half and the reader that walks it.
§3 — the three things that had to be settled before any schema was authored
xfc-jcs-sha256-1— RFC 8785 JSON Canonicalization Scheme over the digest subject, SHA-256, renderedsha256:+ 64 lowercase hex. Declared once, indigest-construction.schema.yaml, and taken by$refeverywhere else, so the family cannot grow a second construction rule beside the first. BOUNDED rather than half-implemented: object, array, string, INTEGER, boolean and null are admitted and a non-integer number is REFUSED — ECMAScript number serialization is the one part of JCS a second implementation reliably gets wrong, and a digest two readers compute differently is worse than a digest one of them refuses. The exact byte range is thesigned_ratificationblock and nothing outside it§4 — what was built
contracts/signed-execution-chain/— the four record kindscode_surfacenames (chain inception, traveling contract, transparency-logleaf, realization conformance declaration on
trust-anchor's ratifieddeclared-shortfall pattern), plus the definitions-only digest construction,
which declares no kind.
xfactory_wallet_grant_exercise, the signing wallet the shippedxfactory_wallet_record— both carried verbatim inside the signed bytesand validated against the PINNED schemas through the
openXwallet/gitlink — and the actor is
identity-brokering'sactor_subject_referencecarrying an
xfactory_wallet_subject_attestation. They are carried as well asreferenced because the gate's presentation, actor, holder-class and signature
checks READ them: a reference nothing can resolve at the point of use leaves
four of eight checks unrunnable, and requirement 9 says a check that cannot run
confers nothing.
scripts/validate-signed-execution-chain.py— the NAMED READER, walkingall eight ordered checks over links 1–3 plus the four rules a gate
cannot see (atomicity, per-act uniqueness, the log's append-only property, the
declaration closed in both directions). It verifies the ratifying signature
rather than reading a claim about it, and it refuses
ecdsa-p256andecdsa-secp256k1as UNEVALUABLE rather than accepting a signature nobodychecked.
.github/workflows/signed-execution-chain-gate.yml— job idsigned-execution-chain-gate, no display name, so the check surfaces as theliteral token a ruleset would pin.
Where each restriction lives is itself a rule
Shapes this capability owns are made unrepresentable — an actor carrying no
wallet attestation cannot be written down. Restrictions it imposes on a
shipped vocabulary are refused by name —
object_refabsent,signed_overnotrequest_digest— because requirement 1's own doctrine is thata refusal must name what was actually lacking, and "does not match const" does
not.
Checks 2 and 3 are never collapsed
The chain identity is recomputed over the SIGNED bytes; the
object_refcomparison is over the CONTENT digest. A record equating them is refused by
name, and a fixture proves it: the equation would reject every conforming chain,
and is unbuildable in the other direction because
object_refwould have tocommit to a signature not yet made.
On the hand-written Ed25519 verifier, stated up front
"Do not write your own crypto" is the right default and this is a bounded
exception. The module verifies and never signs, holds no secret, and
every input it touches is public — which is what the usual timing-side-channel
warning is about. It is RFC 8032's own verification algorithm, with
Srange-checked against the group order so a malleable signature is refused, and it
is pinned by RFC 8032 §7.1's published vectors and their mutations (flipped
message byte, flipped signature byte, wrong key, non-canonical scalar, wrong
lengths, a public key that does not decompress). The alternative was adding a
cryptography library to a hash-pinned lock to verify one governance signature, or
a gate whose first check is a claim.
The corpus
7 positives composing ONE whole chain and 32 negatives, each a
single-fault variant adjudicated in that corpus's scope — a refusal of a
chain is a property of a set of records (a missing link, a reused per-act
value, a leaf that commits to another chain), and a fixture adjudicated alone
could not express one.
All 24 closed refusal codes are red-proven, and the self-test refuses a code
with no probe — a refusal the reader can emit and no fixture ever exercises is
a refusal nobody has seen work. The nine
tasks.md4.2 names are among them.Two further obligations are refused by shape instead, because unrepresentable
is stronger than refused.
Three bot rounds, and what they cost
Nine findings across three rounds, all real, all taken. Every repair was
anchored by running the mutation against the pre-fix code rather than by
reasoning about it, and the pre-fix behaviour is recorded in each case.
R = identity, S = 0verifies for anything, with no private key9007199254740993emitted unchanged where RFC 8785 emits9007199254740992uniqueItemsclosed nothing (Copilot). A verdict could record one check twice and omit another, carrying eight itemsexercise_refmade it replayable past the rule written to prevent itact_unproven+missing_link, and noper_act_value_reusedat allkey_id(Codex).dict.updatemeant a verification result decided by iteration orderTwo lessons the rounds paid for, in
tasks.md§4:linked, a list that was eight long, a digest that serialized, an equation that
balanced. Round two's was different: a reference and its referent able to
move independently — two facts that looked like one fact. Naming the second
shape let it be swept for immediately (four more binding comparisons, including
custody, which is load-bearing for requirement 8 via
add-trust-anchor'sratified rule that declared custody bounds what a signature evidences).
twice. A diff harness compared two readers against different pinned
vocabularies and blamed the change for its own defect; and a negative fixture
passed for an incidental reason its draft had introduced, nearly hiding round
three's finding. A fixture that fails for a second reason is not a probe.
The self-run sweep measured its own value rather than asserting it: every
packaged negative was run through both readers and diffed. Two strengthenings
changed the verdict on four committed fixtures and were already anchored; one
changed the verdict on none — dead code until a fixture was written for it.
Two residuals are DECLARED, not covered
signed_overis an enum selector; the pinned schema carriesno field holding the signed digest value, so the record alone cannot prove
the signed request included
object_ref. The digest comparison that isenforceable is enforced; the step beyond it is not asserted. The durable repair
is an additive optional field belonging to
opensoft/openXwalletas a namedsuccessor — defining it here would mint the second proof vocabulary the
requirement exists to avoid.
an observed prefix is detected (the link chain breaks, and every traveling
contract carries the digest of the leaf that recorded its inception), and
tranche-three anchoring is what closes the rest.
The reader refuses either recorded
satisfied.It confers nothing yet, and says so in the present tense
signed-execution-chain-gateruns on every pull request and is not requiredin the branch ruleset, so every record this family defines is documentation that
governs nothing. The packaged conformance declaration records
is_required_in_ruleset: false, SEC-R9 ispartial, the reader emits astanding
reader-not-requiredwarning on every run, and a test refuses adeclaration that records SEC-R9
satisfiedwhile the reader is unrequired.Deliberately NOT done
add-wallet-carried-review-authoritytask 2.5, org ruleset 21538893)contracts/manifest.yamlandcontracts/CHANGELOG.mdare untouched and nothing is bumped: a proposed change MUST NOT reserve a minor number before merge order is known, and the manifest update is committed atomically with the cutThe fresh count, taken at this tip
contracts/manifest.yaml:3declarescontract-v2.3andcontracts/releases/contract-v2.3.digests.yamlis a cut inventory in the tree,so v2.3 is SPENT and the next additive number is
contract-v2.4— whichadd-binding-consumer-identity's realization (#516,5e8a33cf) also owes andhas not yet performed. Per
docs/contract-versioning-policy.mdseveral changesmay ride one additive cut, so this family and #516's schema move can land in
the same
contract-v2.4; if #516 cuts alone first, this one re-counts ratherthan reserving. The cut is the orchestrator's, not this pull request's.
D7.9's sweep was run, and its one deliberate non-edit is recorded
Ticking §4 changes what the packet asserts about itself, so every site asserting
"realization is a later commission" was grepped, edited, and the grep re-run:
tasks.md, the README OpenSpec record, andideation/staging/INDEX.mdin bothits row and its detail section.
proposal.md,.openspec.yamlandreview/ratification-2026-08-29.mdare NOTedited. Their sentences are about what the ratifying act authorized; they
were true when written and remain true, and rewriting a ratified baseline to
reflect a later act would make the ratification look like the thing that built the
family.
tasks.mdstates that distinction in terms rather than leaving a readerto infer it. The
INDEX.mdrow is not markedExit taken:— that recordsilences the
staged-candidate-agingfamily only when it names an ARCHIVEDchange, and the topic must keep ageing while tranches two and three are unraised.
Verification
OPENSPEC_TELEMETRY=0 openspec validate --all --strictscripts/validate-signed-execution-chain.pyreader-not-required); 7 records as one corpus, 32 negatives, 24/24 refusal codes red-provenopenXwallet/scripts/validate-openxwallet.py .(the required gate's exact invocation)validate-trust-anchor/validate-worker-enrollment/validate-identity-brokering/validate-credential-contractsorigin/main(baseline worktree basename matched, per #342)pytest tests/ -q -m "not postgres"pytest-suite's exact pineb1241fcAn earlier local run showed one failure,
tests/doc-health/test_pin_reachability.py::test_this_repository_can_consult_the_retention_namespace, which was not this branch's: it reproduced identically on a pristineorigin/mainworktree and disappeared onceGIT_CONFIG_GLOBAL=/dev/nullwas dropped —git ls-remote origin refs/retention/pins/*cannot authenticate without a credential helper. CI has the token, and CI'spytest-suiteis green.Tranche two (the attestation links) and tranche three (on-chain anchoring) are
NAMED successors. Nothing here mints an attestation identity, holds a
certificate, or places anything on any chain.
🤖 Generated with Claude Code