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 v0.1 — Provenance and Traceability

KIND            = TRACEABILITY CARRIER (provenance + correspondence for the recovered
                  FORMA-ORCHESTRATOR-V0.1 contract; consumes, never redefines, it)
NORMATIVE BODY  = CONTRACT.md in this directory (verbatim, byte-identical recovery)
EDITORIAL LAYER = en/orchestrator/* (English canonical) + orquestrador/* (pt-BR
                  derivative) — explanatory only, no normative force
RECOVERY DATE   = 2026-10-26
RECOVERY METHOD = byte-exact git extraction from the ratified-at-landing revision
                  (see §1); the contract body was never edited for the book

This file records where the Orchestrator contract came from, where every authority it cites lives now, how each of its sections is carried by the implementation, and what this documentation campaign reconciled. It is the index of record for the carrier in this directory.

1. The carrier and its recovery

The ratified contract lived at docs/design/FORMA-ORCHESTRATOR-V0.1-CONTRACT.md. The FORMA-DOC final cutover (commit f61f92b36) removed the development-documentation tree from docs/, leaving docs/book/ as the only documentation root; the contract became recoverable only through Git history. The last master revision that carried the ratified text is the v0.1 landing merge 0bdbb94cb (Merge impl/forma-orchestrator-v0.1 into master).

CONTRACT.md in this directory was recovered from exactly that revision:

source    = 0bdbb94cb3145df0997ad01e2f22ba3416c257ba:docs/design/FORMA-ORCHESTRATOR-V0.1-CONTRACT.md
size      = 46934 bytes
sha256    = 193b6803a7abe1e7129e3451530b869b0978622bdb6caebf1eaba1f26ec3c13c
treatment = verbatim; no editorial rewrite, no link repair inside the carrier

The ratified body is the D14-final text; the only difference between the text ratified at bc9afd921 and the landed text is the STATUS/RATIFICATION header block added by the promotion commit bdbae9b02, which states that the semantic content was preserved verbatim.

Ratification chain (all commits reachable in this repository’s history):

CommitRole
737248d8eCandidate contract — R3-01..05 owner-decided, materialized in §2
945118edbD5 adversarial audit applied (F1–F11, 0 material failures)
4e323fb71Gates D6–D8 — §4b MRS correspondence, §9a bootstrap, §9b transit law
41c579039D10 audit applied (7 remediables)
0ae682b88D11–D13 — P1/P2/N1 aligned to C4 §7; §9a.4 unicity model; BOOT-N4
bc9afd921D14 final adversarial audit — 0 MCF, RATIFY-READY text
bdbae9b02OWNER-RATIFIED (2026-10-15) — status-only promotion
0bdbb94cbv0.1 landing into master (merge of impl/forma-orchestrator-v0.1)
f61f92b36Doc cutover C8 — docs/design/ removed (Git history preserved)

Ratified: the laws and their declared limits — Architecture B (Hybrid Minimal); R3-01..05; the §10.6b restricted reading of exclusivity; the BOOT-N4 cross-host ceiling; MRS as Minimal Realization Backplane. NOT ratified: undemonstrated operational capabilities and the §14 numeric SLO profile (no performance result is pre-ratified; the profile must be frozen from measurement).

2. Implementation genealogy

The implementation campaign ran on branch impl/forma-orchestrator-v0.1 (27 commits between the contract candidate and the landing merge). Landmark commits, in order:

CommitContent
96dbb7a1aMacro-WP A — crates/orchestrator created; vertical path real and green
fcecb3c03Macro-WP B — loopback TCP primitive, orch_executor process, restart recovery
1e688fe8cCensus C1 §22 (b)(c)(d) + FENCE-N1 + measured F06 baseline + witness matrix
d83086136C6 selection/roster/rollout (P9/P10/P1/P2/N1)
f3f8c10d9C2 acquisition integrated (N8/P5) + N2/N7/N10/P8 witnesses
5ffab11a9HWR admission wiring (C6 §6 gate; N9/N1 seam)
c61b20f42Operational CLI + real wire payload (§8 S4 transport-body law)
189604462Release-profile dispatch defect fixed; release SLO measured
6a88b7fcfTOCTOU-closed publication, §27 reopen recovery, §9b transport classification
9e059a91eP4 three-partition coordinated deployment — matrix 32/32
46310d527§10.6b inter-process publication critical section (guard bound to its root)
edfa09898Release-profile SLO TSVs re-frozen by the release gate run

3. Superior authorities — where they live now

The contract’s header cites its superior authorities by name; the cutover moved the normative tree into the book. Current owners:

Cited authorityCurrent location
FORMASL-INTENTfundacoes/01-intent.md
FORMAL-WORLD-MODELfundacoes/02-world-model.md
SEMANTIC-INVARIANTSfundacoes/03-invariants.md
SEMANTIC-CONTINUITYfundacoes/04-continuity.md
ARCHITECTUREautoridades/29-architecture.md
C1 External Execution Plane Contractautoridades/25-external-execution-plane-contract.md
C2 Observation Acquisition Contractautoridades/24-observation-acquisition-contract.md
HWR-04 contract packageautoridades/contracts/forma-hardware-physical-realization-v0.1/README.md
MRS backplaneautoridades/mrs/backplane-v0.1/README.md
DOC durable-operation carrierscrates/durable-operation, crates/durable-operation-reference (executable carriers: AttemptFence, WorkerLeaseCas)
FormaFS / storage contractsautoridades/formafs/kernel-v0.1/README.md
forma-network v0.1autoridades/contracts/forma-network-v0.1/CONTRACT.md and autoridades/network/forma-network-v0.1/README.md
ESI (Executable Semantic Interface)autoridades/28-executable-semantic-interface-contract.md
EOC (Effect/Observation/Claim)autoridades/12-effect-observation-claim.md
SLT (Semantic Lifecycle Transitions)autoridades/11-semantic-lifecycle-transitions.md
Governanceautoridades/16-governance-capability-contract.md

The contract body carries no internal document links (it cites authorities by name in prose), so no in-carrier link repair was needed or performed.

4. Contract law ↔ implementation correspondence

Contract sectionCarrier in crates/orchestrator
§4 jurisdictionsrc/lib.rs module law (owns the loop only; names every non-owned authority); OrchestratorCoordinator structure
§5 interfaces (reuse-first)DeploymentDesignation (designation, roster, basis, adapter, per-target realizations, observer, evaluation_gas, admission/partition closures); C1/HWR/DOC types consumed, never redefined
§6 operational machine by referenceRequestDisposition classes; C1 OperationView/AttemptView reads
§7 reconciliation cyclerun_cycle — EVALUATE → COALESCE → WIRE → SETTLE → CHECKPOINT; coalescing checkpoint keyed (artifact, action); WINDOW-law lane index uncertain_by_action; EvaluationNotEstablished with budget attribution
§8 scheduling and placement flowexact-target binding_for lookup (no retargeting); HWR admission gate admit_designation_closure; P4 coordinate_distributed_deployment
§9 / ACTIVATION LAWactivate_provision / activate_recover; ExecutionPlane::claim_writer CAS; typed ActivationRefusal
§9a BOOTSTRAP LAWinitial durable registration (InitialPublicationRefused fail-closed); roster record as authoritative designation; CLI production marker provisioning.json
§9b TRANSIT LAWloopback.rs classification law (post-crossing ⇒ Ambiguous; connect-refused ⇒ Failed); staged pre-exposure cancels (cancel_superseded); admit_late_receipt (FENCE-N2); present_duplicate_delivery (§12a replay)
§10 durability invariantspersist_checkpoint (publication lock → staged writes → CAS → renames → post-publication currency re-check); PersistenceRefusal; per-record typed corruption refusals; §27 ExecutionPlane::reopen
§11 observabilityCycleReport (dispositions, wire exposures, T_eval/T_admission/T_persist/T_loop, governed budget, verdicts); effective_standing; governed C2 acquisition delegations
§12 security and governancerestore-only authority law in the CLI (OwnerRuleRef::restore — restore confers no standing); lossless op_key_for (§12a); record_unauthorized_invocation (N11)
§13 platform scopesingle-host x86_64-linux reference class honored in tests and prose (no fleet claim anywhere)
§14 performance methodevaluation_gas provenance; separate T_eval/T_loop measurement; tests/slo_profile.rs + evidence/slo-profile.tsv, evidence/slo-sweep.tsv
§15 acceptance matrixWITNESS-MATRIX.md mapping all 32 rows to executable witnesses; the 12 test files
§16–§19negative law enforced by the same witnesses; handoff obligations closed by the matrix and the SLO recording method

5. Witness matrix and acceptance evidence

crates/orchestrator/WITNESS-MATRIX.md maps every acceptance row to its current executable evidence: N1–N12, P1–P10, BOOT-P1/N1–N4 and FENCE-N1–N4/P1 — 32 rows — plus the census C1 §22 productive writers (b), (c), (d). Every row is EXECUTED (a runnable, discriminative test) except BOOT-N4, which is HONEST-BY-LAW: the ratified ceiling itself (no cross-host duplicate-designation detection or prevention is claimed anywhere). The witnesses live in the crate’s test files: c2_acquisition.rs, c6_rollout_roster.rs, census_fence.rs, cli_e2e.rs, hwr_wiring.rs, multinode.rs, n2_n7_n10_p8.rs, p4_three_partitions.rs, selection_set.rs, slo_profile.rs, transport_metric.rs, vertical_path.rs, and the unit tests inside src/coordinator.rs.

6. Reconciliation findings of this campaign

  • F1 — orphaned contract references. Two files still pointed at the deleted docs/design/ path: crates/orchestrator/WITNESS-MATRIX.md and the module doc of crates/orchestrator/src/lib.rs. Both were repointed at this carrier. Documentary change only; no behavior change.
  • F2 — SLO evidence profile divergence. The witness matrix states that the committed TSVs record the release-profile measurement (re-frozen by edfa09898). Inspection of the committed artifacts showed the debug profile: later workspace-wide gate runs (the FGP-06…FGP-09 series) re-executed the SLO test under a debug build, which re-records the evidence files, and the debug output was swept into those closures. The recording mechanism is the test itself — it writes the profile of whichever build runs it — so the remedy applied by this campaign is to re-run the release gate (cargo test -p formasl-orchestrator --release --all-targets) and commit the re-frozen release-profile TSVs, with the matrix wording now naming the recording mechanism honestly. No acceptance number was invented at any point.
  • F3 — no further material divergence found. The contract’s acceptance matrix, the witness matrix and the executable tests agree on the 32-row census; the implementation’s public surface matches §5; the CLI exit contract matches the documented behavior. Residual limits are the ratified ones (BOOT-N4, §13 reference class, §10.6b scope walls), restated in the verification chapter.

7. Where the documentation lives