Payload store runtime¶
Every body a node reports is written to your observability bucket before anything about it reaches the control plane. The payload store runtime does that write. It serializes the body, hashes it, writes it as one object under a key that names the run and node it belongs to, and returns a reference the control plane can hold: where the object is, its digest, its size and its content type. The same path carries a run's sealed kernel telemetry out of the kernel. This page covers the store operation, the object layout, the reference it returns, the sealed telemetry collection, and how a body is read back.
Body to object, metadata back¶
flowchart TB
subgraph IN["A BODY TO REPORT"]
direction LR
ENV["Status, event or log envelope"]
ATT["Attestation envelope"]
KTC["Sealed telemetry collection<br/>from the kernel"]
end
subgraph PS["PAYLOAD STORE RUNTIME"]
direction TB
SER["Serialize<br/>canonical JSON, or the bytes given"]
DG["SHA-256 digest"]
KEY["Object key<br/>kind, workspace, run, node, date"]
PUT["put_stream<br/>under the node's cloud identity"]
REF[("payload_ref<br/>digest, size, content type")]
SER --> DG --> KEY --> PUT --> REF
end
BKT[("Your observability bucket")]
REC["Metadata record<br/>to the mux or the audit spool"]
IN --> SER
PUT ==>|"body"| BKT
REF --> REC
The body leaves the node only on the thick edge, into your bucket. The record that continues toward the control plane is checked against the metadata-only rule before it is queued: a record still carrying a body, a message or details inline is refused on the node. See The metadata-only ingest rule.
The observability bucket¶
The node writes to the observability bucket its bootstrap assigned, an object store reference in one of four schemes:
| Scheme | Provider |
|---|---|
s3:// |
s3 |
gcs:// |
gcs |
azblob:// |
azure_blob |
minio:// |
minio |
The reference must name a bucket or container. The node writes with its own
runtime workload identity, so the bucket's provider must be the identity's
provider; a bucket in another cloud is refused with
OBSERVABILITY_PAYLOAD_STORE_INVALID. See
Infra identity runtime and
Payload storage.
Storing a body¶
A call names the record kind, the body, and the correlation fields. The store:
- Serializes the body: bytes and text as given, a JSON body as canonical JSON with sorted keys.
- Takes its SHA-256.
- Builds the object key.
- Writes the object with the bucket runtime's
put_streamoperation, in 1 MiB parts, in one attempt. See Bucket fetch, publish, and transfer. - Returns the reference and metadata.
A failed write fails the report with OBSERVABILITY_PAYLOAD_STORE_UPLOAD_FAILED.
A report whose body could not be stored is never sent without it: the metadata
record exists only once the object does.
The object key¶
<name> is the caller's hint, such as attestation-<assignment_id>, or the
first 16 hex characters of the digest. Every segment is reduced to letters,
digits, ., _ and -. The record kinds a node writes:
| Record kind | Body |
|---|---|
assignment_status_envelope |
An ack, progress or complete report |
assignment_event_envelope |
An assignment event |
assignment_log_envelope |
An assignment log line |
dependency_resolution |
A dependency attestation |
| Kernel evidence kinds | Lifecycle evidence, policy decisions, score reports and sealed telemetry collections |
The reference¶
The store returns observability.payload_store_runtime.v1, and every record
that names a body carries the same four fields:
payload_ref where the object is
payload_digest sha256:<hex> of the body
payload_size_bytes the body's size
payload_content_type application/json, or the body's own type
payload_ref:
| Field | Holds |
|---|---|
path |
The full object path |
bucket_uri, object_key |
The bucket and the key within it |
provider, scheme, bucket, container, prefix |
The bucket's parts |
digest, size_bytes, content_type |
The body's digest, size and type |
record_kind |
The kind the body was stored as |
workspace_uuid, run_id, node_id, trace_id |
The correlation fields |
A reference without a path, a digest or a size is invalid and never leaves the node. Anyone holding the reference can check a body read back from the bucket against the digest.
Sealed telemetry collections¶
The kernel records every run in its own telemetry journal: append-only, hash-chained, one record per line. When the kernel seals a run's journal it becomes a collection the node carries out of the kernel:
flowchart TB
subgraph K["PROJECT KERNEL"]
direction TB
JR[("Telemetry journal<br/>hash-chained JSONL")]
SC[("Sealed collection<br/>kernel.telemetry.export_collection.v1")]
JR --> SC
end
subgraph N["NODE"]
direction TB
FX["Fetch through the kernel's<br/>telemetry export operations"]
PS{{"Payload store<br/>application/jsonl"}}
PJ["Kernel evidence projection<br/>metadata-only record"]
FX --> PS --> PJ
end
BKT[("Your observability bucket")]
CP["Control plane"]
SC --> FX
PS ==>|"journal body"| BKT
PJ --> CP
The collection record carries:
run_id, session_id, trace_id
journal_hash the hash at the head of the journal's chain
first_seq, last_seq, event_count
schema_versions
started_at_ns, sealed_at_ns
payload_ref, payload_digest, payload_size_bytes
payload_content_type application/jsonl
The node reaches collections through the kernel's telemetry export operations,
which list and fetch sealed collections and carry no run.* execution
authority. The journal's body goes to your bucket; the control plane holds the
collection record, and from journal_hash and the sequence range it can tell
whether a journal read back later is the one the kernel sealed. See
Kernel evidence projection
and
The observable-transition model.
Reading a body back¶
The control plane holds references, and a reader who needs a body asks for it.
The control plane sends a payload-access assignment,
observability.payload.download.v1, naming the record. The node that serves it
reports progress in phase releasing_payload_access, mints a read-only
download credential for that one object under the ASPTC bucket profile, valid
for 300 seconds, and returns it through the control plane encrypted to the
requesting session's public key. The node reports observability_payload_access.released,
or observability_payload_access.failed with
OBSERVABILITY_PAYLOAD_ACCESS_RELEASE_FAILED. See
Payload access and transport profiles
and ASPTC.