What
The REPL is a place where Claude runs scripts during a session. After a compaction (when Claude Code shortens the conversation to save space) or after a REPL run fails, Claude Code adds a critical system reminder to the conversation. A system reminder is a note added for Claude, not for you. The reminder says:
- The REPL context is new, so variables, functions and timers from earlier scripts no longer exist.
- Claude should check whether an earlier action already happened before doing it again.
The reminder is labelled repl_empty_note. In this build, an item called repl_empty_note sits in a list of REPL entries next to repl_mcp_servers_note. One finding recorded that list item as new in this build. The other found the reminder itself already present in the previous build.
Why
If the REPL loses its state, Claude could otherwise assume earlier work still exists or redo an action that already took effect. The reminder is meant to stop it from repeating side effects, such as sending something twice, after the REPL is reset.