Three layers of evidence¶
Each plane records what only it can see. The control plane sees every change to its own state, every governance decision and every project runtime it authorised. The node sees the artifacts it fetched and verified and the supervisory records it relayed. The kernel sees the application run itself: every step, every value that crossed a boundary, every decision a policy hook made. None of the three can reconstruct another's record, and none needs to, because all three carry the same identifiers. This page covers what each layer records, where the record is kept, and how the three join.
The three layers¶
flowchart TB
subgraph L1["CONTROL PLANE, what was decided and changed"]
direction LR
A1[("Audit records<br/>audit_record")]
A2[("History events<br/>lifecycle")]
A3[("Governance events<br/>governance.attribution.v1")]
A4[("Application-run index<br/>admitted kernel returns")]
end
subgraph L2["NODE, what was verified and reported"]
direction LR
B1[("Dependency attestation<br/>dependency_resolution")]
B2[("Kernel return envelopes<br/>status, event, log, evidence, fault")]
B3[("Audit and attestation spool")]
end
subgraph L3["KERNEL, what the run did"]
direction LR
C1{{"Run fingerprint"}}
C2[("PolicyDecision records")]
C3[("Telemetry journal<br/>source for the evidence graph")]
C4[("Lifecycle evidence,<br/>score reports")]
end
L1 -->|"assignment carries deployment/runtime<br/>authority plus trace_id correlation"| L2
L2 -->|"handoff carries the sealed runtime<br/>closure and return context"| L3
L3 -->|"sequenced return envelopes<br/>preserve trace_id"| L2
L2 -->|"durable return reports"| L1
The control plane keeps the admitted return metadata and continuity facts in its store. Large node and kernel payloads are held in the tenant's observability bucket; the control plane keeps only their digests and references, and delegated access is issued for the exact object requested. See The tenant byte rule.
The control plane: what was decided and changed¶
| Record | Written when | Holds |
|---|---|---|
| Audit record | Any mutation of control-plane state | Actor, action, resource, workspace, project, run, the state before and after |
| History event | A resource moves through its lifecycle | Category, kind, outcome, actor, the resource, the run and version |
| Governance event | A deciding service makes a decision about a run | Run, node, actor, scope kind and name, decision, reason |
| Application-run index | The first return for a kernel-owned run is admitted | CP-owned project and version authority, run identity, participating nodes, terminal state and fault state |
| Application-run event | A return envelope is admitted | The kernel sequence, category, kind, timestamp, projection and envelope digest |
Every mutation is audited. Services that change state write a typed record,
such as project.release_route.set, model_binding.bind, policy.attach,
secret_grant.create or run.replay, naming exactly what changed. The trace
and audit middleware backs every mutating request with a record of its own when
the service wrote none: api.post, api.put, api.patch or api.delete,
with the path, the parameters, the status code and the duration. A request that
fails is recorded with status 500 and the error. No request that changes state,
or tries to, goes unrecorded. See
The API server.
Audit and history answer different questions: an audit record says who changed what, and a history event says what a resource went through. Governance events say what was decided about a run and at which scope. See Replay and history and Governance events.
The node: what was verified and reported¶
| Record | Written when | Holds |
|---|---|---|
| Dependency attestation | Every artifact of a run passed the integrity gate, before the kernel is reached | Each artifact's reference and digest, the policy digest, whether trust was required |
| Kernel return reports | The node durably drains a project kernel | The kernel-authored envelope and the node's independently validated persistence projection |
| Audit and attestation spool | Each envelope and attestation | A hash-chained metadata record of each |
The node records what it did before and around the run: that the code it handed the kernel is the code the control plane named. Once the project runtime is running, the node does not execute its application calls. It supervises the runtime and durably drains the kernel return lane without becoming the author of application-run state. See Assignment attestation append and Audit attestation.
The kernel: what the run did¶
| Record | Written when | Holds |
|---|---|---|
| Run fingerprint | Once, before first execution | The exact admitted executable composition and governing policy, bound beside the separate run_id |
PolicyDecision |
When ACE command formation or settlement produces a public decision projection | The hook, rule, bundle and attachment level, input hash, effect, reason, references, any exemption, and the underlying receipt reference |
| Telemetry journal | Every required step, object, effect, validation and control packet | The append-only and hash-chained source records and ranges from which the evidence graph is derived, sealed at the end |
| Lifecycle evidence and score reports | As the run starts, suspends, resumes and ends; as scores are computed | State transitions and scores, each referencing the fingerprint |
| Context construction record | Every model call an agent makes | What was supplied to the model and what was left out, each fragment by source and hash |
The kernel is the only place that sees every interaction of a run, so it is the only place those facts are recorded; the node carries them out and never authors them. See The execution evidence graph and Native telemetry.
How the layers join¶
The control plane supplies the assignment correlation values such as
workspace_uuid, assignment_id, node_id and trace_id. Kernel
run_authority allocates run_id when it creates the Run, and the return path
joins it to those assignment values. The node propagates the joined values and
never invents a replacement, so a query that starts in the control plane's
audit records continues into the node's attestation and the kernel's journal.
See
The correlation tuple.
Kernel records also carry the run fingerprint. Two runs of the same fingerprint
ran the same code under the same law, whatever their run_ids. See
The run fingerprint.
A runtime journal is not an audit record¶
An agent's runtime journal and checkpoints exist to reconstruct and continue a run; audit and evidence exist to prove it afterwards. The kernel sends selected journal records into the evidence path, and recovery never reads the audit store to rebuild a run. Compaction of an agent's working memory changes what the agent carries forward, and never the event journal, the evidence or the audit records. See Auditing agents and workflows.