Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Forma Orchestrator: security and observability

The orchestrator’s security posture is an authority discipline more than a cryptography story: every act that could have consequences outside the mechanism is gated on something the mechanism did not produce. Observability follows the same discipline — the mechanism reports what happened at its boundaries, honestly and in typed classes, and creates observation standing for none of it.

Dispatch authority is consumed, never minted

A dispatch happens only under an owner-produced, exact-coordinate authority: the C1 D1 properties — issued by the owner, naming the exact payload, target and currentness, already a durable control fact before the mechanism forwards anything. An established application Decision is semantic basis that supports such an authority and authorizes nothing by itself (C1 D2); the coordinator is never the issuer. The CLI embodies this as its provenance law: every rule, binding and capability identity enters through restore from persisted coordinates the operator supplies — restore confers no standing — and the production binary contains no test-minting paths at all.

The §12a idempotency key makes each dispatch case’s identity lossless: action, serial and payload encode as lowercase hex under the deployment’s orch/ key-domain prefix. Two different payloads — including payloads that differ only in bytes a lossy text encoding would collapse — can never share a key; an action containing a delimiter can never impersonate another action/serial pair; a distinct owner-verified content reference never folds into another by convenience.

What gates a dispatch

Four gates stand between a semantic request and the wire, in order, and a failure of any one of them means zero exposure:

  1. Exact-coordinate authority — no authority for these coordinates: PendingNoAuthority, zero wire contact. The mechanism never auto-authorizes.
  2. HWR admission — a designation carrying an application closure dispatches only under Satisfied; NotSatisfied and Unresolved block with their classes preserved, never conflated, and the unresolved case stays epistemic — absence of evidence is never read as a lower tier.
  3. Window law — a lane whose prior outcome is still uncertain cannot be re-bound; the open resolution owns the lane.
  4. Binding exactness — the operation stages under the one binding provisioned for its exact target; a missing binding is a refusal, never a retarget.

When an invocation nevertheless occurs without authority — observed at the boundary — the mechanism records it honestly: the occurrence enters with both correlation edges unknown, the authority absence is admitted, and the standing becomes not-established. The record is the durable witness that an unauthorized invocation happened; there is no operation to re-drive and no standing laundering anywhere.

Accountability at the boundary

Every external crossing is accountable to an owner-provisioned observer rule. The transport layer’s classification is honest by construction: once request bytes have crossed toward the node, any later failure — head or body write, lost or malformed response — is ambiguous (exposure may have occurred), and only a failure before the first byte (connect refused) is a plain failure, which C1 may lawfully re-drive. The exposure count is incremented at exactly one point — route resolved and connection established — so wire_exposures in a cycle report is the same number the transport primitive counted: one counting authority, no divergent copies.

Probes, heartbeats, statuses and receipts are distinct carriers, and none of them is an observation record. Availability detection produces mechanism dispositions; where observation standing is needed, the evidence enters only through a governed C2 acquisition act — session, admitted bridge, admitted record — never a mechanism write-channel. The coordinator exposes the governed acquisition surface (open session, admit bridge, record receipt, admit observation) as thin delegations; the plane owns the one journal. Conflicting observations over one referent coexist in full, the effective standing is the computed weakest grade, and only the materially dependent decisions are blocked — v0.1 has no adjudication (CL4), by ratified scope.

The cycle report as the observable record

Each cycle emits a typed, discriminative report: the evaluated revision count, the semantic request count, the per-lane dispositions, the wire exposure count, the measured phases (evaluation, admission, persistence, total loop), the budget that governed the evaluation, and — when a closure was consumed — the admission verdict with its full typed reason set, plus the per-partition verdicts and the composition identity for coordinated deployments. A persistence failure is reported as its own field, never folded into the dispositions; a mechanism refusal likewise. The operator-facing exit contract preserves exactly this separation (CLI and operations).

Two time measures deserve a word because they are deliberately never conflated: T_eval is the engine’s semantic evaluation time, gas-bounded; T_loop is the operational cycle time around it. The budget provenance is the accountability hook: every evaluation result records the budget that governed it, so a budget refusal is auditable with its attribution — and the numeric SLO profile is frozen from measurement, never invented (see verification and limits).

The trust boundary, stated plainly

Required and implemented: operational-actor identification; contextual dispatch authorization; permission and revision checks; refusal of decisions with stale foundations; authorization, execution and outcome separation; auditable history (journal and control events); replay protection; per-node responsibility isolation. Multi-tenancy is absent from v0.1 by scope decision. And the deepest boundary is the one this chapter keeps repeating in different registers: the coordinator can order the execution of authorized work and record what happened — it cannot make any of it true, observed, or authorized by itself.