Forma Orchestrator: architecture
The orchestrator is deliberately thin. It has no runtime of its own, no registry of its own, no storage engine of its own and no policy of its own; what remains is a level-triggered loop that consumes five existing carriers and adds exactly one new mechanism-plane datum family. This chapter shows how that thinness is structural: the six planes that surround the orchestrator each keep their owner, and the orchestrator exists precisely at the seams between them.
Four parts, four authorities
The Hybrid Minimal architecture separates the planes that would otherwise corrupt each
other. The .fsl application owns meaning: desired state, reconciliation rules,
rollout and governance policy, evaluated by the FormaSL engine. The .fsp plans own
physical selection: bindings, requirements and authored preferences under the
provider law’s closed selection set. The host service owns pacing and wiring: the
cycle, the queue, the checkpoint, the fence. The executor nodes own effects: real
work performed on real targets, reached only through C1 dispatch, and observed only
through C2.
The six-plane separation
| Plane | Owner | Orchestrator integration point |
|---|---|---|
| Realization | .fsp/Binder + HWR-04 + the realization crate | forwards admission requests; placement per the closed selection set |
| MRS backplane | transport / time / trust / effect-adapter / mrs-terminal | consumed by providers and adapters at declared crossings |
| Execution control | C1 + DOC | typed references only; forwards within C1 law |
| Observation | C2 | observations enter only via governed acts |
| Orchestration | formasl-orchestrator (this component) | the loop, the checkpoint, the roster |
| Physical execution | host PlaneHost + the hosted runtime floor | agent realization per roster node |
The dependency law of the realization stack — realization ← provider ← transport —
applies unchanged above the orchestrator: it consumes providers that consume the
backplane, and it never absorbs, re-implements or replaces any layer. There is no
second provider registry and no EffectuationHost in this component; introducing
either would be a contract violation, not an extension.
Two heterogeneous realization scenarios are contractual, and deliberately not forced through one topology. In Scenario A (external-service realization), C1 dispatch reaches an effect-adapter over the transport, per provider family. In Scenario B (remote executor), an HWR artifact is deployed through the admission chain onto a roster node and C1 dispatch crosses the node transport. What is shared is the law: C1 authority, attempt and receipt; C2 admission; exact target designation. What diverges is the mechanism path — and no universal substrate interface is invented to hide that.
What the mechanism owns — and refuses to own
The coordinator’s jurisdiction is the operational loop: activation and repetition of the cycle, queueing, coalescing and work-in-progress control, scheduling of bounded evaluations under declared conditions, materialization and forwarding of already-authorized decisions, forwarding of admission requests, dispatch wiring between C1 and remote agents, operational checkpoints and recovery, availability detection, rollout coordination as execution of an app-authored policy, and static roster administration.
It does not own: domain meaning (.fsl), placement selection policy (.fsp and the
provider law), admission judgment (HWR), execution authorization (C1’s
owner-produced, exact-coordinate authority — an established application Decision is
semantic basis that authorizes nothing by itself), observation standing (C2), or
retry authorization beyond C1’s own law. The mechanism can order the execution of
work; it cannot decide meaning, and it cannot promote an operational fact into
semantic authority.
Reuse-first interfaces
Every interface the orchestrator touches is an existing carrier, consumed by typed
reference. The desired state arrives as the .fsl artifact revision; observed state
enters as C2 observation records with provenance; evaluation requests carry basis
revisions, budget and scope; the decision’s causal basis rides the C1 D1 authority
chain; placement arrives as application closures and conserved .fsp clauses;
targets as HWR descriptions; admission as HWR verdicts; dispatch as C1
request/operation/attempt chains over declared transports; receipts and outcome
reconciliation as C1 views; the operation journal as C1’s action journal.
The new mechanism data — and the only ones — are operational: the LoopCheckpoint
(journal position references, queue state, basis revisions — non-semantic, no
standing), the static versioned roster record, the rollout generation chain, and the
P4 composition record. Each is justified the same way: it is operational-only
bookkeeping that exists to make the loop’s own invariants checkable, and none of
them can carry semantic standing. No universal identity is created anywhere;
application, realization, operation, attempt, observation and node identities remain
their existing carriers.
The crate and its process topology
formasl-orchestrator is a small crate over large dependencies: the formasl engine
entry points (check/run) for the semantic plane; formasl-action for attempt and
observation carriers; formasl-realization for closures, admission and distributed
composition; formasl-provider, formasl-effect-adapter (the sealed transport),
formasl-resolver, formasl-result-core (owner rule references) and formasl-time
(clock domains). Internally it is four modules: coordinator (activation, the cycle,
persistence, roster and rollout), executor (the executor-side endpoint trait and the
in-process router used by the vertical path), loopback (the single-host raw-socket
primitive), and two binaries: the operational CLI formasl_orchestrator and the
executor process orch_executor.
The executor is a separate OS process by design: it binds its own port, performs its own effects, and reports honestly — including failure-after-invocation, which is reported as exposure may have occurred, never as “not applied”. The coordinator connects to it over real sockets through the MRS native profile; there is no in-process shortcut across that boundary on the productive path.
Where authority is produced (it isn’t)
A reader looking for the place where the orchestrator “decides” will not find one.
Selection happens in the closed set (unique candidate, or recorded authored
preference, or epistemic PROVIDER_AMBIGUOUS — never a tie-break). Admission is
HWR’s verdict, consumed. Dispatch authority is owner-produced and exact-coordinate;
the mechanism forwards references to it. Uncertainty is a C1 outcome class,
reconciliation-gated forever. Even the cycle’s own failure to publish is reported as
a typed persistence_error rather than absorbed. The architecture’s whole content is
in what it refuses to invent — the operational cycle shows
that discipline executing, phase by phase.