| 1 | --- |
| 2 | type: decision |
| 3 | id: dcr-0de694f |
| 4 | status: decided |
| 5 | title: A Phase 2 attestation is a host-signed statement over a tree digest |
| 6 | created: 2026-08-02 |
| 7 | source: design conversation, 2026-08-02 |
| 8 | --- |
| 9 | |
| 10 | # The shape of a Phase 2 attestation |
| 11 | |
| 12 | A Phase 2 attestation has five elements: a statement, a signer, an envelope, a place it is stored, |
| 13 | and how several of them compose. This node fixes all five, which is the whole of what |
| 14 | [roadmap.md, Phase 2](../../design/roadmap.md#phase-2--attestations-verification-mvp) needs in order |
| 15 | to be built. The layering it uses — statement, envelope, transparency — is the one set out in |
| 16 | [[ida-d2dc957]] |
| 17 | ([ida-d2dc957-attestations-ride-on-a-transparent-leaf.md](../ideas/ida-d2dc957-attestations-ride-on-a-transparent-leaf.md)). |
| 18 | |
| 19 | ## 1. The statement |
| 20 | |
| 21 | The **statement** is the document that makes the claim: a typed, versioned record asserting what |
| 22 | ran, over what, with what result. It is the thing that is signed, and it is self-contained — |
| 23 | everything a verifier needs to understand the claim is inside it. |
| 24 | |
| 25 | Its **subject** is what the statement is about. The subject is identified by a **digest set**: a set |
| 26 | of named digests, any of which may identify the same object under a different naming scheme. A |
| 27 | content-addressed digest of the resulting tree is the primary member. A commit hash may accompany it |
| 28 | as an advisory member, useful for finding the change and never relied on for identity. The resulting |
| 29 | tree is a function of the base the change was produced against, so an attestation is bound to that |
| 30 | base — [[ida-cbcbb3c]] |
| 31 | ([ida-cbcbb3c-attestations-bind-to-a-base.md](../ideas/ida-cbcbb3c-attestations-bind-to-a-base.md)). |
| 32 | |
| 33 | Its **predicate type** is the versioned name of the kind of claim being made. The version is part of |
| 34 | the name, so a statement says which revision of a claim shape it was written against. The predicate |
| 35 | type carries the pure-versus-effectful distinction of |
| 36 | [verification.md](../../design/verification.md), which places that distinction inside the signed |
| 37 | bytes. |
| 38 | |
| 39 | The statement records the check that ran and its result. For a pure check it additionally records |
| 40 | the digests of the check's inputs, of its derivation, and of its output, which is what a verifier |
| 41 | re-derives against. |
| 42 | |
| 43 | The statement also carries, as content, the provenance of the run that produced the change: the |
| 44 | harness, the model, digests of the prompt and of the context, and the delegation chain as recorded. |
| 45 | |
| 46 | ## 2. The signer is the host |
| 47 | |
| 48 | The host signs. The host is the party competent to assert that a computation ran, in a given |
| 49 | environment, with a given result. |
| 50 | |
| 51 | An agent run holds no key of its own, per [[ida-a8243d2]] |
| 52 | ([ida-a8243d2-agent-runs-act-under-delegated-authority.md](../ideas/ida-a8243d2-agent-runs-act-under-delegated-authority.md)). |
| 53 | An agent-authored change is attributed inside the host-signed statement, as part of the provenance |
| 54 | that statement carries — [[ida-45178f6]] |
| 55 | ([ida-45178f6-agent-identity-is-provenance.md](../ideas/ida-45178f6-agent-identity-is-provenance.md)). |
| 56 | |
| 57 | A human approval is a separate signed act carrying its own signature, per [[ida-b7025b5]] |
| 58 | ([ida-b7025b5-human-decisions-are-signed-acts.md](../ideas/ida-b7025b5-human-decisions-are-signed-acts.md)), |
| 59 | and is never the same signature as the host's. |
| 60 | |
| 61 | ## 3. The envelope |
| 62 | |
| 63 | The **envelope** is how the statement is signed: the **signed note format**, in which a document is |
| 64 | the statement text, then a blank line, then one or more signature lines. Each signature line names |
| 65 | its signer and carries a raw Ed25519 signature over the text above it. The text is the statement in |
| 66 | its serialized form, and that serialization is fixed on its own. No git object is signed — |
| 67 | [[ida-51605e8]] |
| 68 | ([ida-51605e8-authenticity-not-git-coupled.md](../ideas/ida-51605e8-authenticity-not-git-coupled.md)). |
| 69 | |
| 70 | ## 4. Storage |
| 71 | |
| 72 | A git ref, keyed by the subject digest. |
| 73 | |
| 74 | ## 5. Composition |
| 75 | |
| 76 | Several parties attesting to the same statement sign it as siblings: their signature lines sit side |
| 77 | by side under one text, in any number and any order, and each verifies on its own. A signature is |
| 78 | bound to the statement it was made over, because the text it covers is the text it sits under. |
| 79 | |
| 80 | ## Properties this shape holds |
| 81 | |
| 82 | - An attestation survives the integrator's rebase, because its subject is a tree digest. |
| 83 | - A verifier can tell a re-derivable claim from a notarized one from the signed bytes alone. |
| 84 | - The format can evolve without invalidating what already exists, because the predicate type carries |
| 85 | a version. |
| 86 | - A signature cannot be lifted onto claims it was not made about, because it covers the statement |
| 87 | text it sits under. |
| 88 | - Where attestations are stored can change without invalidating them, because everything is |
| 89 | referenced by digest. |
| 90 | - Provenance is derived from a complete record of the run, per [[ida-b42d112]] |
| 91 | ([ida-b42d112-harness-log-is-normalized.md](../ideas/ida-b42d112-harness-log-is-normalized.md)). |
| 92 | |
| 93 | ## What Phase 2 defers |
| 94 | |
| 95 | - **The transparency log and inclusion proofs**, and **witness re-verification** of pure claims. |
| 96 | Both land in [roadmap.md, Phase 6](../../design/roadmap.md#phase-6--trust-backstop). |
| 97 | - **Keys held by agent runs.** Identity stays thin until a scenario forces it to grow, per |
| 98 | [[ida-a8243d2]]. |
| 99 | - **The actuator.** It is under exploration in [[ida-f1b39e8]] |
| 100 | ([ida-f1b39e8-outbound-effects-pass-through-an-actuator.md](../ideas/ida-f1b39e8-outbound-effects-pass-through-an-actuator.md)) |
| 101 | and lands no earlier than |
| 102 | [roadmap.md, Phase 5](../../design/roadmap.md#phase-5--effectful-reactions-armstrong-as-controller). |
| 103 | - **Verification of delegation chains**, as opposed to recording them. Phase 2 records a chain as |
| 104 | content in the statement. Checking a chain belongs to the enforcement point, which is the |
| 105 | integrator of [roadmap.md, Phase 3](../../design/roadmap.md#phase-3--the-integrator). |
| 106 | |
| 107 | ## Open |
| 108 | |
| 109 | **The envelope a human approval travels in.** This decision fixes the envelope for host-signed |
| 110 | statements, and for those only. A signature line in the signed note format carries a raw Ed25519 |
| 111 | signature, so the format cannot carry a signature from a hardware key that requires physical |
| 112 | presence — which is what [[ida-b7025b5]] |
| 113 | ([ida-b7025b5-human-decisions-are-signed-acts.md](../ideas/ida-b7025b5-human-decisions-are-signed-acts.md)) |
| 114 | asks of a human approval. The approval's envelope is therefore not this one, and this decision does |
| 115 | not fix it. |
| 116 | |
| 117 | ## Related |
| 118 | |
| 119 | - The three-layer decomposition and the sibling-signature rule: [[ida-d2dc957]] |
| 120 | ([ida-d2dc957-attestations-ride-on-a-transparent-leaf.md](../ideas/ida-d2dc957-attestations-ride-on-a-transparent-leaf.md)) |
| 121 | - What the subject may not be coupled to: [[ida-51605e8]] |
| 122 | ([ida-51605e8-authenticity-not-git-coupled.md](../ideas/ida-51605e8-authenticity-not-git-coupled.md)) |
| 123 | - The authority an agent run acts under: [[ida-a8243d2]] |
| 124 | ([ida-a8243d2-agent-runs-act-under-delegated-authority.md](../ideas/ida-a8243d2-agent-runs-act-under-delegated-authority.md)) |
| 125 | - The provenance the statement carries: [[ida-45178f6]] |
| 126 | ([ida-45178f6-agent-identity-is-provenance.md](../ideas/ida-45178f6-agent-identity-is-provenance.md)) |
| 127 | and [[ida-b42d112]] |
| 128 | ([ida-b42d112-harness-log-is-normalized.md](../ideas/ida-b42d112-harness-log-is-normalized.md)) |
| 129 | - The separate act a human approval is: [[ida-b7025b5]] |
| 130 | ([ida-b7025b5-human-decisions-are-signed-acts.md](../ideas/ida-b7025b5-human-decisions-are-signed-acts.md)) |
| 131 | - The base an attestation is bound to: [[ida-cbcbb3c]] |
| 132 | ([ida-cbcbb3c-attestations-bind-to-a-base.md](../ideas/ida-cbcbb3c-attestations-bind-to-a-base.md)) |
| 133 | - The two kinds of check the predicate type distinguishes: |
| 134 | [verification.md](../../design/verification.md) |
| 135 | - The protocol the helper implements: [contribute.md](../../design/contribute.md) |