Low-level history loader with automatic cache management and crash recovery.
Valid session handle.
If true, bypasses the JSON snapshot and replays the JSONL log directly.
History snapshot or null if no record exists.
Low-level history loader with automatic cache management and crash recovery.