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

The Minimal Realization Backplane (MRS)

Most applications never touch the backplane directly: you write .fsl semantics, declare .fsp realization plans, and the toolchain does the rest. This chapter is for the moment an application must reach outside the semantic engine — send a command to an external system, or accept an observation from one — and you need to know what guarantees you are standing on.

What it is

The Minimal Realization Backplane (MRS) is the socket where realizations plug in. It provides the minimum mechanism for an application’s external reach — one honest transport, one explicit clock, typed trust checks, one effect-adapter boundary, and a terminal acceptance that refuses incomplete chains. It realizes nothing by itself, carries no domain semantics, and runs no applications; the engine decides, the .fsp plan binds, the backplane is the plug.

Full documentation set: docs/mrs/backplane-v0.1/.

The one route to remember

Every external effect in FormaSL crosses the same gates, in the same order:

  1. Request — your authorized case leaves through one single-exposure transport request to an external system.
  2. HMAC — any callback is verified over its exact raw bytes.
  3. Freshness — a separate gate; a valid signature is not a fresh one.
  4. Readback — the external system’s own state is re-read with a distinct request; a response never proves its own effect.
  5. Permit — the effect is introduced exactly once; replays cannot mint a second one.
  6. Observation — what came back re-enters the engine as an admitted observation with a non-fabricable causal basis, never as truth.

If any gate fails, the chain fails closed. There is no retry that could silently duplicate an effect.

What you can run today

# the reference consumer: three domains over a real external fixture
cargo build -p formasl-mrs-fixture --bins
MRS_FIXTURE_BIN=$PWD/target/debug/mrs-fixture ./target/debug/mrs-demo-host

# the adversarial suites
cargo test -p formasl-mrs-fixture
cargo test -p formasl-mrs-terminal

A run prints one line per host execution with the external fixture’s process id, port, and the terminal EffectRecords (occurrences ext-… minted by the fixture’s independent ledger). Executed transcripts are in the package’s TUTORIAL.md.

Boundaries worth knowing

  • Controlled fixture, not production vendors: demonstrated effects run against a controlled external fixture; effect on a production vendor is not claimed.
  • Ambiguous exposure is surfaced, not hidden: if a request was written but the response lost, the transport answers ExposureMayHaveOccurred and refuses to retry.
  • The permit is mechanism, not authorization: no .fsl application currently derives the right to introduce an effect through the backplane; that semantic authority is a known open limitation (the “orphan authority” caveat).
  • Documentation is not semantic authority: the crates (crates/transport, crates/time, crates/trust, crates/effect-adapter, crates/mrs-terminal, crates/e2e-controlled, crates/mrs-fixture) are the executable authority for the mechanism.

Naming note

The stack was renamed by owner decision on 2026-10-02: Minimal Realization Backplane, keeping the acronym MRS, every family key, and the crate names. Older documents saying “Minimal Realization Stack” are historical.