Assignment authoring¶
An assignment is the only runtime dispatch contract between the control plane and a node. Authoring one means assembling an immutable snapshot that a node can verify without asking anything further. This page is what goes into that snapshot and what the authoring step checks before it is offered.
The assignment envelope¶
flowchart LR
subgraph SRC["RECORDED IN THE CONTROL PLANE"]
direction TB
DEC[("Scheduling decision")]
REL[("Pinned versions<br/>and digests")]
POL[("Effective policy")]
TR[("Trust chain")]
end
subgraph ENV["ASSIGNMENT ENVELOPE, IMMUTABLE"]
direction TB
E1["Assignment block<br/>which run, which node, correlation"]
E2["Resolver snapshot<br/>block identity, capsule digest, artifacts"]
E3["Policy snapshot<br/>and its digest"]
E4["Trust and identity<br/>trust chain, workload identity"]
E5["Execution contracts<br/>determinism, idempotency, model pinning"]
end
DEC --> E1
REL --> E2
POL --> E3
TR --> E4
Every section of the envelope is filled from a record before the envelope exists, and the envelope is then sealed. A node reads the sections and never the records on the left, which is why the envelope alone explains what a node was asked to do.
Each input is resolved before the envelope exists. Nothing in it is a reference the node has to interpret at run time: versions are pinned, digests are computed, and policy is already merged.
The envelope is self-checking¶
The envelope carries the values needed to verify itself, and validation recomputes what it can rather than trusting a field:
- The policy decision proof's
snapshot_digestequalseffective_policy_digest, which equals the digest ofeffective_policy_snapshot. required_stagesis exactlypreandpost.- The invocation's
interface_idandexport_ordinalmatch the resolver snapshot's block and selected export. resolver_fingerprintequals the fingerprint recomputed from the manifest identity, interface, export ordinal, entrypoint, resolver mode and capsule digest.- Top-level
session_id,invocation.session_idandassignment.run_idare the same value.
A node therefore rejects a malformed or tampered envelope on its own evidence. See The three-plane contract for the full field list.
Distribution is a reference, execution is a digest¶
The resolver snapshot lists distribution artifacts as a package, a version, a registry reference and a digest. The reference says where bytes are fetched from; the capsule digest says what executes.
Keeping the two distinct is why a package archive is named distribution_artifacts,
and why the retired name is refused rather than ignored:
resolver_snapshot.execution_artifacts is retired: a package archive is
distribution, and what executes is the capsule; use distribution_artifacts
Admission can block before authoring¶
Some assignments are never authored because a precondition failed. Dispatch admission marks the reason on the record rather than leaving a run unexplained: a build blocked, a secret-bearing project blocked on integration/binding/ coverage/grant admission, a model serve blocked, a run blocked for an input or output contract failure, and a run blocked because a reusable capability block could not be resolved.
A run that never produced an assignment has one of those reasons attached. See Admission and tenancy scoping.
The envelope is immutable once offered¶
An authored assignment is a snapshot. Changing what a node should do produces a
new assignment with a new generation rather than an edit, which is what allows
a node's acknowledgement to name the observed_generation it converged toward.
See The assignment ledger.