swactor/crates/simulation/examples/hello_world.toml
Zachery Aaron Shores-Chmielewski 1f8a67231c feat(sim): rebuild around discrete-event engine
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>
2026-05-21 23:48:02 +04:00

33 lines
602 B
TOML

# Hello-world sim spec — the smallest valid topology.
#
# Two peers, one link, no mutations. Boots them at t=0, runs for
# 1 second of virtual time, shuts down cleanly. The engine writes
# a SPEC §6.4 bundle to disk; the bundle path goes to stdout.
run_id = "hello-world"
seed = 0
duration_ms = 1000
[host_defaults]
mtu = 1500
nat = "FullCone"
[[hosts]]
name = "alice"
role = "peer"
start_at_ms = 0
stop_at_ms = 1000
[[hosts]]
name = "bob"
role = "peer"
start_at_ms = 0
stop_at_ms = 1000
[[links]]
a = "alice"
b = "bob"
bandwidth_bps = 100_000_000
one_way_delay_ms = 5
jitter_ms = 0
loss = 0.0