Skip to content

Trust and identity admission

Before a run is dispatched the control plane resolves two contexts for it: the workload identity it will run under, and the trust chain its runtime image must satisfy. Each resolves to a validity and a reason, and an invalid one blocks the run rather than being carried into the assignment.

Two contexts, resolved per run

flowchart LR
  subgraph SRC["RECORDED"]
    direction TB
    PR[("Project release<br/>and runtime spec")]
  end
  subgraph RES["RESOLVED PER RUN"]
    direction TB
    IC{{"Identity context<br/>workload identity, mode"}}
    TC{{"Trust context<br/>image digest, attestation,<br/>compliance"}}
  end
  subgraph AS["ASSIGNMENT"]
    direction TB
    TCH["Trust chain section"]
  end
  BL["Blocked, with a reason"]
  PR --> IC
  PR --> TC
  IC -->|"valid"| TCH
  TC -->|"valid"| TCH
  IC -.->|"invalid"| BL
  TC -.->|"invalid"| BL

Both contexts are read from the release rather than the request, so two runs of the same release resolve the same way. Only a valid pair reaches the assignment; an invalid one stops the run at the dotted edge with its reason.

Both are derived from the project and its runtime spec rather than from the request, so two runs of the same release resolve the same contexts.

Identity context reasons

Identity resolution walks from the run to its project, to the runtime spec, to the identity profile, and stops at the first thing missing or inconsistent:

Reason Means
project_not_resolved, project_not_found The run does not resolve to a project
runtime_spec_ref_missing, runtime_spec_not_found The project names no runtime spec, or it is absent
runtime_identity_mode_missing, runtime_identity_mode_invalid The runtime spec declares no identity mode, or an unrecognised one
identity_profile_missing, identity_profile_mode_invalid The identity profile is absent or declares an unrecognised mode
identity_mode_mismatch The runtime spec and the identity profile disagree

The last one is the reason worth recognising on sight: both sides are present and valid on their own, and they name different modes.

Trust context reasons

Trust resolution checks that the runtime image is pinned and attested:

Reason Means
runtime_image_digest_missing The runtime is not pinned to an image digest
runtime_trust_attestation_missing No attestation is recorded for that image
runtime_trust_attestation_non_compliant An attestation exists and does not satisfy the required posture

Where the run does not resolve to a project, trust is reported as not required with the reason stated, rather than silently passing.

The trust chain travels on the assignment

A resolved trust context becomes the assignment's trust chain, which the node verifies before acting. The control plane states what must hold; the node checks it against the artifacts it fetched. See Assignment authoring.

Enforcement continues at acknowledgement

The trust chain is enforced again when a node acknowledges an assignment, rather than only when the assignment was authored. A node that acknowledges work whose runtime trust no longer holds is refused at that point.

Checking at both ends is what closes the window between authoring and action. The first check decides whether to offer the work; the second decides whether the node that took it is still entitled to run it.

A failed context blocks the run

An invalid identity or trust context does not produce a degraded assignment. The run is blocked with the reason attached, alongside the other transition blocks. See Policy transitions and runtime controls.