Claude Code v2.1.108 ·
REPL Replay and Drift Detection
EntryKind: in v2.1.108,
ChangesSection of the release
What
Infrastructure for replaying REPL code blocks after compaction to validate that execution produces consistent results.
Details
- Extracts code blocks and tool calls from conversation history for replay
- Caches tool call results to replay against
- Detects nondeterminism: "likely nondeterminism (Date.now, Math.random) took a different branch"
- Throws
ReplayCacheExhausted when replayed code makes more tool calls than the original - Reports replay status: "N blocks replayed cleanly"
Evidence
Replay infrastructure (search for "REPL replay" and "ReplayCacheExhausted")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.108 →