The kernel is deterministic, seeded by Mulberry32 (a 32-bit pseudo-random number generator). Given the same seed, scenario, population and key personnel, a run starts with the same roster, and each person rolls the same dice for each cause each year whoever leads. What differs between two leaders' worlds comes from each leader's traits, which scale an event's outcome and pull the department heads' personalities, from what the model writes for each (events, department reports, choices), and from the states those leave. wm.replay(artifact) re-runs each between-turn step from the state the run started it from, without calling a model, and compares the result under canonical JSON with the state the run saved right after that step, before the turn's decisions; matches=false names the first divergence path. A run saved before the turn loop kept those snapshots gets an error saying replay cannot verify it, never a match or a mismatch; the FAQ says what replay proves. wm.forkFromArtifact(trunk, atTurn).simulate(altLeader) branches a counterfactual from any captured turn, the CWSM pattern.
PRNG methodology: Law & Kelton, Simulation Modeling and Analysis (5th ed., McGraw-Hill, 2015) · CWSM framing: Kirfel L. et al. (2025) · API surface: WorldModel.replay(), canonicalJson, firstDivergence in paracosm/runtime/world-model.