Marcin Dudek — Blog · Jul 2, 2026
Claude Code Quietly Added a 60-Second Timeout to AskUserQuestion (AFK Mode)
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Claude Code v2.1.198 shipped AFK mode with no changelog line: an unanswered AskUserQuestion now auto-answers after 60 seconds and tells the model to proceed on its best judgment. I reverse-engineered it from the binary - the version bisect, the two undocumented env vars (CLAUDE_AFK_TIMEOUT_MS, CLAUDE_AFK_COUNTDOWN_MS), the months of GitHub issues closed as "not planned", and why the safe option…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.