The metadata-only ingest rule¶
No observability record crosses from a node to the control plane carrying its body. The rule is a validator with a named refusal rather than a convention, so a producer that tries is stopped at the boundary.
Four metadata fields replace the body¶
payload_ref where the body is, in your storage
payload_digest its content digest
payload_size_bytes how large it is
payload_content_type what kind of body it is
Together these identify a body exactly without containing any of it. The digest
is normalised to sha256: with a 64-character hexadecimal body, and a value
that does not satisfy that shape normalises to empty rather than being stored
as given.
Inline fields are forbidden per record kind¶
Each kind of record has the field that would carry its body, and that field is refused:
| Record kind | Forbidden inline |
|---|---|
| Event | payload |
| Log | message, details |
| Audit | before, after |
A record carrying one is refused by name:
The refusal names the field and the context, so a producer sending a body gets told exactly which field to move rather than a generic validation failure.
Validation happens at the boundary, not after¶
flowchart LR
subgraph YI["YOUR INFRASTRUCTURE"]
direction TB
N["xratud"]
B[("Bucket<br/>payload, message, details,<br/>before, after")]
N ==> B
end
subgraph CP["CONTROL PLANE"]
direction TB
V{{"Boundary validator<br/>inline fields refused,<br/>metadata required"}}
R[("Metadata and reference")]
V --> R
end
N -->|"record"| V
The fields the validator refuses are the ones in the bucket box. The validator is the only entrance to the record store, so a stored record always has both halves: no body, and a reference to one.
The validator both refuses inline fields and requires the metadata, in one pass. A record cannot pass by omitting the body without providing the reference either, so what the control plane holds always points at something.
Why the audit fields are on the list¶
before and after on an audit record are the most tempting fields to inline,
because they are usually small. They are also the most likely to contain the
thing that must not cross: the actual value that changed.
Treating them the same as a log message is what keeps the rule from having an exception that swallows it.
The shared writers fail closed¶
The observability persistence writers are reference-only. A write arriving with a body and no reference is not stored as a body, because the path that would accept it does not exist.
The rule therefore holds by construction rather than by review. See The tenant byte rule.
Reading a body back is a separate, governed act¶
Because the control plane holds no bodies, reading one is a request for access to your storage, with its own marker contract and an actor-scoped, expiring, session-encrypted credential minted on a node. See Payload access and transport profiles.