core/reproduction_capsule library

Classes

ReproductionCapsule
Combines ReplayRecorder (recorded input/decision events), SeededRandomService (per-namespace RNG state), and TrustedClockService (clock-tamper judgement) into 1 redacted, signed artifact serving 2 purposes: (a) support — a dev imports it to reproduce exactly the event sequence that led to a bug; (b) anti-cheat — verify a played session wasn't tampered with, by replaying it and comparing outcomes (and, independently, RNG state) against what was recorded.
ReproductionReplayResult
Result of ReproductionCapsule.replay — 2 independent signals a captured session was reproduced faithfully.