Skip to content

Tranche one names the act chain inception, because 025 already owns enrollment - #495

Merged
brettheap merged 17 commits into
mainfrom
change/add-signed-execution-chain-tranche-one
Aug 29, 2026
Merged

brettheap merged 17 commits into
mainfrom
change/add-signed-execution-chain-tranche-one

Conversation

@brettheap

@brettheap brettheap commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

UNRATIFIED. Ratification is Brett Heap's act, and tasks.md §2 carries it as an OPEN box. This pull request asks for review of the packet, not for ratification.

The clarify round this packet used to wait on has HAPPENED. All seven of the staged topic's questions were ruled on 2026-08-29 (#499, squash 9c501df6), and the packet is amended to them rather than flagging them. What Brett gave separately, in session on the same day, is three further rulings: the drafting green-light the sitting deliberately withheld, the collapse of two parallel packets onto this one, and Narrowing A. None of the four is a ratification.

Tranche one, and its boundary is RULED

Q4 fixed it: links 1–3 ONLY, with two sequencing facts ruled alongside — the signed transparency log is a TRANCHE-1 artifact, and the chain-validating gate exists FROM TRANCHE ONE validating a short chain "so the refusal path is exercised from the start rather than first tested when it matters most." The packet already met both; the scope section now cites the ruling instead of the topic's instruction.

The inversion that makes it worth doing: 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 it permits the terminal act cannot be, because the act does not happen without it. A broken or missing link is a FRAUD SIGNAL and a refusal, never a warning, and an unevaluable chain refuses on the family's fail-closed doctrine. The gate validates hash-linked continuity, never a bag of signatures — individually valid artifacts from DIFFERENT executions must not assemble into a chain.

Named successors, not drafted here: tranche two (attestation, links 4–6 and 10) and tranche three (on-chain anchoring). Every question-gate they held is now OPEN; what remains for them is machinery — the omnigent layer and the PKI plane — rather than a ruling.

This packet is the survivor of a collapse Brett ruled

Two sessions raised this tranche into the same change directory three minutes apart — #494 at 08:55:44Z, this at 08:58:21Z — neither able to see the other, both authored before the rulings landed. He ruled #495 the surviving base; #494 is closed.

The deciding ground was Q4. #494 deliberately shipped no gate — its proposal says "the packet creates no merge gate", and one of its scenarios is normatively against the claim. Conforming it would have meant reversing its thesis, three design decisions and a normative scenario. This packet already carried the gate, argued from the same convening record, and drew the line #494 collapsed: an out-of-pipeline INCEPTION and a required-check GATE are different objects, and only the first is what the 2026-08-28 seats refused — Brett's own §8.2 continuation names the other path as one that "needs no class and no flip."

#494 was ahead on hardening and none of it is discarded. Four of its findings are harvested here, cited to #494 in proposal.md and design.md D8:

Harvested from #494 Lands as
The actor↔wallet attestation binding — a link could reference one holder's valid exercise and record a different well-formed subject with every other check passing. Direction taken from the pinned contract: openxwallet-subject-attestation closes resolution.resolved_by to subject_ref, so a wallet is checked as an ATTESTATION and never resolves a subject Requirement 2 (new)
Per-ratification uniqueness, ENFORCED not merely named — the pinned schema constrains no reuse, so a producer reusing the per-act value reproduces identical bytes and the collision returns Requirement 3
ONE digest construction for EVERY digest — declared once in the contract; #494 met that defect twice and unified rather than adding a second rule Requirement 4 (new)
The named-reader required-check rule — nothing confers or refuses until a named validator runs as a REQUIRED check, and a merged workflow file is not that Requirement 9 (new)

One #494 requirement was deliberately NOT harvested, reason recorded: its every-link-signs rule cannot be performed on any link this tranche defines.

The two convening-derived constraints

Both from opensoft/codexFactory → hermes/domain/review-councils/records/2026-08-28-gate-rules-openxfactory-substantive-classes.md (unanimous 5/5; convener disposition §8, Brett Heap).

  1. Chain inception is OUT-OF-PIPELINE by proven necessity. A class over openspec/changes/** can never commission a council: the surface is inside the canonical GATE_INTEGRITY_FLOOR, evaluated before any clearable classification. Measured on the real tree: 984 admitted, 984 floored, 0 remaining, reproduced code-level.
  2. Link 7 composes with the §7.4 path, not the clearance envelope. No merge-approval-envelope instance and no candidate class is created; specs/025-openxfactory-review-lane-caller/spec.md FR-008 stays gated exactly where the convening left it.

The vocabulary act — chain inception, not enrollment

025 already owns "enrollment" here. FR-008's "enrolled candidate class" is the entry of a class into a merge-approval-envelope; add-worker-enrollment-broker carries a third sense. So this capability takes neither: chain inception is the ratification's registration into the registry, in the SAME signed act, minting the chain identity. The non-collision is stated in requirement text, so a reader of the promoted spec finds it without this proposal.

Narrowing A — RULED; Narrowing B — settled by Q1 itself

Tier 1 is RATIFYING authority (Brett Heap, 2026-08-29, in session). Agent-held REVIEW wallets stay lawful, the realized wal-agent-mrc-0001 is untouched, and what a chain refuses is an agent-held wallet performing a ratifying act. The clarify sitting did not reach this — #499 touches neither the tier model nor either narrowing — so it was ruled separately and design.md D5 says which act is which. It costs nothing in strictness: holder_readable custody evidences the HOST acted, which under add-trust-anchor's ratified rule is exactly what a ratification may not stand on. Narrowing B needed no separate act — Q1's disposition itself says no new artifact is created for the presentation.

Q5 compliance is stated positively, because silence is not enough

Q5 overrides its recommendation: "allow contract code later." The posture is preserved (evidence-only today; no planned tranche puts contract code on any chain) but the permanence is refused. So this packet writes no contract-code posture, no "never", and NO TRIGGER CONDITION — the recommendation would have gated a future adoption on patient-facing verifiability across organizations sharing no consortium, and the ruling refuses that gate. The earlier draft got this wrong in the ruling's own direction — it said "the trigger condition still to be stated", which is the one sentence the ruling forbids. Corrected, and the correction left visible.

Requirements — 9 ADDED, 40 scenarios, no MODIFIED block anywhere

# Requirement
1 Ratification presents wallet-carried authority, proven by possession — Q1 as ruled, plus the replay binding and its declared residual
2 The actor a chain records is bound to the wallet that signed
3 Ratification and chain inception are one signed act — out-of-pipeline; per-act uniqueness enforced; the non-collision with 025 lives here
4 One digest construction governs every digest, and each record names the SUBJECT its digest is taken over
5 The signed ratification travels with the work
6 The signed transparency log is the record — anchors are tranche three; the suffix-truncation residual is DECLARED
7 A gate validates the short chain as a HASH-LINKED chain — fraud signal, never a warning; unevaluable refuses
8 Ratifying authority is human-held — Narrowing A as ruled
9 The capability confers and refuses nothing until a named reader runs as a REQUIRED check

target_release — contract-v2.3, FRESH-COUNTED at this tip

contracts/manifest.yaml:3 declares contract-v2.2 and contracts/releases/contract-v2.2.digests.yaml is a cut inventory, so v2.2 is spent. The packet as first filed reasoned from contract-v2.1, which #498 superseded the same day — a target_release reasoned from a stale manifest is exactly what re-counting prevents. It stays allocated at realization by merge order per docs/contract-versioning-policy.md, and the realization re-counts against the manifest at ITS tip.

Gates

The merge resolved both conflicts against #499's rewrite; main's ruled text won wholly in the staged fragment, because this branch's own summary still carried "Bitcoin is the primary anchor with Kaspa an optional secondary" — the exact ordering Q3 inverted. The Staging ID: header is kept: doc-health's proposal-origin family raises staged-origin-unresolvable for an ACTIVE change whose staging folder carries no matching id.

🤖 Generated with Claude Code

…nrollment

Exit 1 of three of the staged `signed-execution-chain` topic — the tranche its
own exit path marks "Composable TODAY": links 1–3, plus the append-only signed
transparency log (a tranche-one artifact by that text's own sequencing note),
plus the gate existing from tranche one validating a SHORT chain so the refusal
path is exercised from the start. Six ADDED requirements in a new neutral
`signed-execution-chain` capability; no MODIFIED block anywhere.

Two constraints come from the 2026-08-28 gate_rules_council convening: the
chain-inception act is OUT-OF-PIPELINE by proven necessity (a class over
`openspec/changes/**` can never commission a council — 984 admitted, 984
floored, 0 remaining, reproduced code-level), and link 7 composes with the §7.4
council-reviewed-but-human-approved path rather than the clearance envelope.
025's FR-008 is left gated exactly where the convening left it.

The vocabulary act is the reason for the subject line: FR-008 already owns
"enrollment" here for candidate-class entry into a merge-approval-envelope, and
`add-worker-enrollment-broker` carries a third sense, so this capability takes a
word the repository does not use at all. The non-collision is stated in
requirement text, not only in the proposal.

Link 1's instrument is the SHIPPED xfactory_wallet_grant /
xfactory_wallet_grant_exercise pair at the openxwallet digest pin — no second
identity, grant or proof vocabulary is defined. Two narrowings are FLAGGED for
the clarify round rather than assumed: tier 1 narrowed to RATIFYING authority
(the literal tier-model sentence would refuse the realized agent-held
wal-agent-mrc-0001 review wallet), and Q1's "rather than a new artifact" read as
"invent no new artifact".

UNRATIFIED. The clarify round on all seven questions precedes ratification, and
ratification is Brett Heap's act.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 29, 2026 08:58

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

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

Two defects the authoring session found in its own text before any bot did,
both of the same shape — a requirement resting on less than it needs.

1. Out-of-pipeline rested SOLELY on the 984/984/0 floor measurement. That
   measurement covers the surface this repository's ratifications land on, so a
   later implementer could argue inception over some other surface may route
   through the pipeline once a class exists there. It may not, for a reason
   independent of any floor: a pipeline that CLEARS candidates cannot also be
   what CONFERS the authority those candidates are cleared against. A chain
   whose first link is minted by the mechanism it exists to permit is circular
   on any surface. The measurement makes the rule unarguable here; the
   circularity makes it correct everywhere, and now both are in the requirement,
   the design note and the proposal rather than only the first.

2. The traveling contract's offline scenario could be read against the gate's
   fail-closed requirement: one says a checker can still establish internal
   consistency with no live service, the other says an unevaluable chain
   refuses. Both are true and they answer different questions, so the scenario
   now says which — consistency ONLY, and a check whose question requires the
   log still refuses while the log is unreachable.

openspec validate --strict green on the change and 78/0 on --all; doc-health
single-repo unmoved at 4 critical / 6 error / 28 warning / 12 info with zero new
regressions against origin/main.

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

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 99551a9b8c

ℹ️ 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".

Comment on lines +12 to +15
`xfactory_wallet_grant_exercise` whose `proof_of_possession` records what was
presented, whether it verified, what the signature covered, and which key
presented it. The ratification record REFERENCES that exercise by identifier and
carries no second proof, key, identity or grant vocabulary of its own — a

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Bind the exercise proof to the exact ratification

Require the referenced exercise to cryptographically identify the ratification being approved. As written, a ratification need only reference an exercise identifier; the pinned openxwallet-grant-exercise.schema.yaml records signed_over only as request or request_digest, makes object_ref optional, and carries no required digest that this requirement equates to the ratification. A previously successful exercise can therefore be replayed as the proof for a different ratification while satisfying every stated check, allowing work the human never signed to acquire a chain identity.

Useful? React with 👍 / 👎.

Comment on lines +171 to +172
CHAIN rather than as a bag of signatures: every link from inception onward signs
over the chain identity AND the digest of the link that precedes it, and the

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Break the self-referential chain-ID definition

Exclude inception from this binding rule or derive the chain identity from a canonical pre-signature payload. Inception is the same signed act as ratification, while the chain identity is defined as the digest of that signed ratification; requiring inception itself to sign over that resulting digest makes the signature input depend on the completed signature, so an implementation cannot construct link 2 as specified.

Useful? React with 👍 / 👎.

Comment on lines +157 to +159
- WHEN a leaf's bytes are changed or a leaf is deleted from the log
- THEN the log's hash structure fails verification and the alteration is detected
- AND the alteration is reported as a fraud signal rather than as a corrupted file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add a trusted checkpoint before claiming deletion detection

Provide a non-rollbackable checkpoint or narrow this guarantee to mutations within an already observed tree. If the governed store deletes the newest leaf and rolls back to an earlier valid signed tree head, that shorter Merkle log still verifies; its hash structure alone cannot reveal suffix truncation to a fresh reader. Because external anchors are explicitly deferred to tranche three, the unconditional deletion-detection guarantee here is not implementable and permits the primary record to lose recent governed acts without producing the promised fraud signal.

Useful? React with 👍 / 👎.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new OpenSpec change packet (add-signed-execution-chain) for tranche-one of the staged signed-execution-chain topic, and wires it into the repository’s active-change index and staging register so it can be reviewed as a formal (unratified) packet.

Changes:

  • Adds the tranche-one packet artifacts (proposal, design notes, tasks, and a spec delta) under openspec/changes/add-signed-execution-chain/.
  • Updates the repository’s “OpenSpec Records” index to list the new active change.
  • Updates the staged-topic corpus to make the staged origin resolvable (Staging ID:) and records Exit 1 as raised in ideation/staging/INDEX.md.

Reviewed changes

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

Show a summary per file
File Description
README.md Adds the new packet to the “OpenSpec Records” active changes list.
openspec/changes/add-signed-execution-chain/.openspec.yaml Declares the packet’s origin as staged (signed-execution-chain).
openspec/changes/add-signed-execution-chain/proposal.md Defines the tranche-one proposal scope, constraints, and composition claims.
openspec/changes/add-signed-execution-chain/design.md Records key design decisions (notably the vocabulary rename to “chain inception”).
openspec/changes/add-signed-execution-chain/specs/signed-execution-chain/spec.md Adds the tranche-one spec delta (six added requirements + scenarios).
openspec/changes/add-signed-execution-chain/tasks.md Adds governance/clarify/ratification/realization task breakdown for the packet.
ideation/staging/signed-execution-chain/signed-execution-chain.md Adds a Staging ID: so staged-origin resolution can succeed.
ideation/staging/INDEX.md Records Exit 1 as raised and points to the new active change packet.

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

Comment on lines +3 to +6
origin:
kind: staged
id: openxFactory:staging:signed-execution-chain
path: ideation/staging/signed-execution-chain
Comment on lines +35 to +38
refusal shape (what is a "failed opening"?). **`inception`** appears nowhere in
this repository (grepped 2026-08-29, zero hits outside this packet), it names
the beginning of a chain rather than an administrative entry, and it composes
with the chain identity it mints.
Copilot AI review requested due to automatic review settings August 29, 2026 09:01
…e act that mints it

Three P1 findings from the bot bench on this pull request, all real and all the
same shape — a rule naming something it could not actually do, which is this
family's most-repeated defect.

P1-1, REPLAY. Requirement 1 had the ratification record merely REFERENCE the
exercise by identifier. The shipped xfactory_wallet_grant_exercise records
signed_over as `request` or `request_digest`, makes object_ref OPTIONAL, and
carries no required digest of the thing approved — so a previously successful
exercise could be replayed as the proof for a DIFFERENT ratification and satisfy
every stated check while the human had signed something else. It now binds:
object_ref names this ratification, signed_over is the request digest, and that
digest EQUALS the ratification's content digest, with a replay refusal and its
own scenario. This is a SCOPE RESTRICTION BY THE CONSUMING CAPABILITY, not a
schema change — the same move S2 made requiring issued_by for review-class
grants while leaving the shared schema untouched — so no openXwallet byte moves.

P1-2, CIRCULARITY. "Every link from inception onward signs over the chain
identity" made the signature input depend on the completed signature: the chain
identity IS the digest of the signed ratification and inception is that same
signed act, so no implementation could construct link 2. The rule now starts
AFTER inception; inception mints the identity and carries it, bound to the
ratification by BEING it, and the traveling contract is the first link with a
predecessor to sign over. The staged topic's own "from enrollment onward" carries
the same defect and is corrected in spec text, on the footing its own review
round used to correct "link 8 walks all ten".

P1-3, AN UNKEEPABLE PROMISE ON THE PRIMARY RECORD. "The log's hash structure is
what makes an alteration detectable" is true for an observed prefix and false for
suffix truncation nobody has observed — a store that drops its newest leaves and
presents an earlier valid signed tree head shows a shorter log that verifies
perfectly to a fresh reader. With anchors deferred to tranche three the
unconditional guarantee was not implementable. It is now stated at its real
strength, names the two things that DO reach here (consistency proofs against an
observed head; the traveling contract's carried leaf digest catching truncation
at the point of use), and DECLARES the residual under the realization-conformance
obligation with tranche-three anchoring named as its closure — add-trust-anchor's
ratified declared-shortfall rule applied to ourselves.

Two Copilot notes taken as well: the origin block gains approved_by/approved_on
spelled so the field cannot be read as approval to RATIFY (what was approved is
the DRAFTING, and the orchestrating session's record is kept distinct from
Brett's own words); and D1's grep claim is dated to origin/main at 3ffd6a8
rather than deleted, because the evidence is the reason the word was chosen and
deleting evidence to repair a tense is the wrong repair.

Requirements 6, scenarios 22 -> 24. openspec validate --strict green on the
change and 78/0 on --all; doc-health single-repo unmoved at 4/6/28/12 with zero
new regressions.

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

Copy link
Copy Markdown
Contributor Author

All three Codex P1s were real and all three are fixed in 7a24e854 (with the self-caught pair in 4969b35c beneath it). They were the same defect three times — a rule naming something it could not actually do — which is worth saying out loud because that is this family's most-repeated shape.

P1 "Bind the exercise proof to the exact ratification" — FIXED. The finding is exactly right: object_ref is optional in the pinned schema, signed_over is only request/request_digest, and nothing equated either to the ratification, so a previously successful exercise could be replayed as the proof for a different ratification and pass every check I had written while the human had signed something else. Requirement 1 now binds — object_ref names this ratification, signed_over is the request digest, and that digest equals the ratification's content digest — with a replay refusal and its own scenario ("a valid exercise from an earlier ratification is presented"). Deliberately done as a scope restriction by the consuming capability rather than a schema change, which is the move S2 already made requiring issued_by for review-class grants while leaving the shared grant schema untouched: no openXwallet byte moves and no pin bump is owed.

P1 "Break the self-referential chain-ID definition" — FIXED. Correct and structural: the chain identity IS the digest of the signed ratification, inception is that same signed act, so "every link from inception onward signs over the chain identity" made the signature input depend on the completed signature and link 2 was unconstructible. The rule now starts after inception — inception mints the identity and carries it, bound to the ratification by being it, and the traveling contract is the first link with a predecessor to sign over. Worth noting for the record: the staged topic's own text carries this defect ("every link from enrollment onward"), so it is corrected in spec text on the same footing that topic's own review round used to correct "link 8 walks all ten".

P1 "Add a trusted checkpoint before claiming deletion detection" — FIXED, by narrowing rather than by inventing an anchor. The rollback-to-an-earlier-valid-tree-head case is real, and an unkeepable promise sitting on the primary record is the worst place in this design to have one. The guarantee is now stated at its real strength — the hash structure detects alteration within a prefix some party has observed, and the traveling contract's carried leaf digest catches truncation of an observed leaf at the point of use — and the residual (suffix truncation nobody has yet observed) is DECLARED under the realization-conformance obligation with tranche-three anchoring named as what closes it. That is add-trust-anchor's ratified rule applied to ourselves: an undeclared shortfall is non-conformance, the identical shortfall declared is conformant. I did not pull an anchor forward into tranche one to make the sentence true; the tranche boundary is the topic's and this change does not move it.

Both Copilot notes taken as well:

  • .openspec.yaml provenance — approved_by/approved_on added, spelled so the field cannot be read as approval to RATIFY. What was approved is the drafting; the orchestrating session's record is kept distinct from Brett's own words rather than merged into one attribution.
  • The grep claim in D1 — dated to origin/main at 3ffd6a8f rather than deleted. The evidence is the reason the word was chosen, and deleting evidence to repair a tense is the wrong repair; the tense was the defect, so the tense is what moved.

Requirements 6, scenarios 22 → 24. openspec validate add-signed-execution-chain --strict green, --all --strict 78 passed / 0 failed, doc-health single-repo unmoved at 4 critical / 6 error / 28 warning / 12 info with zero new regressions against origin/main.

This PR is still not for merging. It is unratified by design: the clarify round on the topic's seven questions precedes ratification, and ratification is Brett's act.

@codex review

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 8 out of 8 changed files in this pull request and generated no new comments.

Suppressed comments (2)

Previously missed (1) — in code that hasn't changed since the last review.

openspec/changes/add-signed-execution-chain/proposal.md:165

  • The statement "The two never appear in the same sentence except this one" is contradicted by this packet itself (e.g., the spec contains "CHAIN INCEPTION IS NOT ENROLLMENT" and a scenario explicitly comparing the two). This makes the proposal text internally inconsistent.
mints no chain identity, signs nothing, and is not a link in any chain. **The
two never appear in the same sentence except this one.** The delta states the
non-collision in the requirement that owns the act, so a reader who arrives at

openspec/changes/add-signed-execution-chain/design.md:38

  • The claim that "inception appears nowhere in this repository (…zero hits outside this packet)" is no longer accurate in this PR (e.g., README.md and ideation/staging/INDEX.md now include "inception"), which makes this rationale misleading.
refusal shape (what is a "failed opening"?). **`inception`** appeared nowhere in
this repository BEFORE this change — grepped 2026-08-29 against `origin/main` at
`3ffd6a8f`, zero hits — it names the beginning of a chain rather than an
administrative entry, and it composes with the chain identity it mints. (The

Copilot AI review requested due to automatic review settings August 29, 2026 09:05
Copilot's second pass caught one real item the first pass missed: "the two never
appear in the same sentence except this one" was falsified the moment the delta
stated the chain-inception / candidate-class-enrollment distinction in
requirement form and again in that requirement's fourth scenario. Replaced with
the claim that is both true and the one that actually matters — the two appear
together ONLY where they are being told apart, never as alternatives to one
another — with the correction recorded in place rather than smoothed away.

The pass's second suppressed item is already discharged in 7a24e85: the D1 grep
claim now reads "appeared nowhere in this repository BEFORE this change —
grepped against origin/main at 3ffd6a8", which is the tense fix the note asks
for; the quoted block in that review is the corrected text.

openspec validate --all --strict 78/0.

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

Copy link
Copy Markdown
Contributor Author

Copilot's second pass caught one real item its first pass missed, fixed in cb8a9904.

"The two never appear in the same sentence except this one" — TRUE WHEN WRITTEN, FALSIFIED BY THIS PACKET'S OWN SPEC TEXT. The delta states the chain-inception / candidate-class-enrollment distinction in requirement form and again in that requirement's fourth scenario, which is exactly the packet doing the right thing and the proposal's sentence not keeping up. Replaced with the claim that is both true and the one that actually matters: the two appear together ONLY where they are being told apart, never as alternatives to one another. The correction is recorded in place rather than smoothed away — it was rhetoric standing where a precise claim belonged.

The pass's other suppressed note (D1's grep claim) is already discharged in 7a24e854: it now reads "appeared nowhere in this repository BEFORE this change — grepped 2026-08-29 against origin/main at 3ffd6a8f, zero hits", which is the tense fix the note asks for. The block quoted in the review is the corrected text.

openspec validate --all --strict 78 passed / 0 failed; doc-health single-repo unmoved with zero new regressions.

Still not for merging — unratified by design, clarify round first, ratification is Brett's act.

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 8 out of 8 changed files in this pull request and generated no new comments.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7a24e854de

ℹ️ 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".

Comment on lines +27 to +29
schema): the exercise SHALL carry `object_ref` naming this ratification, and its
`proof_of_possession.signed_over` SHALL be the request digest, which SHALL equal
the ratification's own content digest. An exercise whose signed content is not

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add a field that can carry the signed request digest

The new wording still cannot perform the promised replay check: the pinned openxwallet-grant-exercise.schema.yaml defines proof_of_possession.signed_over as an enum whose only values are the literal selectors request and request_digest; it contains no field holding the digest value. Consequently the validator has nothing it can compare with the ratification content digest, and object_ref remains only an identifier rather than the claimed cryptographic binding. This is fresh evidence in the attempted fix itself: it equates an enum selector with a digest that the unchanged schema cannot represent, so the earlier-ratification replay scenario remains unenforceable unless an actual signed digest is carried or the schema is changed.

Useful? React with 👍 / 👎.

Comment on lines +227 to +228
by signing over it. The binding rule therefore starts at the traveling contract,
which is the first link with a predecessor to sign over. The staged topic's

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Give the traveling contract a signer before requiring a signature

When the tranche-one gate walks links 1–3, this moved binding rule still names a link that cannot perform it: Requirement 3 defines the traveling contract only as the carried signed ratification, and the authoritative staged link table explicitly gives link 3 no signer (— (carried)). Requiring that artifact to sign over inception's digest therefore needs a new signing act and signer that neither the contract nor the realization tasks define; the original ratification signature cannot cover its subsequently created inception predecessor. Without specifying that signature or a different binding mechanism, the short-chain continuity check cannot be constructed.

Useful? React with 👍 / 👎.

Codex's second round falsified BOTH structural fixes from its first, and both
findings are right. The shape is worth naming before the content: a repair
authored against the vocabulary one REMEMBERS rather than the vocabulary one
RE-READS reproduces the defect it is fixing. Recorded in design.md D7 as D7.1b
and D7.2b rather than folded into the original notes, because the relapse is
more instructive than either original.

D7.1b — AN ENUM SELECTOR IS NOT A DIGEST. The replay fix said
proof_of_possession.signed_over "SHALL be the request digest, which SHALL equal
the ratification's content digest". But signed_over is an enum whose only values
are `request` and `request_digest`: it names WHAT was signed and holds no digest,
and the pinned schema carries no field that does, so a validator had nothing to
compare and the replay refusal was unenforceable. The digest now lives where a
digest can live — object_ref carries the ratification's content digest in the
shipped identifier grammar, which admits it — so the comparison is recomputable
today. The step from "the record NAMES this ratification" to "the SIGNATURE
COVERS this ratification" is not closable from the record alone, and it is now
RAISED AS AN EXPLICIT GAP with a declared-shortfall scenario, the durable repair
named as an openXwallet successor field. Defining that field here would mint the
second proof vocabulary the requirement exists to avoid; the staged topic
sanctions the alternative in as many words — resolve to an existing family OR
raise an explicit gap.

D7.2b — LINK 3 HAS NO SIGNER, AND THE TABLE SAYS SO. Moving the binding rule to
"starts at the traveling contract" handed a signing duty to the one link the
authoritative table records as `— (carried)`, inventing a signer nothing defines;
the ratification's signature cannot cover an inception record created from it.
At tranche one there is NO link after inception with a signer at all, so
continuity is established by DERIVATION AND COMPARISON: the ratification verifies
and its digest equals the chain identity, the inception leaf commits to that
identity, and the traveling contract's carried identity and leaf digest equal
both. That is a complete continuity check over links 1-3 built only from
artifacts that exist, and it defeats mix-and-match exactly as a signature chain
would, because different executions carry different chain identities. The
hash-linked SIGNING rule is declared to take effect at the first link that has a
signer of its own — the controller setup attestation, tranche two.

The staged topic's "every link from enrollment onward" carries BOTH defects and
is corrected on both counts.

Requirements 6, scenarios 24 -> 25. openspec validate --strict green on the
change and 78/0 on --all; doc-health single-repo unmoved at 4/6/28/12 with zero
new regressions.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 29, 2026 09:12
@brettheap

Copy link
Copy Markdown
Contributor Author

Both second-round P1s are right, and both of them falsify my own first-round fix. Fixed in ac9eb40d. The shape is worth naming before the content, because it is more instructive than either finding: a repair authored against the vocabulary one REMEMBERS rather than the vocabulary one RE-READS reproduces the defect it is repairing. Two for two. Recorded as design.md D7.1b and D7.2b rather than folded into the original notes, so the relapse stays visible.

P1 "Add a field that can carry the signed request digest" — CORRECT, and the fix was unenforceable. signed_over is an enum whose only values are request and request_digest; it names WHAT was signed and holds no digest, and the pinned schema has no field that does — so equating it with the ratification's content digest gave the validator nothing to compare, and the replay refusal I had just written could not run. The digest now lives where a digest can live: object_ref carries the ratification's content digest, spelled in the shipped identifier grammar (^[A-Za-z0-9][A-Za-z0-9._:/-]*$ admits it), so the comparison is recomputable today, with no schema change.

The part that is genuinely not closable from the record alone — the step from the record NAMES this ratification to the SIGNATURE COVERS this ratification — is now raised as an explicit gap rather than papered over: the realization must ESTABLISH that the signed request includes object_ref, and one that cannot DECLARES the shortfall (new scenario). The durable repair is named as an opensoft/openXwallet successor — an additive optional signed-subject-digest field on the exercise record. I deliberately did not define that field here: doing so would mint the second proof vocabulary this requirement exists to avoid, and the staged topic sanctions the alternative in as many words — resolve to an existing family OR be raised as an explicit gap.

P1 "Give the traveling contract a signer before requiring a signature" — CORRECT, and the table says so outright. Link 3 is — (carried). Moving the binding rule to "starts at the traveling contract" handed a signing duty to the one link with no signer, and the ratification's signature cannot cover an inception record created from it. The real position is that at tranche one there is no link after inception with a signer at all, so continuity is established by derivation and comparison, not by a third signature: the ratification verifies and its digest equals the chain identity; the inception leaf commits to that identity; the traveling contract's carried identity and carried leaf digest equal both. That is a complete continuity check over links 1–3 built only from artifacts that exist, and it defeats mix-and-match exactly as a signature chain would, because artifacts from different executions carry different chain identities. The hash-linked signing rule is now declared to take effect at the first link that has a signer of its own — the controller setup attestation, tranche two — which is the honest home for a rule whose machinery arrives with a later tranche.

The staged topic's "every link from enrollment onward" carries BOTH defects and is corrected on both counts in spec text, on the footing its own review round used for "link 8 walks all ten".

Requirements 6, scenarios 24 → 25. openspec validate add-signed-execution-chain --strict green, --all --strict 78 passed / 0 failed, doc-health single-repo unmoved at 4 / 6 / 28 / 12 with zero new regressions against origin/main.

Still not for merging — unratified by design; the clarify round precedes ratification and ratification is Brett's act.

@codex review

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 8 out of 8 changed files in this pull request and generated no new comments.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ac9eb40d63

ℹ️ 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".

Comment on lines +40 to +42
signature covers this ratification" rests on the realization ESTABLISHING that
the signed request includes `object_ref`, and a realization that cannot
establish it SHALL DECLARE the shortfall rather than assert the binding. The

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Refuse ratifications when signature coverage is unproved

When a realization cannot establish that the signed request included object_ref, this text requires only a declaration and never refuses the ratification. Because object_ref is not itself covered by any field in the pinned proof record, an attacker can reuse a valid exercise with an object_ref matching the new ratification and satisfy the digest comparison while the signature still covers an earlier request. Fresh evidence in the attempted fix is the new shortfall path that explicitly permits this unverifiable case; require consumers to refuse such ratifications until the signed subject can be established.

Useful? React with 👍 / 👎.

Comment on lines +155 to +157
traveling contract carries the chain identity, the reference to the presentation
that proved link 1, and the digest of the transparency-log leaf that recorded
inception, so that a checker can establish what permits this work without

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Bind the validated chain to the work it authorizes

When a valid traveling contract is attached to different or modified work, every stated links 1–3 check still passes: the artifact carries the chain identity, presentation reference, and inception-leaf digest, but no digest of the work, and the gate later compares only those chain values. Consequently an approved chain can be transplanted onto unapproved content while satisfying the claimed continuity check. Include the authorized work identity in signed ratification content and require the gate to compare it with the work presented at the point of use.

Useful? React with 👍 / 👎.

brettheap and others added 2 commits August 29, 2026 11:57
…rafting green-light lands beside them

Resolves both conflicts against #499's rewrite (squash 9c501df).

INDEX.md and the staged fragment: main's ruled text wins WHOLLY, because the
branch's own summary still said "Bitcoin is the primary anchor with Kaspa an
optional secondary" — the exact ordering Q3 inverted. Keeping a branch sentence
that a landed ruling falsified is how a stale claim survives a merge.

The `Staging ID:` header is kept. It is not bookkeeping: doc-health's
`proposal-origin` family raises `staged-origin-unresolvable` for an ACTIVE
change whose staging folder carries no document with a matching id, and the
topic was registered without one.

Brett Heap's 2026-08-29 in-session ruling is recorded in three places rather
than one, each where it binds: the drafting GREEN-LIGHT (the authorization the
sitting deliberately withheld), the COLLAPSE of #494 and #495 onto #495, and
NARROWING A — tier 1 is RATIFYING authority, so agent-held REVIEW wallets stay
lawful and the realized wal-agent-mrc-0001 is untouched. The sitting's own
"drafting was NOT green-lit" sentence is LEFT STANDING with the later word
recorded beneath it: rewriting it to agree would delete the distinction the
sitting was careful to draw.

Co-Authored-By: Claude Fable 5 <[email protected]>
…s the closed sibling paid for

Brett Heap ruled three things on 2026-08-29 in session, and this commit executes
all three rather than reporting them.

THE COLLAPSE. Two sessions raised this tranche into the same change directory
three minutes apart, neither able to see the other. He ruled #495 the surviving
base and closed #494. The deciding ground was Q4, and it was a ruling and not a
preference: #494 deliberately shipped NO gate — its proposal says "the packet
creates no merge gate", and one of its scenarios is normatively against the
claim — while Q4 then ruled that the chain-validating gate exists FROM TRANCHE
ONE. Conforming #494 would have meant reversing its thesis, three design
decisions and a normative scenario. This packet already carried the gate, argued
from the same convening record, and drew the line #494 collapsed: an
out-of-pipeline INCEPTION and a required-check GATE are different objects, and
only the first is what the 2026-08-28 seats refused.

THE HARVEST, so four Codex rounds are carried and not lost with the branch.
Requirement 2 is new: the ACTOR a chain records is bound to the WALLET that
signed — without it a link could reference one holder's valid exercise and
record a different well-formed subject with every other check passing. Its
DIRECTION comes from the pinned contract, not from the finding's wording, which
asked that the actor "resolve through" the wallet attestation:
openxwallet-subject-attestation closes resolution.resolved_by to subject_ref
precisely so a record cannot resolve a subject through a wallet. A finding can
be right about the hole and wrong about the patch. Requirement 3 gains enforced
per-ratification uniqueness — naming the exercise identifier is necessary and
NOT sufficient, because the pinned schema constrains no reuse. Requirement 4 is
new and states ONE digest construction for every digest this capability
computes, once, because #494 met that defect twice and unified rather than
adding a second rule. Requirement 9 is new: nothing confers or refuses anything
until a named reader runs as a REQUIRED check, and a merged workflow file is not
that. One #494 requirement is deliberately NOT harvested and the reason is
recorded — its every-link-signs rule cannot be performed on any link this
tranche defines.

NARROWING A, RULED. Tier 1 is RATIFYING authority: agent-held REVIEW wallets
stay lawful, the realized wal-agent-mrc-0001 is untouched, and what a chain
refuses is an agent-held wallet performing a ratification. Requirement 8 now
stands on his word rather than on this document's. The clarify sitting did not
reach this narrowing — #499 touches neither the tier model nor either narrowing
— so the two acts are recorded separately, and D5 says which is which.

THE SEVEN RULINGS. Q1 is encoded AS RULED and the flag is struck, because a flag
left standing after its question is ruled is a stale contested marker. Q4's two
sequencing facts are cited as rulings rather than as the topic's instruction.
Q5's compliance is stated POSITIVELY rather than left to inference, and the
packet's own "the trigger condition still to be stated" line is gone — that
sentence was the one thing the ruling forbids, so it is corrected in place and
the correction left visible. Q2, Q3, Q6 and Q7 are recorded and pre-encoded
nowhere: grep confirms the delta names no chain, witness, anchor, commitment,
salt, receipt or attestation mechanism.

TWO CORRECTIONS OF RECORD, both weaker-than-claimed warrants. The origin's
approved_by cited the 2026-08-28 session-handoff board, which is an orchestrating
session's record of direction and not his word — and the sitting's own closing
note says the drafting was NOT green-lit and "the next act is his", so the
original citation named an authorization the record said was outstanding. It now
names his 2026-08-29 in-session green-light. And target_release is FRESH-COUNTED
at this tip: contract-v2.3, because manifest.yaml declares v2.2 AND
releases/contract-v2.2.digests.yaml is a cut inventory. The packet as filed
reasoned from v2.1, which #498 had superseded the same day.

Nine ADDED requirements over 38 scenarios, no MODIFIED block anywhere.
contracts/ is untouched: git diff --name-only origin/main -- contracts/ is empty.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 29, 2026 16:10

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cf7536fd23

ℹ️ 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".

signature**, and the gate SHALL validate exactly that, over the digest subjects
this capability's digest requirement fixes:

1. the ratification's signature VERIFIES;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Check grant revocation before accepting the chain

When the wallet signature remains cryptographically valid but the referenced exercise records a revoked grant, all six enumerated checks can still pass: this check verifies only the ratification signature, while none of the remaining checks inspects the exercise's revocation_check or permitted outcome. Requirement 1 explicitly refuses revocation at exercise, so the exhaustive terminal gate can currently authorize work under revoked authority; include the exercise standing/outcome validation in this list.

Useful? React with 👍 / 👎.

Comment on lines +430 to +433
6. the ACTOR the chain records is bound to the wallet that signed, per this
capability's actor-binding requirement — the actor's subject carries a wallet
attestation, that attestation names the wallet whose key made the exercise,
and the binding falls inside the signed bytes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Reject machine-held ratifying authority at the gate

When an agent-held wallet signs a ratification and the actor correctly attests that same wallet, this new attribution check passes along with all five structural checks, even though Requirement 8 requires ratifying authority to be human-held and explicitly refuses an agent, runner, lane, or workflow identity. Because this is the exhaustive gate before the terminal act, add a holder-class check rather than treating correct actor attribution as proof that the actor is an eligible ratifier.

Useful? React with 👍 / 👎.

brettheap and others added 2 commits August 29, 2026 15:49
… MAP on its third appearance, not a third patch

RATIFICATION. Brett Heap ratified tranche one in session via question prompts.
Record at review/ratification-2026-08-29.md, on the precedent shape, carrying
the four acts that reached this packet AS FOUR ACTS rather than one: the seven
clarify rulings (#499, squash 9c501df, with Q3 and Q5 labelled as the two
divergences), the drafting green-light the sitting deliberately withheld, the
collapse of #494 and #495 onto this packet, and Narrowing A. Status flips to
ratified in the proposal front matter with the three-way floor spelled — Status,
Ratified line naming approver and date, and a resolvable record path — and
tasks §2.1 is ticked.

The record states what ratification does NOT authorize, because that is the half
a later reader gets wrong: no realization, no bundle number spent, no tranche
two or three, no envelope or candidate class, and no enforcement claim —
requirement 9 governs this capability's own standing, so until a named validator
runs as a REQUIRED check every record it defines confers nothing.

ROUND 4 — TWO MORE CODEX P1s, AND THEY ARE ONE DEFECT'S THIRD APPEARANCE. The
gate's closed list still omitted the REVOCATION check requirement 1 states and
the HOLDER-CLASS check requirement 8 states. Two chains would have passed every
enumerated check and had to be refused: one whose ratifying signature is
cryptographically valid over an exercise recording a REVOKED grant, since
revocation does not invalidate a signature; and one signed by an AGENT-HELD
wallet that CORRECTLY ATTESTS ITSELF, where the attribution is honest and it is
the holder class that is refused. Either authorizes work at the terminal act
under authority this capability's own text refuses.

D7.7 had already named the owed pass — "for every requirement, is it in the
list, and should it be?" — and this session added only the one requirement that
round's finding named. Patching an instance of a defect whose general form was
written down a round earlier is why it came back twice more in one round.

So the third appearance is UNIFIED. The gate walks eight checks, and the actual
fix is a REQUIREMENT-TO-ENFORCEMENT MAP stating, for every requirement, whether
it is walked at the gate or enforced elsewhere — with the two inception-time
refusals named as deliberate omissions so they read as decided rather than
overlooked. A longer list would have the identical defect and fail on the tenth
requirement; the map fails LOUDLY, because a requirement with no row is visibly
missing. Recorded as D7.8, with the lesson three rounds paid for: when a rule is
written about a class of defect, the next instance tests whether the rule was
executed or merely recorded.

Copilot's round-4 tense finding taken too — the fragment summary read "tranche
one WAS draftable" while the same document still described it as draftable.

Nine requirements, 45 scenarios; the count moved in all three claim sites,
verified whitespace-normalized rather than by literal match, which is the D7.7
lesson applied to the count itself.

GATES at this tip, after merging origin/main 9cadc97 (never rebased): openspec
single valid; --all --strict 77 passed 0 failed, FRESH-COUNTED — it was 78 and
main archived add-model-capability-vocabulary, so the drop is main's and not a
regression; proposal-support ok; doc-health against a baseline rebuilt at
9cadc97 with a matching basename and the same clock — 4/6/38/11 both sides, 0
new regressions, --new-findings-out empty, Findings By Family byte-identical.
contracts/ untouched. target_release re-counted at the moved main: v2.2 still
declared and cut, so contract-v2.3 stands.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 29, 2026 19:51
@brettheap

Copy link
Copy Markdown
Contributor Author

RATIFIED 2026-08-29 by Brett Heap — cf7536fd → e7c9b35b

Ratification is recorded at openspec/changes/add-signed-execution-chain/review/ratification-2026-08-29.md, on the precedent shape (add-model-capability-vocabulary, add-substantive-review-lane). Front matter carries the three-way floor: Status: ratified, a Ratified: line naming approver and date, and a resolvable record path. tasks.md §2.1 is ticked.

The record keeps four acts as FOUR acts

Merging them would misstate what each authorized. Three preceded ratification and are its input; the fourth is it.

  1. The seven clarify rulings — provenance Rule all seven signed-execution-chain questions, two of them against the recommendation #499, squash 9c501df6. Q1/Q2/Q4/Q7 as recommended, Q6 confirmed, Q3 and Q5 labelled as the two divergences. The sitting explicitly did not green-light drafting — "the next act is his" — and that sentence is preserved rather than smoothed by the later word.
  2. The drafting green-light — the authorization the sitting withheld. It authorized this packet's existence, not a word of its text. The approved_by field had cited the 2026-08-28 handoff board, an orchestrating session's record of direction and not his word.
  3. The collapse onto this packet, with Tranche one of the signed execution chain: ratification and chain enrollment become one signed handshake #494 closed and four of its hardenings harvested and cited in D8.
  4. Narrowing A — tier 1 is RATIFYING authority; the sitting did not reach it, so it was ruled separately.

The record also states what ratification does NOT authorize: no realization, no bundle number spent, no tranche two or three, no envelope or candidate class, and no enforcement claim — requirement 9 governs this capability's own standing.

Round 4 — two more Codex P1s, and they are one defect's THIRD appearance

The gate's closed list still omitted the revocation check requirement 1 states and the holder-class check requirement 8 states. Two chains would have passed every enumerated check and had to be refused:

  • one whose ratifying signature is cryptographically valid over an exercise recording a REVOKED grant — revocation does not invalidate a signature;
  • one signed by an agent-held wallet that correctly attests itself — the attribution is honest and it is the holder class that is refused.

Either authorizes work at the terminal act under authority this capability's own text refuses.

D7.7 had already named the owed pass — "for every requirement, is it in the list, and should it be?" — and this session added only the one requirement that round's finding named. Patching an instance of a defect whose general form was written down a round earlier is exactly why it came back twice more in a single round.

So the third appearance is unified rather than patched again. The gate walks eight checks, and the actual fix is a requirement-to-enforcement map: for every requirement, whether it is walked at the gate or enforced elsewhere, with the two inception-time refusals (atomicity, per-act uniqueness) named as deliberate omissions so they read as decided rather than overlooked. A longer list has the identical defect and fails on the tenth requirement; the map fails loudly, because a requirement with no row is visibly missing. Recorded as D7.8.

Copilot's round-4 tense finding taken as well — the fragment summary read "tranche one WAS draftable" while the same document still described it as draftable.

Nine requirements, 45 scenarios. The count moved in all three claim sites, verified whitespace-normalized rather than by literal match — the D7.7 lesson applied to the count itself, after a line-wrapped claim escaped a single-line sed last round.

Gates at e7c9b35b, after merging origin/main 9cadc977 (merged, never rebased)

  • openspec validate add-signed-execution-chain --strict — valid
  • openspec validate --all --strict — 77 passed, 0 failed, FRESH-COUNTED. It was 78; main archived add-model-capability-vocabulary, so the drop is main's and not a regression.
  • proposal-support.py verify — ok
  • doc-health vs a baseline rebuilt at 9cadc977, matching basename (issue doc-health accepts a --previous-report from a different repo identity, turning a path slip into phantom regressions and uncited-resolution errors #342), same clock — 4/6/38/11 both sides, 0 new regressions, --new-findings-out empty, "Findings By Family" byte-identical
  • contracts/ untouched — git diff --name-only origin/main -- contracts/ is empty
  • target_release re-counted at the moved main: contract-v2.2 still declared and cut, so contract-v2.3 stands, allocated at realization by merge order

Four adversarial rounds, eight findings, all real, all taken — three of them Codex P1s in text this session had just written, all three the same defect class, all three found by the bench rather than the author. That is in the ratification record too.

…s 4, 5 and 7

Cosmetic, and caught by reading the rendered list rather than the diff. Adding
checks 6, 7 and 8 across two rounds left the previous terminators in place, so
the enumeration read as if it ended three times. Only the last item terminates
now.

Worth one commit rather than a silent amend because the list is the normative
text a validator implements from, and an eight-item list that appears to end at
item 4 is exactly the kind of thing an implementer stops reading.

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

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Suppressed comments (1)

README.md:395

  • review/ratification-2026-08-29.md is not a valid path from the repo root; the ratification record added in this PR lives under openspec/changes/add-signed-execution-chain/review/ratification-2026-08-29.md, so the reference here is broken.
  — **RATIFIED 2026-08-29 by Brett Heap** (`review/ratification-2026-08-29.md`); realization is a later commission. Exit 1 of

Comment thread README.md
Comment on lines +394 to +396
- [add-signed-execution-chain](openspec/changes/add-signed-execution-chain/proposal.md)
— **RATIFIED 2026-08-29 by Brett Heap** (`review/ratification-2026-08-29.md`); realization is a later commission. Exit 1 of
three of the staged topic `signed-execution-chain`, and its boundary is
Comment on lines +426 to +430
## Ratification

**Not ratified.** Ratification is Brett Heap's act; `tasks.md` §2 carries it as
an open box, and this pull request asks for review of the packet rather than for
ratification.
Comment on lines +3 to +7
Governance-level and dependency-ordered. **This change is RATIFIED (2026-08-29,
Brett Heap — `review/ratification-2026-08-29.md`) and is NOT being implemented
now.** §1 was authored in the pull request; **§2 is Brett's ratification act and
is DISCHARGED**; §3 onward are for the implementer and belong to a single
Speckit contract feature. Do not duplicate the executable contract list
Copilot AI review requested due to automatic review settings August 29, 2026 19:54

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 9 out of 9 changed files in this pull request and generated 1 comment.

Suppressed comments (5)

Previously missed (1) — in code that hasn't changed since the last review.

README.md:396

  • The README entry references the ratification record as review/ratification-2026-08-29.md, which isn’t a valid path relative to README.md and isn’t clickable. This makes the index harder to verify and easy to mis-navigate.
- [add-signed-execution-chain](openspec/changes/add-signed-execution-chain/proposal.md)
  — **RATIFIED 2026-08-29 by Brett Heap** (`review/ratification-2026-08-29.md`); realization is a later commission. Exit 1 of
  three of the staged topic `signed-execution-chain`, and its boundary is

openspec/changes/add-signed-execution-chain/proposal.md:430

  • The proposal’s “## Ratification” section says “Not ratified” and cites tasks.md §2 as open, but this same file’s front matter is Status: ratified and the PR adds a ratification record at review/ratification-2026-08-29.md. This internal contradiction will confuse any reader and downstream tooling that relies on proposal front matter.
## Ratification

**Not ratified.** Ratification is Brett Heap's act; `tasks.md` §2 carries it as
an open box, and this pull request asks for review of the packet rather than for
ratification.

openspec/changes/add-signed-execution-chain/tasks.md:8

  • The header claims “§2 … is DISCHARGED”, but §2 still contains open checklist items (2.2, 2.3). This makes the task state inconsistent and undermines the “box closes on a FACT” evidence convention stated just below.
Governance-level and dependency-ordered. **This change is RATIFIED (2026-08-29,
Brett Heap — `review/ratification-2026-08-29.md`) and is NOT being implemented
now.** §1 was authored in the pull request; **§2 is Brett's ratification act and
is DISCHARGED**; §3 onward are for the implementer and belong to a single
Speckit contract feature. Do not duplicate the executable contract list
here — §5 hands it off.

openspec/changes/add-signed-execution-chain/tasks.md:126

  • Task 2.3 is still open, but the PR already sets proposal front matter Status: ratified and includes a Ratified: line (and also adds the ratification record). Leaving this as an open “on ratification” step makes the checklist misleading.
- [ ] 2.3 On ratification, set front-matter `Status: ratified` and add the
      `Ratified:` line naming approver, date and a resolvable record path, per
      the `sanction-ratified-record-spelling` three-way floor.

ideation/staging/INDEX.md:1908

  • This state line says the packet remains UNRATIFIED, but the PR adds a ratification record (openspec/changes/add-signed-execution-chain/review/ratification-2026-08-29.md) and sets the proposal front matter Status: ratified. The index should be consistent with the change’s ratification status to avoid misreporting lifecycle state.
- **State: FULLY RULED and DRAFTING GREEN-LIT.** Brett Heap gave the drafting
  green-light on **2026-08-29, in session**, which is the authorization the
  clarify sitting deliberately did not give. The packet remains **UNRATIFIED** —
  ratification is a separate act and is his.

Comment thread ideation/staging/INDEX.md Outdated
| [mobile-dashboard-surface](#mobile-dashboard-surface) | `avatar-first-ui` realization (possibly a small ADDED requirement) | 1 | Ready to iterate — the layer defaults are already ratified; main forks: shell platform vs the frozen AVC ports, sequencing vs `avatar-pilot-hardening` |
| [workstation-app-shell](#workstation-app-shell) | `avatar-first-ui` realization (possibly a small ADDED requirement for the workstation shell) + MODIFIED `ideation-dashboard` (the local serve becomes app-managed) | 1 | Ready to iterate — layer defaults already ratified and the motivating defect verified; load-bearing content is the Worker Host App boundary (two OS principals, one shell) and codexFactory's missing subject surface; 5 open questions, the shell-platform fork blocks implementation |
| [signed-execution-chain](#signed-execution-chain) | ADDED a NEUTRAL signed-execution-chain family in openxFactory (the chain from a wallet-presented ratification through atomic enrollment, the traveling contract, harness + runner attestations, the signed PR-open decision, council review of the signed brief, and a CHAIN-VALIDATING MERGE GATE) — composing with `openxwallet`, `trust-anchor`, `identity-brokering` and `roles-authority-model`; plus the ON-CHAIN anchoring/consent layer Brett ruled 2026-08-27 | 2 | Registered 2026-08-27 from Brett's expansion ruling. **A broken chain is a FRAUD SIGNAL and there is no merge** — the chain is a PRECONDITION the omnigent layer enforces (it refuses to build an unverified chain), not an audit trail written afterwards. TIER MODEL forced by a ratified constraint: authority credentials stay HUMAN-HELD because omnigent workers carry `access_secrets: false`, so runners sign only EPHEMERAL PER-TASK attestations issued by the harness controller under its own cert — and the KEY NEVER ENTERS THE WORKER (the controller signs on the runner's request; `access_secrets: false` holds in every configuration and a short lifetime does not make a key non-secret, so "issued to the runner" would breach the same constraint the split honours — Q7 asked which signing mechanism and was RULED 2026-08-29: remote signing served by the harness controller). Tier 1 answers *who permitted this*, tier 2 *what actually ran*, and neither may stand in for the other. ON CHAIN: **salted keyed commitments** (never plain hashes — EDPB Guidelines 02/2025 v2.0 hold that a hash of personal data IS personal data, so erasure is by SALT DESTRUCTION), commitments to consent-log **checkpoints** (consent STATE stays in the governed permissioned layer, which is publicly unlinkable), and anchors — **raw PHI never**, on HIPAA grounds a public chain is append-only, world-readable and permanent; records stay in encrypted off-chain custody with patient-held keys, and hospitals/insurers verify through presentations. **The evidence plane is OFF chain and IS the record** — a signed RFC-6962-style transparency log; anchoring only makes it externally undeniable. DOMAIN MAPPING is the neutral-layer proof — MedxFactory→**HealthLinc** (treatment plan ratified→simulated→reviewed→"merge" = pushed to the patient app or printed as signed orders) and LedgerxFactory→**LedgerLinc** (analysis/review plans, "merge" = published to the ledger app) run the SAME chain, differing in payload and regulator, not in shape. Sequences BEHIND four ACTIVE changes (not staged topics): `add-wallet-carried-review-authority` (S2 issuer anchor REALIZED — the direct predecessor and link 1's instrument), `add-trust-anchor` (certificates + chain custody, realized at contract-v1.37), `add-identity-brokering` (who a signer is), `implement-openxpki-install-repo` (the CA that issues the controller cert). **ALL SEVEN QUESTIONS RULED 2026-08-29 by Brett Heap in a clarify sitting** — Q1/Q2/Q4/Q7 as recommended, Q6 CONFIRMED as recommended, and **TWO DIVERGENCES (Q3, Q5)**. Every gate they held is OPEN: Q3/Q6 gated tranche 3, Q7 gated tranche 2's contract text, tranche 1 was never gated. Q3's research input was a **VENDORED STUDY** (`chain-selection-study.md`, 2026-08-27, sourced + date-checked) recommending transparency log as the evidence plane, **Bitcoin (OpenTimestamps aggregation) primary anchor**, **Kaspa optional secondary** under three conditions (archival node, inclusion proofs retained AT ANCHOR TIME, corroborating-only — Kaspa L1 **prunes tx data after ~3 days**), consent logic in the permissioned layer with anchored state roots, **NOT smart contracts on the anchoring chain and NOT Kasplex/Igra in 2026**; a chain-agnostic MULTI-ANCHOR RECEIPT is the 10-year exit path. **Q3's RULING DIVERGES from that ordering, in TWO ROUNDS**: round 1, verbatim — "lets [sic] use Kaspa as primary and bitcoin as secondary" — then, after the cost facts (Kaspa ~$0.000001/tx; Bitcoin-via-OTS $0 marginal per item on public calendars, ~$2.1k/yr self-run hourly; raw BTC tx $0.12–0.36 with spike history; a cheaper sidechain adds federation trust and saves nothing), round 2: **"Bitcoin-via-OTS on everything"** — BOTH witnesses on EVERY anchored item, **Kaspa FIRST** as the primary/OPERATIONAL witness under the three unchanged conditions and **Bitcoin batched via OTS as the DURABILITY witness — TEN-YEAR CLAIMS CITE BITCOIN** — with no selectivity and no third chain; receipts stay chain-agnostic multi-anchor carrying BOTH proofs. "Primary" is order of arrival, never evidentiary weight. The vendored study is **NOT edited** — a research record rewritten to agree with a later ruling stops being evidence. Brett's three priors came back **QUALIFIED** (Kaspa "non-captured"), **REFUTED for anchoring** ("Bitcoin too expensive" — aggregation makes it ~$0 marginal), **CONFIRMED** (KAS sub-penny fees). **Q6 CONFIRMED 2026-08-29 and it is the ruling's OPERATIVE FORM**: "patients put PHI portions on chain" means SALTED KEYED COMMITMENTS — a verifiable public handle, the portion itself disclosed off-chain under an anchored consent checkpoint, salt destruction as the erasure mechanism; literal raw/encrypted/plain-hashed PHI on chain stays REFUSED and **no later change re-litigates it**. **Q7 RULED as recommended**: REMOTE SIGNING SERVED BY THE HARNESS CONTROLLER, the runner's signing REQUEST recorded beside the signature it received, the controller corroborating the payload against its own link-4 setup attestation; an HSM is a later hardening of the same shape. **Q5 is the second divergence — RULED AGAINST THE RECOMMENDATION**: "allow contract code later" — evidence-only remains today's posture and no tranche now planned puts contract code on any chain, but the change MUST NOT constitutionalize "no contract code ever" nor gate a future adoption on the recommendation's stated trigger; the study's EDPB/HIPAA posture, unaudited-stack risk and irrevocable-deployment class are RECORDED AS ADVISORY CONTEXT for that future change, not as a gate on it. EXIT: tranche 1 (signed ratification + atomic enrollment + the transparency log) is composable TODAY and UNGATED; tranche 2's question-gate is open and what remains is machinery (the omnigent layer + the PKI plane); tranche 3's two question-gates are open and it builds to the RULED configuration, waiting on the PKI plane rather than on a ruling. **The topic is FULLY RULED and tranche one is draftable on Brett's word** — its drafting was NOT green-lit in the sitting |
| [signed-execution-chain](#signed-execution-chain) | ADDED a NEUTRAL signed-execution-chain family in openxFactory (the chain from a wallet-presented ratification through atomic enrollment, the traveling contract, harness + runner attestations, the signed PR-open decision, council review of the signed brief, and a CHAIN-VALIDATING MERGE GATE) — composing with `openxwallet`, `trust-anchor`, `identity-brokering` and `roles-authority-model`; plus the ON-CHAIN anchoring/consent layer Brett ruled 2026-08-27 | 2 | Registered 2026-08-27 from Brett's expansion ruling. **A broken chain is a FRAUD SIGNAL and there is no merge** — the chain is a PRECONDITION the omnigent layer enforces (it refuses to build an unverified chain), not an audit trail written afterwards. TIER MODEL forced by a ratified constraint: authority credentials stay HUMAN-HELD because omnigent workers carry `access_secrets: false`, so runners sign only EPHEMERAL PER-TASK attestations issued by the harness controller under its own cert — and the KEY NEVER ENTERS THE WORKER (the controller signs on the runner's request; `access_secrets: false` holds in every configuration and a short lifetime does not make a key non-secret, so "issued to the runner" would breach the same constraint the split honours — Q7 asked which signing mechanism and was RULED 2026-08-29: remote signing served by the harness controller). Tier 1 answers *who permitted this*, tier 2 *what actually ran*, and neither may stand in for the other. ON CHAIN: **salted keyed commitments** (never plain hashes — EDPB Guidelines 02/2025 v2.0 hold that a hash of personal data IS personal data, so erasure is by SALT DESTRUCTION), commitments to consent-log **checkpoints** (consent STATE stays in the governed permissioned layer, which is publicly unlinkable), and anchors — **raw PHI never**, on HIPAA grounds a public chain is append-only, world-readable and permanent; records stay in encrypted off-chain custody with patient-held keys, and hospitals/insurers verify through presentations. **The evidence plane is OFF chain and IS the record** — a signed RFC-6962-style transparency log; anchoring only makes it externally undeniable. DOMAIN MAPPING is the neutral-layer proof — MedxFactory→**HealthLinc** (treatment plan ratified→simulated→reviewed→"merge" = pushed to the patient app or printed as signed orders) and LedgerxFactory→**LedgerLinc** (analysis/review plans, "merge" = published to the ledger app) run the SAME chain, differing in payload and regulator, not in shape. Sequences BEHIND four ACTIVE changes (not staged topics): `add-wallet-carried-review-authority` (S2 issuer anchor REALIZED — the direct predecessor and link 1's instrument), `add-trust-anchor` (certificates + chain custody, realized at contract-v1.37), `add-identity-brokering` (who a signer is), `implement-openxpki-install-repo` (the CA that issues the controller cert). **ALL SEVEN QUESTIONS RULED 2026-08-29 by Brett Heap in a clarify sitting** — Q1/Q2/Q4/Q7 as recommended, Q6 CONFIRMED as recommended, and **TWO DIVERGENCES (Q3, Q5)**. Every gate they held is OPEN: Q3/Q6 gated tranche 3, Q7 gated tranche 2's contract text, tranche 1 was never gated. Q3's research input was a **VENDORED STUDY** (`chain-selection-study.md`, 2026-08-27, sourced + date-checked) recommending transparency log as the evidence plane, **Bitcoin (OpenTimestamps aggregation) primary anchor**, **Kaspa optional secondary** under three conditions (archival node, inclusion proofs retained AT ANCHOR TIME, corroborating-only — Kaspa L1 **prunes tx data after ~3 days**), consent logic in the permissioned layer with anchored state roots, **NOT smart contracts on the anchoring chain and NOT Kasplex/Igra in 2026**; a chain-agnostic MULTI-ANCHOR RECEIPT is the 10-year exit path. **Q3's RULING DIVERGES from that ordering, in TWO ROUNDS**: round 1, verbatim — "lets [sic] use Kaspa as primary and bitcoin as secondary" — then, after the cost facts (Kaspa ~$0.000001/tx; Bitcoin-via-OTS $0 marginal per item on public calendars, ~$2.1k/yr self-run hourly; raw BTC tx $0.12–0.36 with spike history; a cheaper sidechain adds federation trust and saves nothing), round 2: **"Bitcoin-via-OTS on everything"** — BOTH witnesses on EVERY anchored item, **Kaspa FIRST** as the primary/OPERATIONAL witness under the three unchanged conditions and **Bitcoin batched via OTS as the DURABILITY witness — TEN-YEAR CLAIMS CITE BITCOIN** — with no selectivity and no third chain; receipts stay chain-agnostic multi-anchor carrying BOTH proofs. "Primary" is order of arrival, never evidentiary weight. The vendored study is **NOT edited** — a research record rewritten to agree with a later ruling stops being evidence. Brett's three priors came back **QUALIFIED** (Kaspa "non-captured"), **REFUTED for anchoring** ("Bitcoin too expensive" — aggregation makes it ~$0 marginal), **CONFIRMED** (KAS sub-penny fees). **Q6 CONFIRMED 2026-08-29 and it is the ruling's OPERATIVE FORM**: "patients put PHI portions on chain" means SALTED KEYED COMMITMENTS — a verifiable public handle, the portion itself disclosed off-chain under an anchored consent checkpoint, salt destruction as the erasure mechanism; literal raw/encrypted/plain-hashed PHI on chain stays REFUSED and **no later change re-litigates it**. **Q7 RULED as recommended**: REMOTE SIGNING SERVED BY THE HARNESS CONTROLLER, the runner's signing REQUEST recorded beside the signature it received, the controller corroborating the payload against its own link-4 setup attestation; an HSM is a later hardening of the same shape. **Q5 is the second divergence — RULED AGAINST THE RECOMMENDATION**: "allow contract code later" — evidence-only remains today's posture and no tranche now planned puts contract code on any chain, but the change MUST NOT constitutionalize "no contract code ever" nor gate a future adoption on the recommendation's stated trigger; the study's EDPB/HIPAA posture, unaudited-stack risk and irrevocable-deployment class are RECORDED AS ADVISORY CONTEXT for that future change, not as a gate on it. EXIT: tranche 1 (signed ratification + atomic enrollment + the transparency log) is composable TODAY and UNGATED; tranche 2's question-gate is open and what remains is machinery (the omnigent layer + the PKI plane); tranche 3's two question-gates are open and it builds to the RULED configuration, waiting on the PKI plane rather than on a ruling. **The topic is FULLY RULED and EXIT 1 IS RAISED** as the active change `add-signed-execution-chain` (links 1–3 + the transparency log + the short-chain gate, nine ADDED requirements), amended to all seven rulings. Drafting was NOT green-lit in the sitting and was GREEN-LIT SEPARATELY by Brett Heap on 2026-08-29 in session, in the same ruling that collapsed the two parallel packets onto `#495` and ADOPTED NARROWING A — tier 1 is RATIFYING authority, agent-held REVIEW wallets stay lawful. The packet is UNRATIFIED; ratification is a separate act and is his |
… "not ratified"

Copilot found three, a grep found the fourth. Setting Status: ratified in the
proposal front matter left the packet asserting both states at once:

- proposal.md's own `## Ratification` section said "Not ratified." directly
  beneath its ratified front matter;
- tasks.md's header called §2 DISCHARGED while 2.2 and 2.3 sat unchecked;
- .openspec.yaml said "THIS PACKET IS NOT RATIFIED AND CLAIMS NO RATIFICATION";
- ideation/staging/INDEX.md said the packet "remains UNRATIFIED" — in BOTH its
  summary row and its detail section.

The last two were in nobody's review; a re-grep found them.

THIS IS D7.6-D7.8's CLASS A FOURTH TIME, and this instance is what makes the
general form legible. The first three were about a rule gaining a conjunct and
about closing a list. This one is a STATE FLIP — neither of those — and it
failed identically. So the class was never about rules or lists:

  Any edit that changes what the packet ASSERTS ABOUT ITSELF is a definition
  change, and it owes a sweep of every site that asserts the same thing.

A status is asserted in more places than a rule is, because prose restates it
naturally: front matter, a body section, a task header, task boxes, an origin
manifest, a staging row, a staging detail section. Seven sites, one fact.

What changed this time is the METHOD, and it is the only durable part: not four
edits but a grep-first sweep — enumerate every occurrence of the status
vocabulary across the packet AND its two out-of-packet assertion sites, edit
from that list, then RE-RUN THE SAME GREP AND REQUIRE IT EMPTY. Fixing what a
reviewer names finds one site; grepping the vocabulary finds the ones nobody
named. Recorded as D7.9.

Honest summary of D7.6 through D7.9: four rounds, one defect class, and the
author fixed the named instance three times before writing the sweep down as a
procedure instead of a lesson. The bench found every one.

Also ticked §2.2 (target_release CONFIRMED as contract-v2.3 at ratification; the
realization recount is §4's obligation, not an open half of this box) and §2.3
(the front-matter three-way floor, done in the ratification commit).

Gates: openspec single valid; --all --strict 77 passed 0 failed; doc-health
unmoved vs the baseline at origin/main 9cadc97, same clock, matching basename
(4/6/38/11 both sides, 0 new regressions, --new-findings-out empty).
contracts/ untouched.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 29, 2026 19:58
@brettheap

Copy link
Copy Markdown
Contributor Author

Round 5 answered — 4ef39833 → 41b41997. Copilot found three; a grep found a fourth.

All three findings are real, and they are one defect: the ratification flip left the packet asserting BOTH states at once.

Site What it still said
proposal.md ## Ratification "Not ratified." — directly beneath its own Status: ratified front matter
tasks.md header §2 "DISCHARGED" while 2.2 and 2.3 sat unchecked
.openspec.yaml "THIS PACKET IS NOT RATIFIED AND CLAIMS NO RATIFICATION"
ideation/staging/INDEX.md "remains UNRATIFIED" — in both its summary row and its detail section

The last two were in nobody's review. A re-grep found them, and that matters more than the fix.

This is D7.6–D7.8's class a FOURTH time, and this instance is what finally makes the general form legible

The first three were about a rule gaining a conjunct and about closing a list. This one is a state flip — neither of those — and it failed identically. So the class was never about rules or lists:

Any edit that changes what the packet ASSERTS ABOUT ITSELF is a definition change, and it owes a sweep of every site that asserts the same thing.

A status is asserted in more places than a rule is, because prose restates it naturally: front matter, a body section, a task header, task boxes, an origin manifest, a staging row, a staging detail section. Seven sites, one fact.

What changed is the METHOD, and that is the only durable part

Not four edits — a grep-first sweep: enumerate every occurrence of the status vocabulary across the packet and its two out-of-packet assertion sites (README, INDEX), edit from that list, then re-run the same grep and require it empty. Fixing what a reviewer names finds one site; grepping the vocabulary finds the ones nobody named.

Recorded as D7.9. The honest summary of D7.6 through D7.9: four rounds, one defect class, and the author fixed the named instance three times before writing the sweep down as a procedure instead of a lesson. The bench found every one.

Also in this commit

§2.2 ticked — target_release CONFIRMED as contract-v2.3 at ratification, with the realization recount named as §4's obligation rather than left as an open half of the box. §2.3 ticked — the front-matter three-way floor, done in the ratification commit.

Gates at 41b41997

  • openspec validate add-signed-execution-chain --strict — valid
  • openspec validate --all --strict — 77 passed, 0 failed
  • proposal-support.py verify — ok
  • pytest tests/doc-health — 1333 passed
  • doc-health vs baseline at origin/main 9cadc977, matching basename, same clock — 4/6/38/11 both sides, 0 new regressions, --new-findings-out empty
  • contracts/ untouched

Five adversarial rounds, eleven findings, all real, all taken.

… own commit's doing

The record described "four adversarial rounds, eight findings" and named D7.6
through D7.8. Round 5 then found four sites still asserting "not ratified" —
defects the RATIFICATION COMMIT ITSELF introduced, including in this record's
own neighbourhood, where its front matter said ratified while proposal.md's
body, tasks.md's boxes, .openspec.yaml and INDEX.md said otherwise.

Updated to five rounds and eleven findings, with round 5 in the table and its
cause stated plainly: a ratification record that omitted the defects its own
commit introduced would be the least trustworthy document in the packet. The
fourth-appearance lesson and D7.9 are cited, because that appearance is what
made the class legible — a state flip is neither a rule gaining a conjunct nor a
closed list, and it failed identically.

This is the fourth-appearance rule applied to the record itself: the round table
is a site that asserts how much review this packet received, so a new round owes
it an edit.

Gates: openspec single valid; --all --strict 77 passed 0 failed; doc-health
unmoved (4/6/38/11 both sides, 0 new regressions, --new-findings-out empty).

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

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

Suppressed comments (1)

README.md:396

  • The PR description states the packet is UNRATIFIED and that tasks.md §2 carries ratification as an OPEN box, but the changes in this PR (e.g., this README entry) assert the change is RATIFIED and introduce a ratification record with Status: ratified. Please reconcile which is correct (either update the PR description, or revert/adjust the new in-repo assertions so status is consistent across the PR description, README, tasks, and ratification record).
- [add-signed-execution-chain](openspec/changes/add-signed-execution-chain/proposal.md)
  — **RATIFIED 2026-08-29 by Brett Heap** (`review/ratification-2026-08-29.md`); realization is a later commission. Exit 1 of
  three of the staged topic `signed-execution-chain`, and its boundary is

Comment thread README.md
Active changes:

- [add-signed-execution-chain](openspec/changes/add-signed-execution-chain/proposal.md)
— **RATIFIED 2026-08-29 by Brett Heap** (`review/ratification-2026-08-29.md`); realization is a later commission. Exit 1 of
Copilot AI review requested due to automatic review settings August 29, 2026 20:01

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 9 out of 9 changed files in this pull request and generated no new comments.

Suppressed comments (4)

Previously missed (2) — in code that hasn't changed since the last review.

openspec/changes/add-signed-execution-chain/tasks.md:6

  • This tasks file asserts the change is already RATIFIED and that §2 (the ratification gate) is DISCHARGED. That conflicts with the PR description’s claim that the packet is UNRATIFIED and being submitted for review (not ratification). Please align the tasks gating state with the PR’s intended status so implementers don’t treat ratification as complete when it isn’t.
Governance-level and dependency-ordered. **This change is RATIFIED (2026-08-29,
Brett Heap — `review/ratification-2026-08-29.md`) and is NOT being implemented
now.** §1 was authored in the pull request; **§2 is Brett's ratification act and
is DISCHARGED**; §3 onward are for the implementer and belong to a single

ideation/staging/INDEX.md:49

  • This row cites the ratification record as review/ratification-2026-08-29.md, but that path doesn’t exist from ideation/staging/INDEX.md (or repo root). Elsewhere in this same file (later detail section) the ratification record is referenced with the full openspec/changes/add-signed-execution-chain/... path; this row should use the same resolvable path for consistency.
| [signed-execution-chain](#signed-execution-chain) | ADDED a NEUTRAL signed-execution-chain family in openxFactory (the chain from a wallet-presented ratification through atomic enrollment, the traveling contract, harness + runner attestations, the signed PR-open decision, council review of the signed brief, and a CHAIN-VALIDATING MERGE GATE) — composing with `openxwallet`, `trust-anchor`, `identity-brokering` and `roles-authority-model`; plus the ON-CHAIN anchoring/consent layer Brett ruled 2026-08-27 | 2 | Registered 2026-08-27 from Brett's expansion ruling. **A broken chain is a FRAUD SIGNAL and there is no merge** — the chain is a PRECONDITION the omnigent layer enforces (it refuses to build an unverified chain), not an audit trail written afterwards. TIER MODEL forced by a ratified constraint: authority credentials stay HUMAN-HELD because omnigent workers carry `access_secrets: false`, so runners sign only EPHEMERAL PER-TASK attestations issued by the harness controller under its own cert — and the KEY NEVER ENTERS THE WORKER (the controller signs on the runner's request; `access_secrets: false` holds in every configuration and a short lifetime does not make a key non-secret, so "issued to the runner" would breach the same constraint the split honours — Q7 asked which signing mechanism and was RULED 2026-08-29: remote signing served by the harness controller). Tier 1 answers *who permitted this*, tier 2 *what actually ran*, and neither may stand in for the other. ON CHAIN: **salted keyed commitments** (never plain hashes — EDPB Guidelines 02/2025 v2.0 hold that a hash of personal data IS personal data, so erasure is by SALT DESTRUCTION), commitments to consent-log **checkpoints** (consent STATE stays in the governed permissioned layer, which is publicly unlinkable), and anchors — **raw PHI never**, on HIPAA grounds a public chain is append-only, world-readable and permanent; records stay in encrypted off-chain custody with patient-held keys, and hospitals/insurers verify through presentations. **The evidence plane is OFF chain and IS the record** — a signed RFC-6962-style transparency log; anchoring only makes it externally undeniable. DOMAIN MAPPING is the neutral-layer proof — MedxFactory→**HealthLinc** (treatment plan ratified→simulated→reviewed→"merge" = pushed to the patient app or printed as signed orders) and LedgerxFactory→**LedgerLinc** (analysis/review plans, "merge" = published to the ledger app) run the SAME chain, differing in payload and regulator, not in shape. Sequences BEHIND four ACTIVE changes (not staged topics): `add-wallet-carried-review-authority` (S2 issuer anchor REALIZED — the direct predecessor and link 1's instrument), `add-trust-anchor` (certificates + chain custody, realized at contract-v1.37), `add-identity-brokering` (who a signer is), `implement-openxpki-install-repo` (the CA that issues the controller cert). **ALL SEVEN QUESTIONS RULED 2026-08-29 by Brett Heap in a clarify sitting** — Q1/Q2/Q4/Q7 as recommended, Q6 CONFIRMED as recommended, and **TWO DIVERGENCES (Q3, Q5)**. Every gate they held is OPEN: Q3/Q6 gated tranche 3, Q7 gated tranche 2's contract text, tranche 1 was never gated. Q3's research input was a **VENDORED STUDY** (`chain-selection-study.md`, 2026-08-27, sourced + date-checked) recommending transparency log as the evidence plane, **Bitcoin (OpenTimestamps aggregation) primary anchor**, **Kaspa optional secondary** under three conditions (archival node, inclusion proofs retained AT ANCHOR TIME, corroborating-only — Kaspa L1 **prunes tx data after ~3 days**), consent logic in the permissioned layer with anchored state roots, **NOT smart contracts on the anchoring chain and NOT Kasplex/Igra in 2026**; a chain-agnostic MULTI-ANCHOR RECEIPT is the 10-year exit path. **Q3's RULING DIVERGES from that ordering, in TWO ROUNDS**: round 1, verbatim — "lets [sic] use Kaspa as primary and bitcoin as secondary" — then, after the cost facts (Kaspa ~$0.000001/tx; Bitcoin-via-OTS $0 marginal per item on public calendars, ~$2.1k/yr self-run hourly; raw BTC tx $0.12–0.36 with spike history; a cheaper sidechain adds federation trust and saves nothing), round 2: **"Bitcoin-via-OTS on everything"** — BOTH witnesses on EVERY anchored item, **Kaspa FIRST** as the primary/OPERATIONAL witness under the three unchanged conditions and **Bitcoin batched via OTS as the DURABILITY witness — TEN-YEAR CLAIMS CITE BITCOIN** — with no selectivity and no third chain; receipts stay chain-agnostic multi-anchor carrying BOTH proofs. "Primary" is order of arrival, never evidentiary weight. The vendored study is **NOT edited** — a research record rewritten to agree with a later ruling stops being evidence. Brett's three priors came back **QUALIFIED** (Kaspa "non-captured"), **REFUTED for anchoring** ("Bitcoin too expensive" — aggregation makes it ~$0 marginal), **CONFIRMED** (KAS sub-penny fees). **Q6 CONFIRMED 2026-08-29 and it is the ruling's OPERATIVE FORM**: "patients put PHI portions on chain" means SALTED KEYED COMMITMENTS — a verifiable public handle, the portion itself disclosed off-chain under an anchored consent checkpoint, salt destruction as the erasure mechanism; literal raw/encrypted/plain-hashed PHI on chain stays REFUSED and **no later change re-litigates it**. **Q7 RULED as recommended**: REMOTE SIGNING SERVED BY THE HARNESS CONTROLLER, the runner's signing REQUEST recorded beside the signature it received, the controller corroborating the payload against its own link-4 setup attestation; an HSM is a later hardening of the same shape. **Q5 is the second divergence — RULED AGAINST THE RECOMMENDATION**: "allow contract code later" — evidence-only remains today's posture and no tranche now planned puts contract code on any chain, but the change MUST NOT constitutionalize "no contract code ever" nor gate a future adoption on the recommendation's stated trigger; the study's EDPB/HIPAA posture, unaudited-stack risk and irrevocable-deployment class are RECORDED AS ADVISORY CONTEXT for that future change, not as a gate on it. EXIT: tranche 1 (signed ratification + atomic enrollment + the transparency log) is composable TODAY and UNGATED; tranche 2's question-gate is open and what remains is machinery (the omnigent layer + the PKI plane); tranche 3's two question-gates are open and it builds to the RULED configuration, waiting on the PKI plane rather than on a ruling. **The topic is FULLY RULED and EXIT 1 IS RAISED** as the active change `add-signed-execution-chain` (links 1–3 + the transparency log + the short-chain gate, nine ADDED requirements), amended to all seven rulings. Drafting was NOT green-lit in the sitting and was GREEN-LIT SEPARATELY by Brett Heap on 2026-08-29 in session, in the same ruling that collapsed the two parallel packets onto `#495` and ADOPTED NARROWING A — tier 1 is RATIFYING authority, agent-held REVIEW wallets stay lawful. The packet was RATIFIED by him the same day (`review/ratification-2026-08-29.md`); ratification authorizes tranche one ONLY and performs no realization |

README.md:395

  • The ratification record path here points to review/ratification-2026-08-29.md, but that file does not exist at repo root. The ratification record added in this PR lives under the change directory, so this reference is currently broken/misleading.
  — **RATIFIED 2026-08-29 by Brett Heap** (`review/ratification-2026-08-29.md`); realization is a later commission. Exit 1 of

openspec/changes/add-signed-execution-chain/proposal.md:7

  • PR description states this packet is UNRATIFIED and asks for packet review (not ratification), but the proposal front matter sets Status: ratified and includes a Ratified: line. Please reconcile the PR description vs the packet’s declared status (either update the PR description to match an already-performed ratification, or revert these fields/ratification references until ratification actually occurs).
Status: ratified
Proposed: 2026-08-29
Ratified: 2026-08-29 by Brett Heap (repository owner) — in-session via question prompts; record at `openspec/changes/add-signed-execution-chain/review/ratification-2026-08-29.md`
Origin: `openxFactory:staging:signed-execution-chain`, EXIT 1 OF THREE — the tranche the staged topic's own `## Exit path` marks "Composable TODAY", and Q4 ruled that boundary on 2026-08-29. The topic was registered 2026-08-27 from Brett Heap's expansion ruling and hardened by five adversarial review rounds on its own pull request (PR #452, squash `6612d323`). Tranches two and three are named successors in this document and NOT drafted here. **THE DRAFTING AUTHORIZATION IS BRETT HEAP'S IN-SESSION RULING OF 2026-08-29**, and it is named precisely because the earlier claim was weaker than the fact required: this packet as first filed cited the 2026-08-28 session-handoff board, which is an orchestrating session's record of direction and not his word, and the clarify sitting's own closing note says in terms that the sitting did NOT green-light the drafting. He gave the green-light separately, in session, on 2026-08-29, in the same ruling that collapsed pull requests #494 and #495 onto this one and adopted Narrowing A. Nothing else is authorized by it — not the requirement text, not the vocabulary act, not `target_release`, and above all not ratification.

Copilot AI review requested due to automatic review settings August 29, 2026 21:15

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 9 out of 9 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

README.md:467

  • The README entry references the ratification record as review/ratification-2026-08-29.md, but there are now multiple files with that same basename (e.g., add-binding-consumer-identity and add-signed-execution-chain). In the repo-level index this becomes ambiguous/non-navigable; prefer the full path for the specific change’s ratification record.
  — **RATIFIED 2026-08-29 by Brett Heap** (`review/ratification-2026-08-29.md`); realization is a later commission. Exit 1 of

Comment on lines +3 to +6
Governance-level and dependency-ordered. **This change is RATIFIED (2026-08-29,
Brett Heap — `review/ratification-2026-08-29.md`) and is NOT being implemented
now.** §1 was authored in the pull request; **§2 is Brett's ratification act and
is DISCHARGED**; §3 onward are for the implementer and belong to a single
@brettheap
brettheap merged commit 91cf0a4 into main Aug 29, 2026
4 checks passed
brettheap added a commit that referenced this pull request Aug 31, 2026
… tranche one (#524)

* A validated chain is not an audit trail, it is a permission — realized

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]>

* Apply the round-one bench: a live signature forgery, and three checks 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]>

* Apply the round-two bench: two facts that looked like one fact

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]>

* Apply the round-three bench: a leaf belongs to the chain it names

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]>

* Refuse an unpaired surrogate as a refusal, not as a crash

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]>

* Apply the rest of round three: the fourth leaf type, the reason a refusal names, and one spelling per signature

Three more findings on `eb1241fc`, all Codex, all real, and one of them is the
missing-act class a THIRD time.

THE FOURTH GOVERNED LEAF TYPE WAS STILL NOT REQUIRED (P1). The missing-act fix
had just added the ratification and traveling-contract leaves and never required
`gate_verdict`, so a chain could pass with its own adjudication absent from the
primary custody record. Measured against the pre-fix code: ACCEPTED.

It is not a chicken-and-egg, and the packaged corpus is the proof: a producer
WRITES the verdict leaf it expects, and this reader holds it to the reader's own
walk — a leaf claiming `permitted` over a chain the walk refuses is itself a
refusal. So requiring the leaf demands no trust in the producer and deadlocks no
first landing. Pinned by a test rather than a fixture, because a fixture is ADDED
to the corpus and cannot take a leaf away.

A VERDICT COULD NAME THE WRONG REASON (P2). The rule checked only that a
`refusal` object EXISTED, so a verdict could record any enum-valid code while the
walk failed for another. The walk now collects the codes it emitted and the
recorded code must be among them. The enumeration is CLOSED precisely so a
refusal names what was actually lacking — the same rule that keeps a missing
proof from being reported as a missing grant — and the false reason is what an
operator would act on: the packaged probe sends them looking for a signature that
was never missing instead of at a revoked grant. Measured pre-fix: only the real
reason was reported, and nothing about the false one.

ONE SIGNATURE HAD SIXTEEN SPELLINGS (P2). For 64 bytes the final base64url
character carries two data bits and a decoder ignores the remaining four, so
fifteen other spellings decoded to the same bytes, verified identically, and
matched the schema's 86-character pattern. `decode_signature` now re-encodes and
requires an exact match. A record admitting sixteen textual forms of one signature
admits sixteen distinct signed ratifications BY DIGEST, and the chain identity is
a digest over those bytes. Measured pre-fix: a re-spelled packaged signature
verified cleanly.

Both probeable findings got packaged fixtures and both were anchored against the
pushed tip `c150dd87` before the repairs: the wrong-code verdict drew only
`authority_revoked_at_exercise`, and the re-spelled signature drew only the
incidental completeness findings.

Corpus is 7 positives and 34 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`; 61 tests in
`tests/signed_execution_chain`. All four checks were green on `c150dd87`.

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

* Take Copilot's two suppressed findings on the gate-wiring test

Both were on test code, both real, and the first is this module's own defect one
level up.

A SECOND STATEMENT OF THE INVOCATION THAT NOTHING COMPARED. `INVOCATION` was
defined as a literal and never used, so the file held two statements of the gate's
invocation — the constant and the assertions — with nothing keeping them in
agreement. That is exactly the drift this module exists to prevent for the
workflow, reproduced inside the test that prevents it. The constant is gone and
the assertions are the single source of truth; a comment records why the three
parts that carry meaning are named individually rather than pinning a whole line
whose shell-continuation formatting is not itself a governed fact.

A TEST THAT DIES WITH `StopIteration` SAYS NOTHING ABOUT WHAT WENT MISSING. The
ordering assertions resolved each step with a bare `next(...)`, which raises when
the workflow changes rather than reporting WHICH step is absent. `_step_index`
now asserts that exactly one step matches, names the needle it looked for, and the
two ordering assertions carry their own reasons — the pin verifier must follow the
init because it recomputes digests against the nested checkout, and must precede
the walk because carried blocks may not be held to a pin nothing verified.

Five step lookups collapsed into one helper on the way through, so the job's step
list is read in one place.

Verification at this tip: openspec 78/78; 61 tests in
`tests/signed_execution_chain`; doc-health zero-new against `origin/main`. All
four checks were green on `6b72244d`, pytest-suite included (18m28s).

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

* Pin that the walk step runs under pipefail, which nothing did

Copilot's last suppressed finding, and it was right that nothing pinned it:
`shell: bash` was ALREADY declared on the walk step, so there was no live defect
— and removing that line left all eight assertions in this module passing.
Measured, before the assertion existed.

WITHOUT PIPEFAIL, `tee` RETURNS 0 OVER A FAILING READER. The default shell for a
`run` step does not set `-o pipefail`; declaring `shell: bash` does. This gate
pipes the reader's verdict into `tee` so the next step can grep it, so without
pipefail the job would be green whatever the reader decided — the vacuous pass
this whole module exists to prevent, by the one route its command-string
assertions cannot see.

IT WAS ALSO A DIVERGENCE FROM A RULE THIS REPOSITORY HAD ALREADY WRITTEN DOWN.
`tests/openxwallet_consumer_gate/test_gate_invocation.py`'s
`test_the_validator_step_runs_under_pipefail` asserts exactly this for the wallet
gate. Writing a second gate-wiring module without carrying that assertion across
is the inherited-precedent gap, not a new judgement.

The asserting step is pinned too, since its own `set -euo pipefail` needs bash.

AND THE NEEDLE FOR IT HAD TO CHANGE, WHICH IS THE OTHER FINDING PAYING OFF:
`chain-gate.log` appears in BOTH the walk step's `tee` and the grep step's reads,
so `_step_index` refused it as ambiguous — the helper added one commit ago doing
exactly the job it was added for, on its author. The needle is now
`set -euo pipefail`, which belongs to the asserting step alone.

Verified both directions: the assertion passes on the real workflow and FAILS when
`shell: bash` is removed from the walk step.

Verification at this tip: openspec 78/78; the reader 0 errors; 62 tests in
`tests/signed_execution_chain`; doc-health zero-new against `origin/main`.

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

* Re-count the target release: v2.4 was cut for the sibling alone, so the 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]>

---------

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 1, 2026
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]>
@brettheap
brettheap deleted the change/add-signed-execution-chain-tranche-one branch September 2, 2026 18:54
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