Policy transitions and runtime controls¶
Two things happen between a run being admitted and an assignment being authored: preconditions that can stop it, and runtime controls that are resolved into the assignment. This page is both, because a run that never dispatched and a run that dispatched with unexpected model settings are answered in the same place.
Transitions that block a run¶
A run blocked before dispatch carries the reason that blocked it. Three transitions do this:
| Block | Cause |
|---|---|
| Identity failure | The run's workload identity context did not resolve |
| Trust failure | The runtime image is unpinned, unattested, or non-compliant |
| Secret readiness failure | A secret the run needs is not ready to bind |
Each of these is a recorded state on the run rather than an exception. A run sitting without an assignment has one of these, or one of the dispatch admission blocks, attached to it. See Trust and identity admission and Admission and tenancy scoping.
Runtime controls resolved into the assignment¶
Three documents are composed and travel with the assignment:
llm_runtime_pinning which model runtime the run is pinned to
generation_controls the generation settings the run executes under
llm_cache_contract how model responses may be cached for this run
They are resolved at authoring time, so the settings a run executed under are recorded before it ran rather than observed afterwards.
Enforcement is warn or block¶
Determinism controls are governed rather than mandatory, and the governance profile in force decides which:
flowchart TB
A["Control resolved<br/>pinning or generation defaults"]
B["Is it complete?"]
C["Enforcement: warn<br/>run proceeds, event recorded"]
D["Enforcement: block<br/>run stops, event recorded"]
A --> B
B --> C
B --> D
Where the enforcement mode comes from¶
flowchart LR
subgraph CP["CONTROL PLANE"]
direction TB
GP[("Governance profile in force<br/>warn or block")]
RC{{"Determinism control<br/>resolved at authoring"}}
EV[("Governance events")]
AS[("Assignment<br/>resolved settings")]
GP --> RC
RC --> AS
RC --> EV
end
N["xratud"]
AS -->|"pulled"| N
The profile decides the branch above, and the resolved settings are written into the assignment before any node sees it. A node therefore runs with the settings the event describes.
Both outcomes produce a governance event, and the event type names which one happened:
A blocked run stops with the reason recorded. A warned run proceeds, and the warning is recorded against the node that caused it.
Where pinning metadata is incomplete, the reason is
llm_runtime_pinning_metadata_missing, under the same warn or block decision.
Warnings are recorded once per node¶
A warning is keyed by the node and the condition that raised it. A node that re-enters the same state does not append the warning again, so a long run does not accumulate duplicate events for one unchanged fact.
The consequence when reading a run's events is that a single warning covers the condition for that node, rather than one per attempt.
Why this is resolved centrally¶
The settings a model call runs under are part of what a replay must reproduce. Resolving them into the assignment puts them inside the record the run is identified by, so "which generation settings did this run use" is answered from the assignment rather than from a node's local configuration. See The CP recipe.