Replaces the generic SimNode/gossip/dashboard framework with a virtual-time discrete-event engine (priority queue ordered by time/node/fiber/seq), a TOML spec parser, bundle writer, replay, divergence detector, lint, and postproc, plus the parity-bar test harness with fixtures and xtask parity-lock tooling. Rewrites transport identity/crypto and adds the SPEC/TESTING_SPEC/OBSERVABILITY/NORTH_STAR docs. Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
17 lines
632 B
Rust
17 lines
632 B
Rust
//! The runtime trait surface is fingerprinted; the lock value lives
|
|
//! in `surface.lock`. Live ≠ locked is a hard fail. Updating the
|
|
//! surface and the lock together is a single commit.
|
|
|
|
#[test]
|
|
fn live_fingerprint_matches_locked() {
|
|
let live = simulation::runtime::surface_fingerprint();
|
|
let locked = include_str!("../surface.lock").trim();
|
|
assert_eq!(
|
|
live, locked,
|
|
"runtime surface fingerprint drifted.\n\
|
|
live = {live}\n\
|
|
locked = {locked}\n\
|
|
If the trait surface change is intentional, update \
|
|
crates/simulation/surface.lock in the same commit."
|
|
);
|
|
}
|