gunk-dev/the-valley

dcr-0de694f-phase2-attestation-shape.md

sourcef5c9a830d01emain's published tip history
4.8 KiB · Rendered
1---
2type: decision
3id: dcr-0de694f
4status: decided
5title: "Attestations contain a signed statement about a checked tree"
6created: 2026-08-02
7source: design conversation, 2026-08-02
8---
9
10# Attestations contain a signed statement about a checked tree
11
12An attestation records what check ran, the tree it checked, and the result. The machine that ran the
13check signs the statement. This decision defines the statement, signature envelope, storage, and
14support for multiple signers used in [Phase 2](../../design/roadmap.md#phase-2--local-attestations).
15
16## Statement
17
18The statement is a typed, versioned document. It contains the information needed to interpret the
19claim without consulting the machine that produced it.
20
21Its subject is identified by a set of named digests. The primary digest identifies the contents of
22the checked tree. An optional commit hash helps locate that tree in Git; it does not determine the
23statement's identity. Because applying a change to a different base may produce a different tree,
24evidence is specific to the checked result.
25[[ida-cbcbb3c]](../ideas/ida-cbcbb3c-attestations-bind-to-a-base.md) explains this relationship.
26
27The predicate type identifies the kind and version of the claim. It includes whether the check was
28pure or effectful, as defined in [verification.md](../../design/verification.md). That distinction
29is covered by the signature.
30
31Every statement records the check and its result. A pure-check statement also records digests for
32the inputs, derivation, and output so another machine can reproduce the computation.
33
34Run provenance is statement content: the harness, model, prompt and context digests, and recorded
35delegation chain. A complete harness record supplies this information; see
36[[ida-b42d112]](../ideas/ida-b42d112-harness-log-is-normalized.md).
37
38## Signer
39
40The execution host signs the claim that a computation ran in a particular environment and produced a
41particular result.
42
43An agent run holds no signing key of its own. Its contribution is attributed through provenance in
44the host-signed statement, as described in
45[[ida-a8243d2]](../ideas/ida-a8243d2-agent-runs-act-under-delegated-authority.md) and
46[[ida-45178f6]](../ideas/ida-45178f6-agent-identity-is-provenance.md).
47
48A human approval is a separate signed act. The host's signature does not establish human approval;
49see [[ida-b7025b5]](../ideas/ida-b7025b5-human-decisions-are-signed-acts.md).
50
51## Envelope and storage
52
53A signed note contains the serialized statement, a blank line, and one or more signature lines. Each
54line names a signer and carries a raw Ed25519 signature over the statement text.
55
56Multiple parties can sign the same text. Their signatures appear as siblings, in any order, and each
57verifies independently. A signature cannot authenticate additional text contributed by another
58signer.
59
60Git stores the note under a ref keyed by the subject digest. The signature covers the statement
61text, so moving the note to another store does not invalidate it.
62[[dcr-de9d996]](dcr-de9d996-statement-text-and-signed-note.md) specifies the serialization and
63envelope in detail.
64
65## Reuse and evolution
66
67A statement remains valid when a commit is re-parented without changing its tree. When the tree
68changes, the transfer rules in
69[[dcr-439b771]](dcr-439b771-integration-occ-over-content-addressed-evidence.md) determine which
70check results remain usable. A tree digest alone does not make evidence valid after every rebase.
71
72Versioned predicate types allow new statement formats without changing the meaning of existing
73signatures. Digest-based references allow storage to change independently of authentication. These
74properties follow the separation of statement, envelope, and transparency described in
75[[ida-d2dc957]](../ideas/ida-d2dc957-attestations-ride-on-a-transparent-leaf.md) and
76[[ida-51605e8]](../ideas/ida-51605e8-authenticity-not-git-coupled.md).
77
78## Deferred work
79
80[Phase 6](../../design/roadmap.md#phase-6--trust-backstop) covers transparency-log inclusion proofs
81and independent re-verification of pure claims.
82
83Agent-held keys require a scenario that needs them. The outbound actuator remains under exploration
84in [[ida-f1b39e8]](../ideas/ida-f1b39e8-outbound-effects-pass-through-an-actuator.md) and is
85associated with [Phase 5](../../design/roadmap.md#phase-5--effectful-reactions).
86
87Phase 2 records delegation chains. Checking whether those chains authorize an action belongs at the
88enforcement point, including the
89[Phase 3 integrator](../../design/roadmap.md#phase-3--the-integrator).
90
91The envelope for human approval remains open. This decision's envelope carries raw Ed25519
92signatures. It does not define how to represent the hardware-backed, physical-presence approval
93required by [[ida-b7025b5]](../ideas/ida-b7025b5-human-decisions-are-signed-acts.md).
94
95The contribution workflow is described in [contribute.md](../../design/contribute.md).