The correlation tuple¶
Five fields travel with every record a run produces, across all three planes. They are what makes a question asked at one plane answerable from evidence emitted at another.
workspace_uuid which tenancy scope
run_id which run
node_id which node carried it
assignment_id which dispatched unit of work
trace_id which end-to-end trace
Carrying them is mandatory, not a convention a producer opts into.
What each field locates¶
| Field | Locates | Assigned by |
|---|---|---|
workspace_uuid |
The tenancy scope the work belongs to | The control plane, at dispatch |
run_id |
One run of a workflow | The control plane |
node_id |
The node that executed it | Fixed by the installation that produced the node label |
assignment_id |
The dispatched unit the node acted on | The control plane, per assignment |
trace_id |
The trace spanning planes | Created once, then propagated unchanged |
Where the tuple is stamped¶
flowchart TB
CP["Control plane<br/>creates trace_id and the immutable correlation context"]
DP["Data plane<br/>stamps lifecycle events with the same tuple"]
K["Kernel<br/>emits runtime events, metrics and evidence carrying it"]
CP --> DP --> K
K -- "evidence" --> DP -- "metadata" --> CP
The trace context is created once and propagated rather than regenerated at each boundary, so the identifier on a kernel evidence record is the identifier the control plane issued.
What it is used for¶
Joining across planes. A status the control plane holds, a log the node reported, and an evidence record the kernel emitted are joinable because all three carry the same tuple.
Continuity across the byte boundary. Observability bodies live in your
bucket and their metadata reaches the control plane. The payload reference
carries workspace_uuid, run_id, node_id and trace_id, so a body in
object storage is attributable without the control plane reading it.
Locating a body by prefix. The object layout is built from the same fields, so a workspace, a run, a node and a day are each a prefix query:
A missing identifier becomes an explicit placeholder rather than an empty path segment.
The tuple and the run fingerprint¶
The two identify different things and are used together.
| Correlation tuple | Run fingerprint | |
|---|---|---|
| Identifies | Where a record belongs | What a run was composed of |
| Fields | workspace_uuid, run_id, node_id, assignment_id, trace_id |
Project execution composition, compiled effective policy, contributing policy-bundle identities and signed exemptions |
| Answers | Which run, on which node, in which scope | Which code and which rules |
See The three guarantees for the fingerprint, and Payload storage for the metadata that crosses with it.