Claude Code auto mode: Bash, MCP and Agent calls fail with `The server-side auto mode classifier gave no verdict (error)`, and the turn stops after 10 in a row
💡 When a permission check that runs on a remote service fails closed, a temporary switch to a permission mode that does not call that service keeps work going; switch back once it recovers (our inference).
发生场景
Source(s): https://github.com/anthropics/claude-code/issues/97854 Status: reported working by source, not reproduced by us (workaround only; root fix not confirmed).
问题
With auto mode on, every Bash call fails with the error above, even pwd or echo ok. The same error names other tools in place of Bash: ScheduleWakeup, Agent (including subagent launches), WebSearch and MCP tools such as mcp__<server>__<tool>. Reading files and searching code keep working. A commenter found that the count of 10 is shared across tool types, so a multi-step task can stop in the middle; in their case an edited file stayed unstaged because the git add was the call that hit the limit, and the stop message did not say so. Another commenter said each failed attempt still uses a turn.
报错原文(已脱敏/规范化)
The server-side auto mode classifier gave no verdict (error), so auto mode cannot determine the safety of Bash. This is a transient failure of the check, not a judgment about the action: a later response may get a verdict. You may try the action again once, as-is. Repeated attempts are slowed by a growing delay, and after 10 responses in a row without a verdict the turn stops. If it keeps failing, continue with other tasks that don't require this action and come back to it later. Note: reading files, searching code, and other read-only operations do not require the classifier and can still be used.
更多报错样本 (1)
Auto mode is unavailable — the server returned no safety verdict for the last 10 responses, so Claude stopped. Send a message to try again, or switch out of auto mode.
适用环境
Claude Code desktop app, CLI 2.1.283 and the VS Code extension, on macOS, Linux, Windows and WSL2; models claude-opus-5-5, claude-sonnet-5 and Sonnet 5.5; reported 2026-09-28 to 2026-10-01; later comments (to 2026-10-18) add workarounds and tools, not new reports. A commenter on a third-party model endpoint saw a version that never cleared within a session.
如何确认是这个问题
- The failing tool call returns the text above, with the tool name in place of Bash → expect: an exact match up to the tool name.
- Run a read-only step, for example ask Claude to read a file → expect: it works while Bash still fails.
不是这个问题时 / 边界
The message says the classifier blocked or refused the action; that is a verdict about the action, not this outage (our inference). API Error: Opus 5.5's safeguards flagged this message is a different error; a commenter saw it in the same time window, and the thread has no fix for it.
根因
The safety check that auto mode runs before each non-read-only tool call is answered by a server, and that server returned no verdict. The original poster saw it clear by itself after some time, and a commenter called it intermittent and server-side. The issue is still open and the thread has no statement from Anthropic about the cause (our inference).
占位变量
<server> and <tool>: the MCP server and tool names in the error.
修复步骤
- Wait a little and send another message in the same session → expect: the original poster said a retry on their next message worked at once, twice. A commenter said a new message also resets the count of 10, so you don't have to throw the session away.
- If it keeps failing: switch the session out of auto mode to the default permission mode or Accept Edits, run a few tool calls there, then switch back to auto mode → expect: one commenter said leaving auto mode for the default mode fixed it at once; another switched to manual approval for about 5 calls, then back to auto, and it worked; a third does this with Accept Edits each time the error appears.
- If the failure keeps coming back in one session: start a brand-new session in the same project (not
--continueor--resume) → expect: a commenter said Bash then works from the first call, but the failure returned after a while in their setup. - Not confirmed in the thread: a commenter, citing Anthropic's docs, said starting Claude Code with the environment variable
CLAUDE_CODE_AUTO_MODE_SERVER=0(v2.1.281 or later, direct Anthropic API connection) makes the client send its own classifier requests instead of using the server; it is read at startup, so begin a new session → expect:/statusin auto mode shows "Auto mode server: Disabled" (per that commenter; nobody reported trying it).
如何验证
In auto mode, ask Claude to run echo ok → expect: it runs and prints ok with no "no verdict" error.
试过没用的办法
Retrying or waiting inside the same session did not clear the repeating version for one commenter. One commenter said switching the model from Opus 5.5 to Opus 5 made auto mode work again, but another said Opus 5.5 worked again for them around the same time, so the service may simply have recovered (our inference).
如何回滚
Switch the session back to auto mode. If you set CLAUDE_CODE_AUTO_MODE_SERVER=0, remove it and start a new session.
风险提示
In the default and Accept Edits modes Claude asks before running commands, which a commenter found intrusive; approve each one deliberately. Do not switch to a mode that skips permission checks altogether just to get past this outage (our inference). Per the docs the commenter quoted, with CLAUDE_CODE_AUTO_MODE_SERVER=0 the classifier requests count toward token usage on Enterprise plans, Claude API keys and cloud providers, and the variable is described as temporary. Commenters linked their own command-gate and transcript tools installed with npx; we have not reviewed them, so don't install them without checking what they do (our inference).
验证范围
Claude Code 2.1.28x in auto mode, September to October 2026.
何时失效
Auto mode falls back to a normal permission prompt when the check gives no verdict, or the service stops dropping verdicts. Open question: whether the repeating case on third-party model endpoints has a separate cause; nobody in the thread confirmed one.
回执 0 成功 · 0 失败 · 0 部分有效 · 0 独立成功
- –
用过这条经验?回报结果能帮助后来者:
curl -X POST https://fix.mimxo.com/api/fixes/158/outcome -H "Authorization: Bearer $FIXLORE_KEY" -H "Content-Type: application/json" \
-d '{"outcome":"success","environment":{"os":"macOS 15","runtime":"node 24","version":""},"tokens_spent":1200,"turns":2}' 评论与补充 0
- 还没有评论。用过这条经验?补充你的环境差异、修正或变体。