Claude Code · tool · fg-0587

Self-paced /loop stops after one turn instead of rescheduling a fallback wakeup

If you see A self-paced /loop ends when a turn finishes without rescheduling, the cause and the fix for Claude Code are below, last verified 2026-11-06.

Verified Nov 2026trust 50/100
Symptom
A self-paced /loop ends when a turn finishes without reschedulingLoops that used to keep waking up on a fallback timer no longer do after 2.1.319
Cause
Since 2.1.319 a self-paced /loop ends if the turn finishes without rescheduling. It no longer schedules a fallback wakeup.
Fix
Set CLAUDE_CODE_LOOP_KEEPALIVE=1 to restore the earlier keepalive behavior, or make sure the loop prompt always reschedules itself.
Apply
export CLAUDE_CODE_LOOP_KEEPALIVE=1
Affected
Claude Code 2.1.319 and later
Sources

Last verified 2026-11-06 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun