Executable: test_replay_loop - Source: tests/test_replay_loop.cpp - Results: replay_loop.md
Verifies the determinism primitives of DESCRIPTION.md and DESCRIPTION.md: EventJournal, PCG64Engine and the geodesic bundle integrator reproduce an evolution bit for bit from the recorded events.
A four-lane Schwarzschild bundle is evolved for 10000 ticks. In record mode a PCG64 stream (seed 0x1337) creates radial impulses and mass modifications with a 5 percent probability per tick. The journal is then rewound and the evolution is replayed from the journal alone.
| Section | Check | Criterion |
|---|---|---|
| Recording | Events | At least one event is recorded |
| Recording | Evolution | The final digest differs from the initial digest |
| Replay | Consumption | No event remains after the replay |
| Replay | Determinism | The SHA-256 digests of the record and replay states are identical |
Identical digests of the full bundle state prove that every component of every lane is reproduced exactly. The change of the digest during recording excludes a trivial equality.
The journal is a standalone primitive; replay of orchestrator sessions is not implemented (DESCRIPTION.md).
All checks pass.