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: verification and limits

The orchestrator’s guarantees are exactly what its witnesses demonstrate — no more. This chapter is the reader’s map of that evidence: the acceptance matrix, the census obligations, the measured performance method, and the guarantee ceiling stated in the words the ratification actually used.

The acceptance matrix

The contract defines 32 acceptance and falsification rows, each with its allowed and forbidden outcomes, and every row maps to an executable, discriminative witness in the crate (the live mapping lives in crates/orchestrator/WITNESS-MATRIX.md):

FamilyRowsWhat the family proves
N1–N12 (negative)12ambiguous placement is epistemic; stale decisions never authorize; replays settle with zero change; lost acks stay uncertain; split-brain activation fails closed; restart mints nothing; unreachable nodes are typed dispositions, never death facts; conflicts coexist and block only dependents; refused admission blocks with classes preserved; exhausted budget yields not-established; unauthorized attempts are recorded with absence; invalid recovery refuses
P1–P10 (positive)10selection by uniqueness and by recorded authored preference; authority-gated dispatch; three-partition coordinated realization; evidence-gated reconciliation; restart with zero minted facts; desired-change re-evaluation; budget-adequate evaluation; validated, versioned, durable roster changes; reconstructible rollout generations
BOOT-P1, BOOT-N1–N45provisioning act and first fence; second provisioning refused; lost state refused; concurrent initialization — one fence, one refusal; cross-host independence is the declared ceiling, not a claim
FENCE-N1–N4, FENCE-P15stale publication refused; in-flight messages adjudicated by C1 coordinates; uncertain stays reconciliation-gated; duplicate authorization drives once; legitimate resumption touches only definite operations

Every row is EXECUTED — a green, runnable test at the recorded commit — except BOOT-N4, which is HONEST-BY-LAW: it is the ratified ceiling itself, witnessed by the absence of any detection claim anywhere in the mechanism. A row whose correct result is a declared limit is still counted; that is the point of the matrix.

Three census obligations from C1 §22 close on the reused realization and are exercised by this component’s flows: the productive cancel entry (b), the inbox-dedup productive writer (c), and the retry-budget enforcement site (d).

The witnesses

Twelve integration test files hold the evidence, each named for its territory: vertical_path.rs (the end-to-end lane), selection_set.rs (C4 §7 cases A/B/C), hwr_wiring.rs (the admission gate and its epistemic classes), c2_acquisition.rs (N8/P5), n2_n7_n10_p8.rs (staleness, reachability, budget), census_fence.rs (§22 writers, N3, N11, FENCE-N4), multinode.rs (two independent executor processes over real sockets: dispatch, restart recovery with zero re-exposure, and the armed lost-ack that must never re-drive), p4_three_partitions.rs (coordinated realization with its full negative set), c6_rollout_roster.rs (P9/P10), transport_metric.rs (one exposure counting authority), cli_e2e.rs (the binary end-to-end, including the persistence-blocked cycle that must exit 5) and slo_profile.rs (measurement). The coordinator’s unit tests hold the publication-window falsification reproducers: the interleaving that must be impossible (a concurrent claim inside the critical section is refused, not merely detected), the rename-phase failure that must not wedge the instance, and the lossless idempotency-key laws.

The performance method

The §14 method separates what must never be conflated: T_eval (semantic evaluation, gas-bounded) and T_loop (the operational cycle around it), measured per cycle with phase attribution — evaluation, admission, persistence — and recorded without invented thresholds. The slo_profile test measures both, plus a parametrized sweep over lanes and change rates with warmup separated from the steady regime; the committed evidence/slo-profile.tsv and evidence/slo-sweep.tsv are the frozen records. Two facts about those files matter to a verifier: the test writes the profile of the build that runs it (a debug-profile workspace run re-records them as debug — which is exactly how a later campaign’s debug gate runs once overwrote the release-profile freeze; the traceability record documents the incident and the re-freeze), and structural laws are asserted alongside the numbers (T_loop subsumes T_eval and the disjoint phases). The numeric SLO profile is acceptance material for a release gate, not a standing performance promise; a measured, reproducible violation that a per-domain boundary change could fix escalates as a new owner decision — there is no automatic .fsl→Rust fallback, ever.

Re-verifying the component

cargo test -p formasl-orchestrator --all-targets
cargo test -p formasl-orchestrator --release --all-targets
cargo clippy -p formasl-orchestrator --all-targets -- -D warnings
cargo fmt --all --check
bash scripts/book-publication/build_docs.sh

The release run is not optional ceremony: a release-profile dispatch defect once compiled away a side effect that every debug witness kept green, and the release SLO profile is the binding record. The documentation pipeline builds the book, projects the carriers, and refuses broken references and divergent carrier bytes.

The guarantee ceiling, in the ratified words

What v0.1 demonstrates: one active coordinator with fence-established write exclusivity over the designated control state (established, not observed); recovery that reopens rather than re-derives; level-triggered convergence with coalescing; typed refusals on every ambiguity; and a single-host, cross-process reference class with real kernel sockets.

What no text may claim: consensus replication of control state; automatic coordinator failover; dynamic membership; preemption; generalized conflict adjudication; multi-tenancy; cross-host duplicate-designation detection or prevention (BOOT-N4); global execution exclusivity from a fence; proof of process death; “not applied” readings of lost acknowledgements; high availability or exactly-once execution beyond the demonstrated guarantees; and any physical-support claim beyond the hosted x86_64-linux reference class. The witnesses hold each of these lines by failing when a mechanism tries to cross them — which is the only kind of evidence a falsification matrix can honestly give.