AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Oct 4, 2026, 22:00 JST

Remote Control blocks Claude Code auto-continue after limit reset

Remote Control blocks Claude Code auto-continue after limit reset

3 Key Points

  1. What happened

    The author traced Claude Code's auto-continue after a usage-limit reset to Remote Control sessions, reporting 0 starts in 10 hits while connected versus 8 in 8 when not.

  2. Why it matters

    Teams running long Claude Code jobs over Remote Control may find stalled sessions after a reset, since the built-in wait is documented as not starting there.

  3. What to watch

    The fix relies on Stop and StopFailure hooks using asyncRewake, but the author says the real 5-hour reset and live rate_limit StopFailure were tested only with unit tests, not on a live machine.

WHO IT HITSDevelopers and small teams running multi-agent or overnight Claude Code work on Max plans via Remote Control would be most affected, since their sessions can silently fail to resume after a 5-hour limit reset.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The author's setup is aimed at a specific workflow: an Opus main session dispatching Sonnet subagents in parallel, running a hackathon project of 86 tickets. That run hit the session limit and did not auto-continue, so the author had to type "continue" manually at the 23:40 reset. The reported evidence comes from transcripts, where limit hits within 10 minutes were counted: 29 in total, with 10 of 10 failing to auto-continue while Remote Control was connected and 8 of 8 starting when it was not. One session that switched state shows the pattern cleanly — three hits before /remote-control started, three after did not. The author also says the bundled CLI code at version 2.1.289 returns immediately from the function that starts the wait when Remote Control is connected, while noting this is internal implementation that can change.

The workaround keeps the built-in auto-continue enabled and layers four hooks on top: Stop and StopFailure(rate_limit) run a resume step that waits for the reset and wakes the session with exit 2 under asyncRewake; UserPromptSubmit adds usage context and blocks the built-in continuation prompt at or above the weekly line; and a PreToolUse gate asks for confirmation before dispatching or continuing agents. Validation was two probes with real interactive sessions and 35 unit tests, though the author states the real 5-hour reset, behavior above 85% weekly, and a live rate_limit StopFailure were only exercised in unit tests with fake data, on Claude Code 2.1.289, macOS, and a Max plan.

The stakes here hinge on whether the built-in exclusion persists in future Claude Code versions and whether the hook path behaves the same outside the tested environment. For anyone relying on unattended Claude Code runs, the practical question is whether their sessions are silently attached to Remote Control — the author warns this can happen without the user ever typing the command — and whether their own guard rails are tested against a real limit reset rather than simulated data.

FAQ
How can I tell if Remote Control is active on my session?
The author says Remote Control can be set to auto-connect to all sessions via "Enable Remote Control for all sessions" in /config, so you may be connected even without typing /remote-control yourself.
Does the workaround fix the problem on a real machine?
The author says the real 5-hour reset, weekly usage above 85%, and a live rate_limit StopFailure were not tried on a real machine, only via unit tests with fake data.
What does the weekly 85% stop line do?
It keeps a reserve for everyday use: at or above 85% weekly usage the setup blocks the built-in auto-continue prompt and asks before dispatching or continuing agents. The default line is 85%, changeable with --stop N.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleTSMC, $2.4 trillion chipmaker behind AI, reports $143 billion revenue