Skip to content

What project authoring leaves to resolution

The project document names what the project asked for and the policy it was asked under. Every fact about how that request is satisfied belongs to resolution and admission, which run later and under different authority.

flowchart LR
  A["runtime.xratu<br/>authoring intent"]
  A --> S["Control plane seals<br/>ProjectRuntimeDependencyIntentV1"]
  S --> F["Fenced DP assignment"]
  F --> R["Data plane resolver<br/>credentialed lookup and build"]
  R --> E["Resolution evidence"]
  E --> AD["Control plane admits<br/>AdmittedProjectRuntimeDependenciesV1"]

Authoring names which distributions to prepare, which system packages the project needs, and which foundation reference and profile to use. Resolution decides which version each requirement becomes, which exact bytes satisfy it, which foundation digest the reference resolves to, and which approved source the bytes come from.

Fields the intent refuses

An authoring document carrying any of these would be its own answer, so each is refused by name:

Refused field The decision it would take
foundation_digest, foundation_profile The foundation selection
prepared_python_components The resolution result
project_system_bindings The admitted system set
resolved_version Which version wins
component_digest, component_digests Which bytes
module_roots, import_roots, provided_modules Import authority
mounts What the cell mounts
install_path Where bytes land
index_url Where bytes come from
credentials How they are fetched
ProjectRuntimeDependencyIntentV1 refuses resolved_version; it carries authoring
intent only, never a resolved source or an import grant

The same rule reaches the authored document, where index_url and extra_index_url are refused at create time. Approved sources are control-plane policy. See Approved dependency sources.

The intent is independent of the foundation

One intent is legitimate against two different foundations, which resolve it differently. torch>=2.4,<3 may be satisfied by a component already in one foundation's store and built fresh against another.

Changing either input produces a different resolution result, and the fenced resolution assignment binds the two together so neither can move without a new result.

During a build, the control plane constructs that assignment from its persisted project, foundation, approved-source and provider authority. The data plane receives it through assignment pull and returns one digest-bound resolution result. The control plane validates that result independently and stores the admitted dependency set, the final candidate snapshot and the constructed-component inventories immutably under the project build. Runtime-closure assembly reads this stored authority.

What the seal binds

The sealed intent carries authoring_document_digest, which binds the exact runtime.xratu document it was compiled from, and policy_revision, which records the policy the project was asked under. intent_digest covers the complete request.

A policy revision is assigned by the control plane, so sealing is the control plane's step. Editing runtime.xratu afterwards produces a new intent, and the sealed one stays as it was.

What admission adds, and refuses

The admitted result is judged against an independently supplied intent. It records the prepared Python candidate catalogue and the project-wide system bindings, each with versions and digests, plus resolution_evidence_digest and admission_revision.

It refuses any field that would read as an import grant, and it refuses to restate the requirements it resolves:

project_runtime_dependency_intent_digest must match the admitted intent
prepared_python_component_set_digest must digest its own admitted set

Set digests are recomputed from their members, so a consumer reading a set digest is reading the set.

Who owns each step

The project author writes the two lists in runtime.xratu. The control plane admits that authored shape at runtime-spec create, then seals it with a policy revision. The data plane performs the credentialed lookup and build under a fenced assignment, and returns evidence. The control plane admits that result against the intent.

Both documents are cross-plane contracts: the control plane produces and admits them, and the data plane validates them against the shared contract. See Who resolves and who admits.