The tenant byte rule¶
The control plane governs workloads from metadata alone. This page is where that rule is held in the architecture: the contracts that carry a reference in place of a body, and the checks that fail closed when a body appears where a reference belongs.
For the operator view of the boundary and what crosses in each direction, see The tenant byte boundary.
The boundary¶
flowchart TB
subgraph CPH["THE CONTROL PLANE HOLDS"]
direction LR
H["Digests"]
R["References"]
M["Manifests and lineage"]
PS["Policy snapshots"]
end
subgraph YH["YOUR INFRASTRUCTURE HOLDS"]
direction LR
AB[("Artifact bytes")]
PB[("Payload bodies")]
CR[("Provider credentials")]
end
H -.->|"names, never contains"| AB
R -.->|"points at, never reads"| PB
Nothing crosses the gap downward. The dotted edges are the only relationship between the halves: a value in the upper half identifies something in the lower half, and identifying is all it does.
The rule is carried by the contract shape¶
A cross-plane document that could carry a body carries a locator and a digest instead. Three contracts hold the boundary, and each is verified by the plane that consumes it.
Artifact fetch. The assignment's resolver snapshot lists distribution artifacts as a package, a version, a registry reference and a digest. The node resolves the reference, fetches the bytes from your registry and verifies them against the digest before use. The control plane authored a name for bytes it never read.
package pkg.sample
version sha256-sample
artifact_ref registry://packages/pkg.sample/sha256-sample
artifact_digest <sha256>
Telemetry payloads. A body is written to your bucket by the node, under the
node's own infrastructure identity. What reaches the control plane is a payload
reference: the bucket URI, the provider, the size, the content digest, and the
correlation fields that attribute it. The digest is normalised to sha256:
with a 64-character hex body, and a value that does not satisfy that shape
normalises to empty rather than being stored as given.
Writing a body needs no credential from anywhere else, because the node is already inside the infrastructure that holds the bucket. Reading one back is where a credential has to be issued, and that path is actor-scoped.
Produced images and artifacts. The control plane authors a build assignment; the node builds and pushes locally; the node reports the digest; the control plane pins the reference. The pin comes from the accepted build report, so the recorded identity of an image is a value produced on your side of the boundary.
Actor-scoped transfer credentials¶
When a client has to touch your bytes directly, it needs a provider credential, and that credential reaches the client without passing through the control plane. The Actor-Scoped Provider Transfer Credential, ASPTC, is how one is issued.
The control plane authorises the actor against the organization, the workspace and the action, and authors the task. The node mints the credential from its own infrastructure identity, binding it to the actor context it was authorised under:
Three properties bound what the credential can do.
It expires in 300 seconds. The exchange is minted with a fixed time to live, so a leaked credential has a short and bounded life.
It is bound to the request. The credential and its sanitized contract are checked against the request that asked for them, so neither is usable for a different object or a different operation.
Only the requesting session can read it. The live credential is encrypted to the public key of the session that made the request. What the control plane brokers is ciphertext plus a sanitized contract, so the plane that authorised the transfer cannot perform it.
The credential path¶
flowchart LR
subgraph CL["CLIENT"]
direction TB
SK[("Session private key")]
end
subgraph CP["CONTROL PLANE"]
direction TB
AZ["Authorises actor, org,<br/>workspace, action"]
SC[("Sanitized contract<br/>and ciphertext")]
end
subgraph YI["YOUR INFRASTRUCTURE"]
direction TB
N["xratud<br/>infra identity"]
ST[("Bucket or registry")]
end
CL -->|"1 request"| AZ
AZ -->|"2 task"| N
N -->|"3 ciphertext, sanitized contract"| SC
SC -->|"4 ciphertext"| CL
CL ==>|"5 direct transfer"| ST
The only key that opens the credential is in the client box, and the only identity that can mint one is in your infrastructure. The control plane sits between them holding authorisation and ciphertext, and the bytes move on the thick edge, from the client straight to your storage.
Two profiles are live, and each fixes the shape of what the credential permits.
The registry profile covers package publish upload; the bucket profile covers
observability payload download, and allows one resource kind, bucket_object,
with GET as the only method.
The sanitized contract records who was authorised and what was transferred, without provider credential material:
provider, credential_source, credential_issuer, credential_kind
delegation_mode, cloud_subject, provider_subject
provider_scope_kind, provider_scope_ref, provider_audit_claims
actor_id, session_key_id, issued_at, expires_at
content_sha256, size_bytes, content_type
The registry profile's contract adds credential_fingerprint and the registry
blob reference. A fingerprint identifies a credential for audit; it does not
reconstitute one.
What this page covers is the part of ASPTC that holds the byte boundary. The credential's own lifecycle, and the scoped infrastructure identity the node mints it from, are ASPTC and Infra identity in Trust & Resilience.
Reading a body is a separate, marked act¶
Bodies live in your bucket, so a control-plane reader who wants one is
requesting access to your storage rather than reading a column. That request is
its own contract, control_plane.observability.payload_access.marker.v1, with
download as its action and a locator whose allowed fields are fixed per record
kind:
| Record kind | Locator fields |
|---|---|
service_log |
log_id |
history_event |
event_id |
run_event |
run_id, seq |
audit_record |
record_id |
A marker for a target outside that set is refused with
unsupported observability payload-access marker target.
An admitted marker becomes a payload-access task the node performs, and the
node answers it with a bucket-profile ASPTC: one object, read-only, expiring in
300 seconds, encrypted to the session that asked. The sanitized copy the control
plane keeps carries the object's identity, its digest and its size, and it
carries an empty download_url and no required headers. The record of the
access is complete on the control plane, and the means of access is not.
Shared writers are reference-only¶
The observability persistence writers are reference-only and fail closed without payload metadata. A write that arrives with a body and no reference is not stored as a body: the path that would accept it does not exist, so the rule holds by construction rather than by review.
What this gives a reader¶
Two properties follow, and both are checkable rather than promised.
A digest recorded by the control plane identifies bytes it has never read, so the lineage it holds is complete while the bytes stay in your infrastructure. And every artifact operation in the system has the same shape, whichever plane initiated it: the control plane authors intent, the node performs the operation that touches bytes, and the control plane pins what the node reported.
Any artifact operation¶
flowchart LR
subgraph CP["CONTROL PLANE"]
direction TB
INT[("Authored intent<br/>assignment")]
PIN[("Pinned reference<br/>and digest")]
end
subgraph YI["YOUR INFRASTRUCTURE"]
direction TB
N["xratud"]
ST[("Registry or bucket<br/>the bytes")]
N ==>|"2 fetch, build, push"| ST
end
INT -->|"1 pulled by the node"| N
N -->|"3 reported digest"| PIN
The thick edge is the only one that carries bytes, and both of its ends are in your infrastructure. The control plane's two records sit on either side of it: what was asked for, and the digest of what was produced.