Forma Orchestrator: deployment and placement
Placement — the question where physical realization happens — is the territory
where a coordinator would most easily become an unauthorized scheduler. The v0.1
answer is structural: selection authority belongs to the .fsp plane under the
provider law, and the orchestrator executes what that law admits. This chapter walks
from the R3 decisions to the working objects: the deployment designation, the roster,
rollout generations, and coordinated partitions.
The placement law (R3-01)
.fsl defines requirements, meaning and semantic constraints, and gains no
implicit physical authority. Selection follows the provider contract’s closed set,
preserved verbatim by the orchestrator:
- exactly one admissible candidate → select it (uniqueness is the recorded basis);
- several candidates with a conclusive authored
.fsppreference → select and record the applied preference clause; - several remaining candidates, no conclusive preference →
UNRESOLVED(PROVIDER_AMBIGUOUS)— an epistemic outcome: the missing datum is the selection decision, never a capability fact (zero candidates is the distinct pre-dispatchPROVIDER_UNRESOLVED).
Forbidden, always: first-candidate, registration-order, name, identifier or any other deterministic tie-break; converting an unresolved set into a satisfied one; scoring preferences as independent authority. The consequence is honest: no semantically autonomous scheduler exists in v0.1. The placement mechanism executes authorized decisions and admissions; anything beyond that requires a new normative decision.
What a deployment is (the designation)
A deployment exists as a DeploymentDesignation, and every field of it is
owner-provisioned material — the mechanism fabricates nothing:
| Field | Authority |
|---|---|
deployment, control_state_root | the provisioning act’s designated identity and control-state location |
roster | the initial versioned node roster (R3-05) |
basis | the governing contract revision of the desired artifact |
adapter | the single adapter configuration this deployment binds (closed selection happened upstream) |
realizations | Binder-produced bindings, one per exact target — never minted, never retargeted |
observer | the accountable observer rule for externally-observed crossings |
evaluation_gas | the declared evaluation budget (§14) |
admission_closure | the owner-provisioned application closure; present ⇒ every dispatch is gated on the HWR verdict |
partition_closures, partition_dependencies | the P4 coordinated-realization carriers |
The per-target binding rule is a forge wall: a binding produced for target T carries T’s requirement/provider/revision correspondence, so consuming it for another target would fabricate that correspondence. Lookups are exact; a missing entry is a refusal, never a fallback.
Roster: static, explicit, versioned (R3-05)
Membership in v0.1 is a static, versioned node roster. No dynamic discovery, no consensus reconfiguration, no preemption of running work. Roster changes go through a controlled procedure that validates before mutating (empty roster, duplicate node: typed refusals), publishes the new record under the same fence-gated window as every other control-state record, and rolls the change back if publication is refused — an unpublished mutation never survives. Affected admissions are re-evaluated by construction: the admission gate runs fresh every cycle, so no stale admission outlives the version bump. Two operational facts complete the law: connectivity loss is not proof of node death — probes, heartbeats and statuses are situated operational evidence, never semantic truth — and the roster record, not the activating designation, is authoritative at every recovery.
Rollout generations (P10)
Realizations advance by admitted generations. Admitting the next generation requires
the Satisfied verdict of that generation’s own closure; any other verdict is a
typed refusal that preserves the class and leaves the chain untouched. The chain
records each generation’s closure identity with its predecessor’s, append-only, so
predecessor history is reconstructible across restarts — a lost history is a contract
violation, and a publication refusal rolls the append back. As with the roster, the
mechanism executes the app-authored rollout policy; it does not decide stage
progression or promote canary stability semantically.
Coordinated partitions (P4)
A deployment may carry one coordinated realization over several partitions. The law is
all-or-nothing with preserved classes: one plan identity (the deployment), one
placement assignment covering the closed partition set, a distinct closure with its
own admission record per partition, one shared contract revision, and every declared
cross-partition dependency inside the closed set. Every partition is judged — one
partition’s failure never short-circuits another’s judgment, so the report preserves
all verdict classes. Any structural incoherence or any non-Satisfied partition
blocks the whole deployment with zero dispatch; a valid composition is published
durably under the same fenced window, and a corrupted composition record at recovery
is typed corruption, never “no composition”. The composition record never substitutes
for a partition’s own record — the realization-plane wall.
The multi-node ceiling, stated where it is used
The demonstrated reference class for all of the above is single-host, cross-process: real executor binaries over real kernel sockets. Physical multi-node deployment is an implementation obligation stated as an obligation, not a capability; and BOOT-N4 holds everywhere: two hosts with independent control states and no shared authoritative reference are detected neither as duplicates nor as fences. The provisioning exclusion is procedural — one owner act — and activation checks are locally conclusive only against the designated record. No text in this chapter, and no green test in the matrix, extends that ceiling.