flybrain/services/flysim/crates/fly-session/tests
acamilo 563afb18f0 tests: the legacy agent worker checked against FND-01's FLY_TRACE of the running legacy frame
FLY_TRACE carries digests, not the frames or the {boot, bound, location} context, so it checks
a worker rather than drives one. legacy_parity gains read_frame_trace and check_against_trace
(ticks, clock, exact remainder, rates digest, spike-set digest, decision; the script held to the
trace's sugar, frames, rewards and rollback), RestoredSource, and
AgentDriver::seed_from_legacy_state for a worker started from a FLYSIM01 agent state.

flysim/tests/agent_trace_parity.rs runs LegacyFrame on the ROM with the trace on, records the
missing inputs, and checks the direct reference and the worker in-process, on a thread and as a
process: toy raw from power-on (FLY_ROM), and gameboy-legacy-fafb-v783-v1 macros mode from a
stream checkpoint with sugar and a ratchet rollback (FLY_AGENT01_FAFB=1). fly-session is a
flysim dev-dependency only.

A FLYSIM01 import starts learning.updates at the legacy plasticity.updates
(legacy_reinforcements): starting at zero broke changed <= updates on the live checkpoint.
2026-09-29 14:26:07 +00:00
..
common session: parallel processes, a launcher and the fault behaviour 2026-09-22 14:33:25 +00:00
failures.rs session: resolve uncertain calls, and measure each mode in its own process 2026-09-22 15:41:42 +00:00
legacy_agent.rs tests: the legacy agent worker checked against FND-01's FLY_TRACE of the running legacy frame 2026-09-29 14:26:07 +00:00
media.rs session: an unknown launch option is an error, not a no-op 2026-09-22 16:28:59 +00:00
processes.rs session: hold an Acknowledge to the request it answered 2026-09-22 21:03:09 +00:00
publishing.rs session: an unreadable event batch is not the end of the stream 2026-09-22 21:03:59 +00:00
session.rs Merge main: the per-fly processes, the launcher and the thread budgets 2026-09-22 16:07:30 +00:00
state.rs session: name the two ways a durable wait ends without an acknowledgment 2026-09-22 18:45:51 +00:00