The execution router¶
Every assignment carries a kind, and the kind decides which part of the node handles it: a build, a serve runtime, a fabric route, a kernel command, or an artifact operation. The router tries the routes in a fixed order and hands the assignment to the first that owns its kind. This page is the kinds, the order, and what a route hands back.
What each route acts on¶
flowchart LR
A["Assignment<br/>control_plane_task.kind"]
R{{"Execution router<br/>first owner wins"}}
subgraph K8["YOUR CLUSTER"]
direction TB
B["Build control<br/>build jobs"]
MS["Model serve<br/>serve runtimes"]
PS["Project serve<br/>project runtimes"]
end
subgraph KRN["A KERNEL"]
direction TB
KO["Kernel operator<br/>runtime.* commands"]
end
subgraph STO["YOUR REGISTRY, BUCKET AND PROVIDERS"]
direction TB
RC["Runtime closure<br/>resolve and materialise"]
PP["Package publication"]
PA["Payload access"]
end
FA["Model binding<br/>fabric agent"]
A --> R
R --> K8
R --> KRN
R --> STO
R --> FA
Every route acts on something in your infrastructure, and the kind decides which. When an assignment fails, the kind tells you which of these four places to look at: the cluster, a kernel, your storage or providers, or the fabric.
The kind comes from assignment.assignment_kind. Every assignment carries an
explicit kind. Application Runs begin through the deployed runtime's Kernel
Application ABI, outside this router.
The order¶
| Order | Route | Kinds it owns |
|---|---|---|
| 1 | Runtime closure reconciliation | xck.foundation_reference_resolution.v1, xck.runtime_closure_resolution.v1, xck.runtime_closure_materialization.v1 |
| 2 | Build control | build.project.v1, build.model.v1 |
| 3 | Package publication | package.publish.v1 |
| 4 | Observability payload access | observability.payload.download.v1 |
| 5 | Kernel operator | kernel.operator.v1 |
| 6 | Model binding fabric | model.binding_route |
| 7 | Model serve | model.serve.v1 |
| 8 | Project serve | project.serve.v1 |
Each route owns a closed set of kinds, and exactly one route handles an
assignment. The kind is normalised to lower case before it is matched. The
assignment contract refuses run, run.v1, flow.execution.v1 and
project.execution.v1, so application execution remains on the kernel-owned
Application ABI.
What a route hands back¶
Every implemented route returns whether it handled the assignment and any owner-specific runtime handle. Finalize uses that handle to stop the runtime, and releases the local claim for every route. See Lease acquisition, dedupe, and finalize.
The routes report through the same status path: each acknowledges the assignment, reports progress where it has any, and completes it with a result or an error. What differs is the work in between. See Status lifecycle and reporting.
Where each route is documented¶
| Route | Mechanism |
|---|---|
| Runtime closure reconciliation | Runtime closure and foundation build |
| Build control | Executor runtime and control tasks |
| Package publication | Artifact and capsule materialization |
| Observability payload access | Payload access and transport profiles |
| Kernel operator | Kernel bridge |
| Model binding fabric | Private fabric |
| Model serve | Model serving runtime |
| Project serve | Project runtime orchestration |