MMruDocs

Overview

Mru documentation

Reference for Mru's open core, for unattended missions with no repair path: the shrinking-quorum runtime, the Dusk simulator, and the tools around them.

Where to start

Quickstart

You need a Rust toolchain. Clone the runtime, run its tests, then run the demo with two replicas killed.

# the runtime and its demo
git clone https://github.com/mruspace/flight
cd flight
cargo test --workspace
cargo run --release --bin quorum -- --policy shrink --ticks 20000 --seed 1 \
  --upset-rate 0.001 --fault kill:0@5000 --fault kill:1@10000

Run the same seed with --policy tmr to compare. The first two lines of each run:

policy=shrink ticks=20000 seed=1 upset_rate=0.001
useful=14989 detected=11 wrong=0 halted_at=never alive_at_end=1 stopped=completed last_useful=20000 kat_tests=174

policy=tmr ticks=20000 seed=1 upset_rate=0.001
useful=9990 detected=9 wrong=0 halted_at=10000 alive_at_end=1 stopped=halted last_useful=9999 kat_tests=0

flight v0.9.0 on an Apple M4, November 18, 2026. The counts depend only on the seed.

Fixed TMR halts at tick 10000, when the second replica dies. The shrinking quorum keeps running on the last replica, which checks its own work.

Then the simulator, which needs no dependencies:

git clone https://github.com/mruspace/dusk
cd dusk
cargo run --release --bin dusk              # 10,000 missions, about 2 s
cargo run --release --bin dusk -- --sweep   # sensitivity, about 1 minute

Times on an Apple M4 with 10 cores.

Where the code lives

RepositoryWhat it isLanguageStatus
mruspace/flightDecision core, demo program, bench, C interface, F´ components and a cFS applicationRust, C++, Cv0.9.0
mruspace/fieldMru Field: the supervisor for hard-to-reach systems on EarthRustv0.3.0
mruspace/duskRedundancy Monte CarloRust0.1.0
mruspace/2049Browser flight simulatorTypeScriptLab

Code Apache 2.0 · Whitepaper CC BY 4.0, doi:10.5281/zenodo.23305299 · Questions: Get in touch