Repository navigation
Stage signed-execution-chain, with the chain-selection study vendored beside it - #452
Conversation
… beside it Brett ruled the expansion 2026-08-27: the signed-execution-chain vision goes ON CHAIN, definitively for financial and medical records, with the domain mapping corrected (HealthLinc for MedxFactory, LedgerLinc for LedgerxFactory). This enters the lifecycle as a STAGING TOPIC, not an OpenSpec change. The topic: ten links from a wallet-presented ratification through atomic enrollment, the traveling contract, harness and runner attestations, the signed PR-open decision, council review of the signed brief, to a CHAIN-VALIDATING MERGE GATE. A broken chain is a fraud signal, not a warning. The omnigent layer refuses to build an unverified chain, which makes the chain a precondition of execution rather than a record of it. The tier split is forced rather than chosen: omnigent workers carry `access_secrets: false` as a constitutional constraint, so authority credentials stay human-held and runners sign only ephemeral per-task attestations issued by the harness controller. Tier 1 answers "who permitted this", tier 2 "what actually ran", and neither may stand in for the other. A parallel chain-selection study completed and is vendored verbatim as `chain-selection-study.md` (research input, not governance text; relabelled `staged` only because a brainstorm-status doc may not live under ideation/staging/). Q3 cites its recommendation instead of re-arguing it: an off-chain signed transparency log as the evidence plane that IS the record, Bitcoin via OpenTimestamps aggregation as the primary anchor, Kaspa as an optional low-latency secondary under three conditions, consent logic in the governed permissioned layer with anchored state roots, and explicitly NOT smart contracts on the anchoring chain, NOT Kasplex or Igra in 2026. The study corrected the topic rather than confirming it, and both corrections are kept visible because the wrong version is the intuitive one: - Plain hashes are not safe. EDPB Guidelines 02/2025 v2.0 hold that a hash of personal data IS personal data, so anchored values are salted keyed commitments and erasure is by salt destruction. - Consent STATE does not go on chain, because on-chain consent rows are publicly linkable to a person. The chain sees commitments to consent-log checkpoints only. Kaspa L1 prunes transaction data after ~3 days, which is why inclusion proofs must be retained at anchor time, an archival node is required, and Kaspa anchors are corroborating evidence, never sole. The chain-agnostic multi-anchor receipt is the 10-year exit path. Brett's three priors are recorded as they came back, including the one that failed: "Kaspa is one of the only non-captured chains" QUALIFIED, "Bitcoin is just too expensive" REFUTED for anchoring (aggregation makes it ~$0 marginal, which is what moved Bitcoin into the primary-anchor seat), "KAS is fractions of a penny" CONFIRMED and understated. Q6 is raised rather than assumed: the ruling includes patients putting PHI portions on chain, which the research refuses literally. The topic reads it as commitments, preserving every patient-facing behaviour while moving the bytes off chain, and asks Brett to confirm the narrowing. A topic should not quietly narrow a ruling. Conflicts are stated: four ACTIVE OpenSpec changes occupy adjacent ground (add-wallet-carried-review-authority with its S2 issuer anchor realized, add-trust-anchor at contract-v1.37, add-identity-brokering, implement-openxpki-install-repo). Their ratified text governs; this topic composes rather than inventing a second identity or certificate vocabulary. Docs-only: contracts/ and openspec/ untouched (0 files), openspec strict 75/75, doc-health zero-new against the same-clock baseline (73/73). Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Stages a new signed-execution-chain topic under ideation/staging/, documenting an end-to-end signature chain (wallet ratification → enrollment → attestations → PR open → council review → chain-validating merge gate) and vendoring a supporting chain-selection research study alongside it, with ideation/staging/INDEX.md updated to register the topic.
Changes:
- Added
signed-execution-chain.mdas the primary staged fragment describing the chain, tiered credential model, and on-chain boundary framing. - Added
chain-selection-study.mdas a vendored (supporting) research artifact and referenced it from the primary fragment (notably for Q3). - Updated
ideation/staging/INDEX.mdto include the new topic row and detailed section entry.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ideation/staging/signed-execution-chain/signed-execution-chain.md | New staged topic fragment describing the signed-execution-chain concept, layers, conflicts, and open questions. |
| ideation/staging/signed-execution-chain/chain-selection-study.md | New vendored research input providing chain-selection analysis and recommended anchoring architecture. |
| ideation/staging/INDEX.md | Registers the staged topic in the staging index (table row + detailed section). |
Suppressed comments (1)
ideation/staging/signed-execution-chain/chain-selection-study.md:108
- This citation label says "Coinbase ETH/BTC price pages" but the URL points to Ethereum only. Since this paragraph is quoting BTC/USD context, the link text/URL should point to a Bitcoin price source (or be removed) so readers can verify the stated BTC price.
- **Fees now:** ~1–3 sat/vB typical (economy 1, next-block ~3, Aug 2026); a ~140–150 vB tx = ~150–450 sats ≈ **$0.12–$0.36** at BTC ≈ $79k (BTC opened $78,982 on 2026-08-25). Median 2025–26 conditions 1–20 sat/vB; historical spikes (ordinals era 2023–24) exceeded 100 sat/vB — fee volatility is real and must be assumed to recur. ([SatsBeat live fees / starlighttools, Aug 2026](https://satsbeat.com/fees); [Coinbase ETH/BTC price pages](https://www.coinbase.com/price/ethereum), checked 2026-08-27)
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
|
||
| ### 1.2 Fees and payload capacity — CONFIRMED CHEAP; payload natively supported | ||
|
|
||
| - Minimum fee is 1 sompi/gram of "mass"; a typical transaction is ~**0.00002 KAS**; common wallet formula ~0.0001 KAS/UTXO. At $0.0290/KAS ([CoinGecko/crypto.news, 2026-08-28 snapshot](https://crypto.news/price/kaspa/)) that is **$0.0000006–$0.000003 per transaction** — millionths of a dollar. Fees are dynamic and rise under congestion; Kaspalytics tracks the live average. ([kaspa.aspectron fee docs](https://kaspa.aspectron.org/transactions/fees/fee-rate-qos.html); [Kaspalytics average-fee chart](https://www.kaspalytics.com/app/transactions/accepted/fees/average), checked 2026-08-27) |
There was a problem hiding this comment.
Answered in the header, not the body — 94e012f.
The study is vendored byte-verbatim below its header, so the fee bullet is not edited. It also is not a mismatch: the original meta line reads "all prices/fees/network figures are snapshots as of this date unless noted", and a differently-dated live price page is exactly the noted case. The provenance paragraph — ours, above the vendored body — now names the one citation and says why it stands.
On the second instance: 2026-08-28 appears once in the file, at line 56. Line 108 is the Bitcoin fee bullet, dated 2026-08-25 and checked 2026-08-27.
| Brett ruled 2026-08-27 that the anchoring and consent layer goes **on chain**, | ||
| definitively, and **especially for financial and medical records**. |
There was a problem hiding this comment.
Fixed in 94e012f. The ruling stays recorded as it was given — a topic does not restate its stakeholder — and a following sentence now says what the study refines: which chain each part lands on. Public commitments for the anchoring layer, a governed permissioned ledger with anchored state roots for consent, raw records on neither.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1cbba5ef57
ℹ️ 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".
| **Tier 2 — attestation identities, EPHEMERAL and PER TASK.** Issued by the | ||
| harness controller under its own certificate, valid for one task, and capable of | ||
| exactly one thing: signing an attestation that *this ran, as this model, at this | ||
| version, under this harness*. |
There was a problem hiding this comment.
Keep runner signing keys outside workers
When the runner is an Omnigent worker, signing with the proposed per-task key requires that worker to hold or access the private key, even if only briefly. The authoritative openspec/specs/omnigent-domain-overlay/spec.md:58-61 requires access_secrets to remain false in every configuration and says workers never hold raw credentials; shortening a credential's lifetime does not make it non-secret. Thus links 5, 6, and 10 cannot be implemented under the claimed constitutional constraint unless signing is performed by a separate controller/HSM-like boundary that never exposes the key to the worker.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Accepted, and it was the right catch — b7f202a.
A one-task lifetime does not make a private key non-secret, and the promoted omnigent-domain-overlay requirement is unambiguous: access_secrets false "for every worker class in every domain and every configuration", workers never hold raw credentials. The draft said the controller issues a per-task key to the runner, which reads as custody and contradicts the constraint the tier split exists to honour.
The tier model now states the boundary you name: the issuing controller is also the SIGNER. The runner submits the payload it wants attested and receives a signature over it; no key bytes cross into a worker. Links 5, 6 and 10 read as signed at the controller boundary, about the runner, never by a key the runner holds.
The mechanism is a real choice — remote signing, an attested co-process, a hardware-backed signer — differing in what an attacker who owns a runner for one task obtains, so it enters as Q7 rather than being settled inside a staged topic. Recommended answer recorded there: controller-served remote signing that records the signing REQUEST beside the signature, so the chain shows both what was attested and who asked for it.
There was a problem hiding this comment.
Taken, across two commits. b7f202a states the boundary in the tier model — the issuing controller is also the signer; no key bytes enter the worker at any point; links 5, 6 and 10 are signed at the controller boundary, about the runner, never by a key the runner holds — and adds Q7, which records this finding as the origin of the correction and asks for the signing mechanism (remote signing vs co-process vs hardware-backed) before tranche two drafts contract text. af2cad2 then catches the two spots that still carried the runner-signs framing: link 5's Signed-by cell and the tier-split insights bullet. Your reading of the constraint — a short lifetime does not make a key non-secret — is now in the text verbatim.
| **chain-agnostic multi-anchor format** (digest → Merkle path → {chain, block | ||
| header, tx ref} list). |
There was a problem hiding this comment.
Include the transaction-to-block inclusion proof
For the stated ten-year or post-pruning verification scenario, this receipt shape is incomplete: a transaction reference plus a block header does not prove that the anchor transaction was included in that block, because the header commits only to a transaction root. The receipt needs the transaction data and its chain-specific transaction-to-block/DAG inclusion proof in addition to the aggregation Merkle path; otherwise a Kaspa proof cannot be independently revalidated after ordinary nodes prune the transaction, contradicting the full-proof retention requirement below.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Accepted — b7f202a. A block header commits only to a transaction root, so header plus a bare transaction reference proves nothing once the transaction is gone, which the same section already calls a certainty on Kaspa within ~3 days. It was internally inconsistent as written: the Kaspa conditions immediately below already demand full inclusion proofs retained at anchor time.
The receipt shape is now digest → aggregation Merkle path → per-chain {anchor transaction, its transaction-to-block or DAG inclusion proof, block header}, captured whole at anchor time — and both statements of it move together, the architecture bullet and claim 7, plus the INDEX exit-path line.
There was a problem hiding this comment.
Taken in b7f202a: the receipt format now carries the anchor transaction and its transaction-to-block (or DAG) inclusion proof, captured whole at anchor time, in both places the format appears — the architecture bullet and claim 7 of the ten claims — with the reasoning stated inline (a header commits only to a transaction root, so a header plus a bare reference proves nothing once the transaction is pruned, which on Kaspa is a certainty within days).
…h part lands on The review round on #452 returned two findings, both from Copilot; Codex reviewed 1cbba5e and raised nothing, and Sourcery has no access to a private repo. Both findings are about a reader tripping over the text, not about the analysis, and both are answered in place. 1. The study's §1.2 fee bullet labels its price source a `2026-08-28 snapshot` while every other source line in the document reads `checked 2026-08-27`. The body is vendored byte-verbatim and is not edited to reconcile it; the original meta line already carries an *unless noted* clause covering exactly a differently-dated snapshot, so the header provenance paragraph — which is ours, not vendored — now names the one citation and why it stands. (The review also placed a second instance at line 108; there is none. `2026-08-28` appears once in the file, at line 56. Line 108 is the Bitcoin fee bullet, dated 2026-08-25 and checked 2026-08-27.) 2. "The anchoring and consent layer goes on chain" read as a contradiction of the section immediately below it, which puts consent logic explicitly NOT on the anchoring chain. The ruling stays recorded as it was given — a topic does not restate its stakeholder's words — and a following sentence now says what the study refines: which chain each part lands on, public commitments for anchoring, a governed permissioned ledger with anchored state roots for consent, raw records on neither. Docs-only, header and prose; no claim, verdict, conflict row or open question changes, and Q6 still stands unanswered for Brett. Co-Authored-By: Claude Opus 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Suppressed comments (3)
Previously missed (2) — in code that hasn't changed since the last review.
ideation/staging/signed-execution-chain/chain-selection-study.md:111
- The citation label says “Coinbase ETH/BTC price pages” but the link points only to the Ethereum price page. Either update the label or add a BTC link so the citation matches what’s referenced.
- **Fees now:** ~1–3 sat/vB typical (economy 1, next-block ~3, Aug 2026); a ~140–150 vB tx = ~150–450 sats ≈ **$0.12–$0.36** at BTC ≈ $79k (BTC opened $78,982 on 2026-08-25). Median 2025–26 conditions 1–20 sat/vB; historical spikes (ordinals era 2023–24) exceeded 100 sat/vB — fee volatility is real and must be assumed to recur. ([SatsBeat live fees / starlighttools, Aug 2026](https://satsbeat.com/fees); [Coinbase ETH/BTC price pages](https://www.coinbase.com/price/ethereum), checked 2026-08-27)
ideation/staging/INDEX.md:1775
- This summary says “the chain carries … consent records and their revocations”, which reads like per-person consent state is on-chain. Elsewhere in this topic and the linked fragment, consent state is explicitly kept in the governed permissioned layer and only commitments/checkpoints are anchored publicly—this INDEX entry should match that to avoid confusion.
off-chain custody with patient-held keys; the chain carries commitments, consent
records and their revocations, and the execution anchors. Hospitals and insurers
ideation/staging/signed-execution-chain/chain-selection-study.md:208
- The footer claims “All web sources accessed and date-checked 2026-08-27.” but §1.2 explicitly includes a “2026-08-28 snapshot”. This should mirror the “unless noted” wording used earlier so the document is internally consistent.
*Prepared as research input for the openxFactory chain-selection decision. All web sources accessed and date-checked 2026-08-27.*
…the proof Corrects the previous commit's message: it recorded that Codex reviewed 1cbba5e and raised nothing. Codex's summary body carried no findings, but two inline comments landed a minute later, and both are right. They are answered here. **P1 — the per-task key was described as runner-held.** Tier 2 said the controller ISSUES an ephemeral per-task key and the runner signs with it. The promoted `omnigent-domain-overlay` spec holds `access_secrets` false "for every worker class in every domain and every configuration", and states that workers never hold raw credentials. A one-task lifetime does not make a private key stop being a secret, so the draft contradicted the very constraint the tier split exists to honour — links 5, 6 and 10 could not have been built under it. The tier model now states the boundary: the issuing controller is also the SIGNER, the runner submits the payload it wants attested and receives a signature over it, and no key bytes cross into a worker. "Ephemeral" describes a lifetime, not a relaxation of custody. The mechanism is a genuine choice — remote signing, an attested co-process, a hardware-backed signer — and they differ in what an attacker owning a runner for one task obtains, so it enters as **Q7** rather than being decided here. Recommended answer: controller-served remote signing that records the runner's signing REQUEST beside the signature, so the chain shows both what was attested and who asked for it. **P2 — the multi-anchor receipt could not be verified after pruning.** The receipt shape read `digest → Merkle path → {chain, block header, tx ref}`. A block header commits only to a transaction root, so a header plus a bare transaction reference proves nothing once the transaction itself is gone — which the same section already calls a certainty on Kaspa within ~3 days. The shape now carries the anchor transaction and its transaction-to-block or DAG inclusion proof, captured whole at anchor time; both statements of it (the architecture bullet and claim 7) move together. Two consistency repairs found while placing those: the INDEX detail section still said the chain carries "consent records and their revocations", the pre-correction wording the study refuted — it now says commitments to consent-log CHECKPOINTS, matching the row and the fragment. Open-question counts move 6 → 7 in all three places that state them. Docs-only. No claim, verdict, conflict row or tranche boundary changes; Q6 still stands unanswered for Brett. Co-Authored-By: Claude Opus 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
Suppressed comments (6)
Previously missed (5) — in code that hasn't changed since the last review.
ideation/staging/signed-execution-chain/signed-execution-chain.md:20
- This staged topic’s primary fragment header omits the standard staging header fields used throughout ideation/staging (e.g.,
Topics:,Repository context:,Staging ID:,Source:,Target capabilities:). Several doc-health/ideation tooling paths derive clusters and context from these header tokens; without them, this topic is harder to index consistently.
nothing anchored is ever an unsalted hash.
ideation/staging/signed-execution-chain/signed-execution-chain.md:272
- “un-published” is inconsistent with the repo’s established wording (“unpublished”) and reads like a hyphenation typo. Using the standard spelling improves consistency and searchability.
Revocation is the sharp question and is deliberately raised here rather than
assumed: an on-chain consent record can be superseded by an on-chain revocation,
but **nothing on a chain can be un-published**, and no revocation reaches a copy
already disclosed. The design must state that limit rather than let "patient
controlled" imply more than it delivers — the same honesty the credential-custody
ideation/staging/signed-execution-chain/signed-execution-chain.md:332
- Same hyphenation issue as above: “un-published” should be “unpublished” for consistency with existing repo wording.
**A conflict inside the vision itself**, stated rather than smoothed: link 9
says a broken chain is a fraud signal, and the on-chain layer says nothing can be
un-published. A false attestation that reaches the chain is therefore permanent.
That argues for anchoring LATE (commit only what has been validated) and is a
ideation/staging/signed-execution-chain/chain-selection-study.md:35
- The header separator is duplicated (
---twice). This renders as two horizontal rules back-to-back and makes it harder to visually distinguish the local header from the vendored body. Keeping a single separator is sufficient.
---
---
## 0. Executive verdicts
ideation/staging/INDEX.md:1785
- “un-published” is inconsistent with existing repo wording (“unpublished”). Using the standard spelling improves consistency and makes it easier to grep for the concept elsewhere.
This issue also appears on line 1799 of the same file.
verify through presentations without reading what they were not granted. The
limit is stated rather than implied: **nothing on a chain can be un-published**,
and no revocation reaches an already-disclosed copy.
ideation/staging/INDEX.md:1802
- Same hyphenation issue as above: “un-published” should be “unpublished” for consistency/searchability.
- A conflict inside the vision itself, recorded rather than smoothed: a broken
chain is a fraud signal AND nothing on chain can be un-published, so a false
attestation that reaches the chain is permanent. That argues for anchoring LATE
— committing only what has been validated — and is a design constraint on
| | 5 | **Runner attestations** — each runner attests its model, its version, and its local harness | ephemeral per-task key, issued by the controller | the work cannot say what produced it | | ||
| | 6 | **Signed PR-open decision** — opening a pull request is itself a decision and is signed as one | per-task identity + carried contract | the PR is an orphan act | |
There was a problem hiding this comment.
| | 7 | **Council review with the signed proposal as the brief** — the council reviews the chain-carrying artifact, not a summary of it | council seats | review is of a restatement, which is the fidelity defect this family keeps finding | | ||
| | 8 | **Chain-validating merge gate** — the gate walks the chain before it permits a merge | gate (verifier) | **no merge** | | ||
| | 9 | **Broken chain = fraud signal** — a gap is refused and reported as a fraud signal, never downgraded to a warning | — | (this IS the refusal) | | ||
| | 10 | **Governed post-merge test** — consumes the proposal AND the review notes, so what was promised is what is tested | per-task identity | the test is disconnected from the claim it should verify | |
There was a problem hiding this comment.
Fixed in e9419f1: rows 6 and 10 now read "per-task identity (controller-signed)" explicitly, consistent with row 5 and the tier model.
…ch up to the custody boundary, and the mislabeled citation is recorded b7f202a moved signing to the controller boundary in the tier model and Q7, but link 5's "Signed by" cell and the tier-split insights bullet still carried the runner-signs-with-the-key framing — both now match the prose they sit beside. Copilot's suppressed Coinbase-mislabel note is recorded in the study's provenance preamble under 94e012f's annotate-don't-edit policy; the vendored body stays verbatim. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
ideation/staging/signed-execution-chain/signed-execution-chain.md:20
- This staged capability-proposal fragment is missing the standard header metadata block (e.g., Topics / Repository context / Staging ID / Source / Target capabilities) that other staged capability-proposal docs in
ideation/staging/consistently include (for exampleideation/staging/session-notebook-reconciliation/session-notebook-reconciliation.md:12-24). Without these fields, cross-referencing and index navigation is harder, and the fragment is less self-describing when read outsideideation/staging/INDEX.md.
transparency log is the record, Bitcoin is the primary anchor with Kaspa an
optional secondary, consent logic stays in a governed permissioned layer, and
nothing anchored is ever an unsalted hash.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: af2cad2bb2
ℹ️ 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".
| So tier 2's issuing controller is also its SIGNER — the runner submits the | ||
| payload it wants attested and receives a signature over it, and no key bytes | ||
| cross into the worker at any point. Links 5, 6 and 10 read that way: signed at | ||
| the controller boundary, *about* the runner, never *by* a key the runner holds. |
There was a problem hiding this comment.
Authenticate runner claims before controller signing
When a runner is compromised or misconfigured, this flow lets it submit a false model/version/harness payload and obtain a valid controller signature; the signature proves only that the controller signed the supplied bytes, not that the claimed execution occurred. Recording the request proposed in Q7 does not add independent evidence, so links 5, 6, and 10 can still form a fully valid-looking chain for fabricated work, defeating the stated fraud-detection property. Require the controller to bind signing to independently observed or hardware-attested task measurements rather than trusting the runner's payload.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken in e9419f1. The tier model now carries the binding requirement as doctrine: the controller signs only what it can bind — link 5's model/version/harness are facts the controller itself provisioned in link 4, corroborated against its own setup attestation rather than accepted from the runner; measurements only the runner can see are hardware-attested where the platform offers it or carried explicitly as runner-claimed, never laundered into controller-attested fact. Q7's explanation now states that the mechanism question is about where the key lives, never about whether the claims are checked.
| **Layer 1 — Public anchoring (commitments only).** | ||
| - **Primary: Bitcoin**, via OpenTimestamps aggregation (public calendars for $0, or a self-run calendar committing the log's Merkle root hourly ≈ $2.1k/yr). Rationale: maximal capture-resistance × maximal 10-year survivability × full-history verifiability × ~zero marginal cost — the stakeholder's cost objection does not survive aggregation (§2). | ||
| - **Secondary (optional, per stakeholder preference): Kaspa** — direct per-event or per-minute anchors in tx payloads. Cost is genuinely negligible (<$1/yr at factory volumes), latency is seconds, and it adds an independent PoW witness under different governance. Conditions: run an archival node; capture and retain full inclusion proofs at anchor time; treat Kaspa anchors as corroborating, never sole, evidence (pruning + security-budget caveats, §1.7). | ||
| - Receipts stored per-record in a **chain-agnostic multi-anchor format** (digest → Merkle path → {chain, block header, tx ref} list), so anchor targets can be added/dropped without touching the evidence plane. This is the 10-year exit strategy: if Kaspa thrives (DAGKnight lands, fee market forms, archival infra institutionalizes), promote it; if it fades, drop it and lose nothing. |
There was a problem hiding this comment.
Retain complete proofs in the vendored receipt format
Fresh evidence after the prior receipt fix is that the primary topic now requires the anchor transaction and its inclusion proof, but this vendored recommendation still specifies only {chain, block header, tx ref}. Because Q3 explicitly directs later work to adopt this study's recommendation, an implementer following this format still cannot prove transaction inclusion after pruning; update the recommendation to retain the transaction and transaction-to-block/DAG inclusion proof as well.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken in e9419f1, under the study's annotate-don't-edit policy (the vendored body stays byte-verbatim): the provenance preamble now records that the Layer-1 receipt sketch is superseded by the fragment's corrected format — anchor transaction + transaction-to-block/DAG inclusion proof, captured at anchor time — which governs wherever the two differ. And since Q3 is the pointer an implementer would follow, Q3's explanation now carries the same correction explicitly.
|
|
||
| ## Open questions | ||
|
|
||
| None blocking; all seven are for the eventual clarify round. Q3 and Q5 now carry |
There was a problem hiding this comment.
Mark tranche-gating questions as blocking
The declaration that none of the questions are blocking contradicts this document's own Q6 disposition and exit path: lines 463–470 say Q6 must be confirmed, while lines 507–515 say tranche 3 waits on rulings for Q3 and Q6. Since the staging record governs readiness and release sequencing, this can cause the on-chain tranche to be promoted before its PHI boundary and chain configuration are ruled; qualify this as “not blocking tranche 1” or mark Q3/Q6 as tranche-3 blockers.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken in e9419f1: the preamble now reads none-blocks-tranche-ONE, names Q3 and Q6 as tranche-three blockers (matching the exit path, which waits on both rulings), and marks Q7 as gating tranche two's contract text. The contradiction with the Q6 disposition and the exit path is gone.
…signs, the study's receipt sketch is superseded on record, and the gating questions say which tranche they gate P1: a controller signature proves only what bytes were signed — so the controller corroborates link-5 facts against its own link-4 setup attestation, hardware-attests or labels runner-claimed what only the runner can see, and never notarizes self-report; Q7 carries the binding requirement into its mechanism question. P2 (study): the Layer-1 receipt sketch is superseded by the fragment's corrected format, recorded in the provenance preamble under the annotate-don't-edit policy, and Q3 now says the corrected format governs wherever the two differ. P2 (blocking): "none blocking" now reads none-blocks-tranche-one; Q3 and Q6 are named tranche-three blockers and Q7 gates tranche two's contract text, matching the exit path. Copilot: table rows 6 and 10 are controller-signed explicitly. Co-Authored-By: Claude Fable 5 <[email protected]>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e9419f18d7
ℹ️ 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".
| | 7 | **Council review with the signed proposal as the brief** — the council reviews the chain-carrying artifact, not a summary of it | council seats | review is of a restatement, which is the fidelity defect this family keeps finding | | ||
| | 8 | **Chain-validating merge gate** — the gate walks the chain before it permits a merge | gate (verifier) | **no merge** | | ||
| | 9 | **Broken chain = fraud signal** — a gap is refused and reported as a fraud signal, never downgraded to a warning | — | (this IS the refusal) | | ||
| | 10 | **Governed post-merge test** — consumes the proposal AND the review notes, so what was promised is what is tested | per-task identity (controller-signed) | the test is disconnected from the claim it should verify | |
There was a problem hiding this comment.
Move the post-merge test ahead of the merge gate
Because link 10 is explicitly post-merge, it cannot exist when link 8 walks the chain before permitting that same merge. Consequently, a missing or invalid link 10 can never trigger the promised “no merge” refusal, despite the summary defining it as part of the whole chain; either make this test pre-merge or explicitly define it as evidence for a later gate rather than part of the chain required for the current merge.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken across 8f44741 and f7fe678, via the finding's second alternative — the post-merge test stays post-merge (that placement is a stakeholder ruling), and the chain now has two explicit enforcement horizons: link 8 walks links 1–7, everything that exists before a merge can; links 9–10 enforce at CLOSURE — a merged-but-unclosed chain (link 10 missing, failed, or unsigned) is a refusing state for whatever consumes the merge (promotion, release, the next chain that builds on it) and fires link 9's fraud signal. The summary, the link-8 paragraph, and table rows 8 and 10 all now say this consistently; a gate cannot walk a link that does not exist yet.
| attestation that reaches the chain is permanent. That argues for anchoring LATE | ||
| — committing only what has been validated — and is a design constraint on | ||
| tranche three. | ||
| - 7 open questions, none blocking: wallet-presentation mechanics; the exact |
There was a problem hiding this comment.
Mark the later-tranche questions as blocking in the index
Fresh evidence after the primary document was corrected is that the authoritative staging index still says all seven questions are “none blocking,” while the primary fragment now makes Q3/Q6 tranche-three blockers and Q7 a tranche-two gate. Readers relying on this index can therefore promote either later tranche before its required ruling; qualify this as “none blocks tranche one” here and in the table row.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken in 8f44741, in both places the finding named: the INDEX topic row now reads "7 open questions, none blocks tranche one (Q3/Q6 gate tranche 3, Q7 gates tranche 2)" and the detail-section bullet opens "7 open questions, none blocking tranche one — Q3 and Q6 are tranche-three blockers, Q7 gates tranche two's contract text". Index and fragment now agree on which tranche each question gates.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
ideation/staging/signed-execution-chain/signed-execution-chain.md:20
- This staged primary fragment is missing the staging-packet header fields that other
ideation/staging/*/*.mdtopics carry (Topics:,Repository context:,Staging ID:,Source:,Target capabilities:). Tooling also expects these fields for staging packets (seescripts/ideation_dashboard/workbench.pyaroundrender_organize_skeleton’s header spec).
Status: staged
Kind: capability-proposal
Summary: A ratification signed with a presented wallet begins a CHAIN that travels
| third: the Layer-1 receipt sketch (digest → Merkle path → {chain, block | ||
| header, tx ref}) is superseded — the fragment's corrected receipt format | ||
| carries the anchor transaction and its transaction-to-block or DAG inclusion | ||
| proof, captured at anchor time, and governs wherever the two differ; the | ||
| study's own Kaspa conditions already demanded exactly that retention. |
There was a problem hiding this comment.
Fixed before the merge, in e9419f18 (squashed into 6612d323). The preamble now says where the authoritative format lives rather than only that the sketch is superseded:
the Layer-1 receipt sketch (digest → Merkle path → {chain, block header, tx ref}) is superseded — the fragment's corrected receipt format carries the anchor transaction and its transaction-to-block or DAG inclusion proof, captured at anchor time, and governs wherever the two differ; the study's own Kaspa conditions already demanded exactly that retention.
A Q3 rider carries the same statement, so a reader who arrives at the chain-selection question rather than the study header also gets it.
…nforce at closure Codex P1: a pre-merge gate cannot walk a post-merge link. Link 8 now explicitly walks links 1–7; the chain completes at CLOSURE, and a merged-but-unclosed chain (link 10 missing or failed) is a refusing state for everything that consumes the merge — promotion, release, the next chain — and fires link 9. The post-merge test stays post-merge, as ruled; its enforcement point is the next gate, not the one behind it. Codex P2: the staging INDEX carries the same gating qualification as the fragment (none blocks tranche one; Q3/Q6 gate tranche three, Q7 gates tranche two's contract text), in the detail bullet and the topic row where applicable. Co-Authored-By: Claude Fable 5 <[email protected]>
…1–7, links 9–10 enforce at closure The body and table were corrected in 8f44741; the front-matter Summary still carried the whole-chain framing the finding quoted. Now all three say the same thing. Co-Authored-By: Claude Fable 5 <[email protected]>
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Suppressed comments (3)
Previously missed (1) — in code that hasn't changed since the last review.
ideation/staging/signed-execution-chain/chain-selection-study.md:12
- The Summary line says “Vendored verbatim 2026-08-27”, but this file includes a newly authored staging/provenance header above the vendored body. Tweaking this wording to clarify that the body is vendored verbatim avoids implying the entire file is byte-identical to the source document.
chain. Vendored verbatim 2026-08-27.
ideation/staging/signed-execution-chain/signed-execution-chain.md:70
- In the chain table, link 3 is described as “the signed ratification becomes an artifact that accompanies the work”, so the “Signed by” cell should point back to the ratifier’s signature from link 1 rather than reading like there is no signer for this link.
| 3 | **The traveling contract** — the signed ratification becomes an artifact that accompanies the work rather than a row in a table it must be looked up in | — (carried) | the chain cannot be checked at the point of use |
ideation/staging/signed-execution-chain/chain-selection-study.md:26
- This provenance note references “Copilot's suppressed note”, which is tool-specific and unclear to future readers. Rephrase to a tool-agnostic description (e.g., “a prior review note”) while preserving the intent of recording the citation-label defect.
citation defect, from Copilot's suppressed note: the §2 Bitcoin fee line cites
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f7fe67840c
ℹ️ 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".
|
|
||
| ## The chain | ||
|
|
||
| Ten links. Each names what is signed, by whom, and what refuses when it is absent. |
There was a problem hiding this comment.
Bind every attestation to the same execution chain
The link format names signers but never requires links 4–7 to sign a shared execution identifier, the carried contract digest, or the preceding link's digest. With concurrent or repeated tasks, a gate could therefore assemble individually valid setup, runner, PR, and review artifacts from different executions and still find every required signature, defeating the claimed proof that the work descended from this ratification. Require every link to cryptographically bind the common task/contract identity and its predecessor before calling the set a validated chain.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken in 16654c7. The chain section now carries the binding rule as doctrine: every link from enrollment onward signs over the chain identity — the digest of the signed ratification that link 3 carries — and the digest of its predecessor, and link 8 validates that continuity rather than the mere presence of the required signatures. The table intro points at the rule, and the text names your scenario directly: with concurrent or repeated tasks, a signature bag of individually valid artifacts from different executions is exactly what a badly-behaved lane would submit, and it must not assemble into a chain.
There was a problem hiding this comment.
Addressed before the merge, in 16654c71 (squashed into 6612d323) — and the binding you asked for is now the rule rather than an implication.
The table header carries it: "every signature also covers the chain identity and its predecessor, per the binding rule below the table." Below the table, "A chain is hash-linked, not a bag of signatures" requires every link to sign a chain identity — the carried ratification digest plus the predecessor link's digest — and link 8 validates continuity rather than a set of individually-valid signatures.
That closes the mix-and-match attack you describe: a valid attestation from another execution cannot be presented against this chain, because its chain identity commits to a different ratification and a different predecessor.
| CLOSURE, and a merged-but-unclosed chain — link 10 missing, failed, or | ||
| unsigned — is a refusing state for whatever consumes the merge (promotion, | ||
| release, the next chain that builds on it) and fires link 9's fraud signal. A |
There was a problem hiding this comment.
Allow remediation after a failed closure test
When link 10 fails because the merged implementation has an ordinary product defect, this rule blocks the next chain that builds on the merge; however, the corrective or revert change is itself such a next chain. The repository is therefore permanently unable to repair the failed merge without bypassing the stated invariant. Define a fail-closed remediation/revert lane that can replace or close the bad merge while still blocking promotion and release.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken across 16654c7 and 679ebbc: the remediation chain is now the one exempt consumer, stated in the link-8 paragraph, in table row 10's refusal cell, and in the Summary. An unclosed chain refuses every consumer EXCEPT a chain whose declared, signed subject is that failure; the remediation chain is still a full chain — ratified and signed like any other — and promotion and release stay refused until a chain closes over the merge. Fail-closed means the failure can be repaired, not that it is trapped.
There was a problem hiding this comment.
Addressed before the merge, in 16654c71 (squashed into 6612d323). The deadlock you describe was real: a hard "nothing consumes an unclosed chain" would forbid the very work that closes it.
The resolution is a named carve-out — the remediation chain is the one exempt consumer of an unclosed chain. It is a full chain in its own right, ratified and signed like any other, so the exemption is scoped to remediating the failure rather than a general bypass. Link 10's refusal cell now reads "anything that consumes the merge refuses (remediation excepted), and link 9 fires", and the fragment's Summary carries the same carve-out so it cannot be lost in a restatement.
| | [hermes-stack-topology-per-client](#hermes-stack-topology-per-client) | ADDED neutral `request-intake-and-admission` + MODIFIED topology contract (per-client stack-vs-layer rule made explicit) | 1 | Ready to iterate — cardinality verified against the runtime spec and the live stack; RESOLVED 2026-08-08: each client gets its own stack (client = Tenant), so onboarding is a stack install; the ledgerx fixture + its bound HCS-002-S03 scenario are stale and owe an OpenSpec correction. BLOCKED on the (a) realize-intake-at-Tenant-Hermes vs (b) stand-up-an-Opsx-stack fork; cross-repo input 2026-08-09: OpsxFactory staged its governance trilogy (tenant-request-intake → hermes-approval-envelopes → tenant-operating-postures) designing the fork's intake/approval side; update 2026-08-10: trilogy exit 1 promoted and RATIFIED as OpsxFactory `add-request-intake-boundary` (intake realized at the Tenant layer — fork branch (a) side), Speckit implementation in flight | | ||
| | [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 asks which signing mechanism). 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). 7 open questions, none blocks tranche one (Q3/Q6 gate tranche 3, Q7 gates tranche 2). Q3 chain selection is **ANSWERED BY A VENDORED STUDY** (`chain-selection-study.md`, 2026-08-27, sourced + date-checked): 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. 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 is the one needing a ruling**: the ruling's "patients put PHI portions on chain" is read as COMMITMENTS, a narrowing the topic raises rather than assumes. Q7 (added from the review round) asks where an attestation signature physically happens. EXIT: tranche 1 (signed ratification + atomic enrollment + the transparency log) is composable TODAY; tranche 2 attestation needs the omnigent layer + the PKI plane; tranche 3 on-chain anchoring needs rulings on Q3 and Q6, not more analysis | |
There was a problem hiding this comment.
Carry the two enforcement horizons into the staging index
After the primary document's two-horizon correction, this authoritative index row still states that every broken chain means “there is no merge.” That is false for a missing, failed, or unsigned post-merge link 10: the primary document now says the merge has already happened and only closure and downstream consumption are refused. Readers using the index can therefore implement or communicate the obsolete all-links merge gate; distinguish pre-merge refusal from post-merge closure refusal here too.
Useful? React with 👍 / 👎.
…tity plus predecessor, and remediation is the one exempt consumer Codex P1-A: a bag of individually valid signatures from different executions must not assemble into a chain — every link from enrollment onward signs the chain identity (the carried ratification's digest) and its predecessor's digest, and link 8 validates that continuity. Codex P1-B: an unclosed chain that refused its own repair would trap the failure forever — the remediation chain, whose declared signed subject is the failed closure, is the one permitted consumer; promotion and release stay refused until a chain closes over the merge. Co-Authored-By: Claude Fable 5 <[email protected]>
The body's exemption (16654c7) was absent from the Summary's absolute "nothing downstream" phrasing — the spot this review keeps anchoring. Co-Authored-By: Claude Fable 5 <[email protected]>
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Suppressed comments (3)
Previously missed (1) — in code that hasn't changed since the last review.
ideation/staging/signed-execution-chain/signed-execution-chain.md:22
- This staged
Kind: capability-proposalfragment is missing the standard staging-metadata header lines (e.g.,Topics:,Repository context:,Staging ID:,Source:,Target capabilities:) that appear on other staged capability-proposal docs (for exampleideation/staging/mobile-dashboard-surface/mobile-dashboard-surface.md:12-16andideation/staging/notebook-access-wallet-governance/notebook-access-wallet-governance.md:14-22). Given the PR description calls this template-conformant and the topic is indexed with a staging ID inideation/staging/INDEX.md, adding those header fields here will reduce ambiguity and avoid tooling/index drift.
Status: staged
Kind: capability-proposal
Summary: A ratification signed with a presented wallet begins a CHAIN that
travels with the work — enrollment, harness setup, each runner's attestation,
the decision to open a pull request, the council's review, and the merge gate
ideation/staging/signed-execution-chain/signed-execution-chain.md:70
- In the chain table, the “Signed by” column sometimes names a credential rather than the signer (e.g., link 1 says “human authority credential”). This is easy to misread as the credential doing the signing; aligning it with the later tier-model wording (signer is a human presenting a wallet-carried authority) will make the table consistent with rows that already distinguish signer vs credential custody.
| # | Link | Signed by | Absent ⇒ |
| --- | --- | --- | --- |
| 1 | **Ratify with the wallet presented** — the ratifying human presents a wallet-carried authority; the ratification records the presentation | human authority credential | no ratification; nothing downstream can begin |
| 2 | **Ratified ⇒ enrolled, atomically, inside the signed handshake** — enrollment is not a second act that could diverge | same signature as link 1 | a ratified-but-unenrolled state, which is the divergence this link exists to make impossible |
| 3 | **The traveling contract** — the signed ratification becomes an artifact that accompanies the work rather than a row in a table it must be looked up in | — (carried) | the chain cannot be checked at the point of use |
ideation/staging/signed-execution-chain/chain-selection-study.md:42
- There are two consecutive horizontal rules (
---) before “## 0. Executive verdicts” (lines 40 and 42), separated only by a blank line. This appears redundant and can confuse markdown renderers/linters; a single rule is sufficient.
---
---
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Suppressed comments (1)
ideation/staging/signed-execution-chain/chain-selection-study.md:33
- The header notes that the study’s Layer-1 receipt sketch is superseded, but it doesn’t point readers to the exact corrected receipt format. Since §7 still contains the older “{block header, tx ref}” sketch (vendored verbatim), adding an explicit link here will reduce the risk that readers copy the superseded format when implementing/verifying receipts.
third: the Layer-1 receipt sketch (digest → Merkle path → {chain, block
header, tx ref}) is superseded — the fragment's corrected receipt format
carries the anchor transaction and its transaction-to-block or DAG inclusion
proof, captured at anchor time, and governs wherever the two differ; the
study's own Kaspa conditions already demanded exactly that retention.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 679ebbc6c3
ℹ️ 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".
| **A chain is hash-linked, not a bag of signatures.** Every link from | ||
| enrollment onward signs over two things besides its own content: the chain | ||
| identity — the digest of the signed ratification that link 3 carries — and | ||
| the digest of the link that precedes it. Link 8 validates that continuity, |
There was a problem hiding this comment.
Define a predecessor artifact for link 10
Fresh evidence after the predecessor-binding fix is that a successful chain cannot satisfy this rule: link 10 must sign the digest of link 9, but link 9 is only a refusal that fires when a link is broken and has no signer or canonical artifact in the table. On the success path there is therefore no link-9 digest for link 10 to cover. Make the fraud signal an out-of-band reaction rather than a numbered predecessor, or define an always-present signed link-9 verdict that both success and failure paths produce.
Useful? React with 👍 / 👎.
| | 7 | **Council review with the signed proposal as the brief** — the council reviews the chain-carrying artifact, not a summary of it | council seats | review is of a restatement, which is the fidelity defect this family keeps finding | | ||
| | 8 | **Chain-validating merge gate** — the gate walks links 1–7 before it permits a merge | gate (verifier) | **no merge** | | ||
| | 9 | **Broken chain = fraud signal** — a gap is refused and reported as a fraud signal, never downgraded to a warning | — | (this IS the refusal) | | ||
| | 10 | **Governed post-merge test** — consumes the proposal AND the review notes, so what was promised is what is tested | per-task identity (controller-signed) | the chain never closes: anything that consumes the merge refuses (remediation excepted), and link 9 fires | |
There was a problem hiding this comment.
Bind the closure test to the merged artifact
When a git merge creates a new commit or a domain terminal artifact is regenerated, this link signs a test that consumes only the proposal and review notes; link 8 occurs before the terminal step and therefore cannot identify its resulting artifact either. A test from another build of the same ratification can consequently close the chain without proving that the actual merged/published output passed. Include the merged commit or deployed artifact digest in link 10's signed payload.
Useful? React with 👍 / 👎.
| **chain-agnostic multi-anchor format** (digest → aggregation Merkle path → | ||
| per-chain {anchor transaction, its transaction-to-block or DAG inclusion | ||
| proof, block header} list). The transaction and its inclusion proof are part |
There was a problem hiding this comment.
Retain proof that each anchor block is canonical
For the promised post-pruning, ten-year verification path, the transaction, inclusion proof, and a single block header prove only that the transaction belongs to some mined block; they do not prove that the block was accepted into the canonical Bitcoin chain or Kaspa DAG. An orphaned or privately mined block can satisfy this receipt shape without ever anchoring the evidence. Add the chain-specific accumulated-work/finality or accepted-DAG proof, or explicitly bind verification to a trusted canonical checkpoint/header source.
Useful? React with 👍 / 👎.
| Status: staged | ||
| Kind: capability-proposal |
There was a problem hiding this comment.
Add the durable staging identifier to the topic
Because this is a newly staged topic, openspec/specs/document-lifecycle/spec.md:343-361 requires a document inside this folder to carry a Staging ID: equal to the future proposal origin. Neither new file declares openxFactory:staging:signed-execution-chain; the matching text exists only in the external index, so the topic itself lacks the durable origin linkage required when it crosses the proposal gate. Add the identifier to the primary fragment.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
| Kind: capability-proposal | ||
| Summary: A ratification signed with a presented wallet begins a CHAIN that |
There was a problem hiding this comment.
Declare the target capability and delta type
This staged primary fragment never provides a Target capability or Delta type header/section, even though openspec/specs/document-lifecycle/spec.md:159-162 makes those declarations the structural inputs that queue a staged fragment. The index describes an ADDED family, but readers and parsing tools are required to extract the live state from the primary fragment itself, so the index's claim that this file is template-conformant is currently false. Add the explicit target and delta declarations here.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
|
Provenance note: Brett Heap approved this PR and instructed the merge in-session (Claude Code, 2026-08-28, "approved #452, merge it and do the pin-sync"). His browser approval did not register on GitHub — the PR shows 15 COMMENTED reviews under his account (bot-thread replies) and zero APPROVED, the same UI failure recorded on xFactory #146. Merging with admin bypass on his recorded in-session authorization, per the #146 precedent. |
…iewer's name, and link 3's signer cell (#467) #452 merged with three review notes answered in prose but not in the text. None changes a claim; all three were carried to a follow-up in the thread replies, and this is it. **The doubled horizontal rule** at the vendoring seam. The durable original closes its meta block with a single `---` before §0; the vendored header adds its own to close the provenance preamble, so the file rendered two. The header's is removed, not the body's — the study stays byte-identical to the durable copy from §0 onward, verified at 38443 bytes on both sides before and after this change. **"from Copilot's suppressed note"** named a review tool inside a staged fragment that outlives it. The defect stands without the attribution, so it now reads "recorded during the staging review". The citation defect itself is unchanged: the §2 Bitcoin fee line labels a link `Coinbase ETH/BTC price pages` while the link resolves to the Ethereum page, recorded rather than edited, under the same annotate-don't-edit policy the preamble already sets for the vendored body. **Link 3's "Signed by" cell** read `— (carried)`, which scans as unsigned in a table where every other row names a signer. It carries link 1's signature — the whole point of the traveling contract is that the signature travels with the work — so the cell now says so. doc-health against main: identical report, zero new findings (0 critical, 11 error, 27 warning, 11 info on both sides; only the word counts move). Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]>
… grant-grc-0002 revoked on T1, grant-grc-0003 issued, row-grc-0001 repointed; task 6.8 ticked THE FILL. This act was composed PRE-STAGED on 2026-09-12 carrying ONE placeholder in five slots — the public half of a keypair Brett Heap had not yet minted. He minted it host-side, TTY-gated, and the secret COUNCIL_SEAT_SIGNING_KEY_GRC_CLIENT_SECURITY_COMPLIANCE_OFFICER was provisioned in codeXfactory/codexFactory environment `worker-credentials` at 2026-09-13T02:12:15Z (the confirming `gh secret list` read). Amendment task 6.8 is TICKED by this commit, citing that instant and the codexFactory mint record, cxF PR #452. THE MINT'S PUBLIC HALF — every value here is public; no seed, private half or passphrase appears in any file, and none ever passed through the lane: public_key (base64url) cxm-qmZVKXb_B5aucwuNzeOrXbgLPMKqa6D6DX1DUiQ key_fingerprint sha256:85a4f47606f68a65be7c40f4abb392321d8bc6604ed7c27bef7418ac18df3310 did:key did:key:z6MknCZhXWq3KkPXubK4TTcKCSxXLfC3r2GBQ24Qcrwf9fp7 public_key_multibase z6MknCZhXWq3KkPXubK4TTcKCSxXLfC3r2GBQ24Qcrwf9fp7 The did, fingerprint and multibase were DERIVED FROM THE PUBLIC HALF ALONE through the pinned decoder — `scripts/validate-factory-identity.py --derive`, at openXwallet f3eb929b (wallet-v1.5) — and never a second tool, so a transcription slip in the operator's hand-back could not enter the tree. THE FIVE SLOTS, all filled, no placeholder token left anywhere in governance/: register.yaml seat_keys[8].public_key / .key_fingerprint wal-agent-grc-0001.yaml keys[4].did / .key_fingerprint / .public_key_multibase FOOTNOTE — A FIRST SEED WAS PROVISIONED AND DELETED, UNUSED. An earlier run of the same ceremony provisioned the same secret name at 2026-09-13T00:33:05Z; its public half was lost to a swallowed non-TTY stdout, so nothing could be registered from it. No file, register entry, wallet declaration or convening ever carried or consumed it; it was DELETED before use and the ceremony re-run. Recorded because a later reader of the secret history sees two provisioning events on one name and is owed the reason for the first (walk record § 6.8). THE RE-STAMP. The mint landed the day AFTER the act was composed, so walk record § 6.3 step 2's rule fired: ONE fresh `date -u` value, 2026-09-12T16:33:01Z -> 2026-09-13T02:20:48Z, written byte-identically into all four places § 6.2 names — grant-grc-0002 `revocation.revoked_at`, grant-grc-0003 `issued_at`, wal-agent-grc-0001 keys[4] `custody.declared_at`, and the walk record header. The superseded value is kept beside each field and never silently dropped. The revocation's CAUSE is older than either instant: grant-grc-0002 has been void since T1, eff9ae191d78c396800a72cdec9fffe0caf866d7, 2026-09-12T15:59:10Z. The mint instant is a FIFTH fact and is deliberately NOT one of the four — a custody declaration records when the act declared the key, not when the operator generated it. FOUR STANDING BANNERS CORRECTED IN PLACE, NOT REWRITTEN. The pre-staged act said the fact was missing "in every place the fact is missing"; four of those places are banners rather than slots, and each would otherwise have merged asserting its own file cannot merge. Each superseded sentence is left readable beside a dated correction — register.yaml above seat_keys[8]; wal-agent-grc-0001 above the four existing keys and above keys[4]; tasks.md's 2026-09-12 pre-stage block (the 6.8 bullet STRUCK plus a dated 2026-09-13 addendum). The walk record § 6.8 carries the four-row table. The `(task 3.2)` mis-numbering inside the quoted placeholder token is corrected in prose at § 6.3: the amendment task that performed this mint is 6.8; `task 3.2` names only the PRECEDENT ceremony this one generalizes. TICKS. 6.8 ONLY. 6.9-6.15 and 6.18 tick at T2 — an act is performed when it lands, not when its bytes exist on a branch — and 6.19-6.28 are untouched: 6.19 the window check, 6.20 the 5b read (OPERATOR WORD REQUIRED, not self-serve), 6.21 the lift, 6.22-6.26 the C2 chain, 6.27/6.28 bookkeeping. GATES ON THE FILLED TREE. verify-openxwallet-pin.py OK (openXwallet@f3eb929b, wallet-v1.5, 8 digests recomputed); wallet-yaml-syntax-gate.py exit 0; validate-openxwallet.py . reads `0 error(s), 0 warning(s)`, `2 row(s)`, `9 of 9 per-seat signing key(s) adjudicated and resolved`, and `wal-agent-grc-0001: 6 declared key(s)`. The six placeholder errors of § 6.6 are gone and nothing replaced them. WHAT THIS COMMIT DOES NOT DO. It does not merge — THE MERGE IS T2 AND IT IS BRETT HEAP'S. It does not lift the hold (§ 9), does not perform step 5b (§ 8), and writes no Part C section (§ 13 is still entirely unwritten). Rule 6 applies to this pull request and the LANDING line is posted at landing, not here. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
Brett ruled the expansion on 2026-08-27: the signed-execution-chain vision goes ON CHAIN, definitively for financial and medical records, with the domain mapping corrected (HealthLinc for MedxFactory, LedgerLinc for LedgerxFactory). Per the lifecycle this enters as a staging topic, not an OpenSpec change. Docs-only.
What's here
ideation/staging/signed-execution-chain/signed-execution-chain.md— the primary fragment (template-conformant).ideation/staging/signed-execution-chain/chain-selection-study.md— the parallel chain-selection study, vendored verbatim as supporting material.ideation/staging/INDEX.md— row + detail section.The topic
Ten links from a wallet-presented ratification through atomic enrollment, the traveling contract, harness and runner attestations, the signed PR-open decision, and council review of the signed brief, to a chain-validating merge gate. A broken chain is a fraud signal, not a warning. The omnigent layer refuses to build an unverified chain — which makes the chain a precondition of execution rather than a record of it. Link 8 is the load-bearing one: links 1–7 could be recorded by a well-behaved lane and forged by a badly-behaved one.
The tier split is forced, not chosen: omnigent workers carry
access_secrets: falseas a constitutional constraint, so a runner cannot hold an authority credential. Authority stays human-held (tier 1, "who permitted this"); runners sign only ephemeral per-task attestations issued by the harness controller (tier 2, "what actually ran"). Neither may stand in for the other.The study corrected the topic rather than confirming it
Both corrections are kept visible in the text, because the wrong version is the intuitive one and a later reader will arrive holding it:
Q3 now cites the study's recommendation rather than re-arguing it: an off-chain signed transparency log as the evidence plane that is the record; Bitcoin (OpenTimestamps aggregation) as primary anchor; Kaspa as an optional low-latency secondary; consent logic in the permissioned layer with anchored state roots; explicitly not smart contracts on the anchoring chain and not Kasplex/Igra in 2026.
Kaspa L1 prunes transaction data after ~3 days. Hence the three conditions: run an archival node, retain full inclusion proofs at anchor time, and treat Kaspa anchors as corroborating, never sole evidence. The chain-agnostic multi-anchor receipt is the 10-year exit path — anchor targets can be added or dropped without touching the evidence plane.
Brett's three priors, as they came back
$0 marginal per record ($2.1k/yr even self-anchoring hourly). This refutation is what moved Bitcoin into the primary-anchor seatRecording the refuted prior is the point: the cost objection was the reason to look past Bitcoin, and it did not survive aggregation — so the architecture changed rather than the evidence being read to fit.
Q6 — raised, not assumed
The ruling includes patients putting PHI portions on chain. Read literally, the research refuses that (raw PHI, encrypted PHI, and plain hashes alike). The topic reads it as commitments — a verifiable handle anchored publicly, the portion disclosed off-chain under an anchored consent checkpoint — which preserves every patient-facing behaviour the ruling asked for and changes only where the bytes live. This narrows a ruling, so it is raised as Q6 for Brett's confirmation rather than adopted silently. It gates tranche three: without it, tranche three can only be drafted by guessing at a ruling or building what the regulators named.
Conflicts, stated
Four ACTIVE OpenSpec changes occupy adjacent ground — note these are active changes, not staged topics, which raises the bar:
add-wallet-carried-review-authority(S2 issuer anchor realized — the direct predecessor and link 1's instrument),add-trust-anchor(realized atcontract-v1.37),add-identity-brokering,implement-openxpki-install-repo. Their ratified text governs; the topic composes with it. The collision risk it must actively avoid is inventing a second identity or certificate vocabulary — three of the four already own one.Gates
openspec validate --all --strict— 75 passed, 0 failed;contracts/andopenspec/untouched (0 files changed)._primary_fragmentconfirms the topic file stays primary; the real_template_gapschecker reports no gaps, all six questions carrying their four sub-fields.🤖 Generated with Claude Code