OmniscioGuidesRelease notes2.1.328
Claude Code 2.1.328: auto mode on cloud providers
Two of this release's changes are about gates: one opens auto mode to older models on cloud providers, and one closes a hole in hook-based policy where an MCP tool hook could fail and let the action through. The rest tidies what a review reports and how a broken sandbox announces itself.
Below: what changed, who it affects, and the exact switch for each.
Last checked against Claude Code 2.1.328 on November 25, 2026. By the Omniscio team. Updated .
Auto mode for Opus 4.6 and Sonnet 4.6
Auto mode replaces the permission prompt with a second model: the classifier reviews what Claude wants to do and decides whether it may. It has been the built-in starting mode for interactive sessions for a while; what it did not cover was these models on these providers.
2.1.328 closes it. Auto mode now covers Claude Opus 4.6 and Sonnet 4.6 on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and the Claude apps gateway, and interactive sessions with no permission mode set start in it. Plan mode and Bash prompts on those models and providers now use and offer auto mode too.
That is a behaviour change you can feel. A question that used to stop and ask now goes ahead, and the safety check happens in the classifier rather than in front of you. Anthropic's permission modes page describes auto mode as requiring a supported model, and notes an organization can turn it off; the disableAutoMode key the changelog names for this turns off both plan mode's use of auto mode and the Bash prompt's offer to switch to it.
One caveat about the documentation: as this page was checked, Anthropic's permission modes page still listed only Sonnet 5, Opus 4.7, Haiku 5.5 and the Fable models as supported on those four providers. The changelog entry is what says Opus 4.6 and Sonnet 4.6 were added, so if the models are not accepted in your session, the changelog is the newer statement and the provider's own model availability is worth checking.
If your sessions on those providers should keep prompting, set the key before you update widely. The permission modes guide covers what each mode permits, and auto mode unavailable covers the case where it is expected and does not arrive.
Sources: the "Added auto mode for Claude Opus 4.6 and Sonnet 4.6" and "Changed plan mode and Bash prompts for Opus 4.6 and Sonnet 4.6" lines in the 2.1.328 entry of Claude Code changelog, and the auto mode sections of Permission modes, read November 25, 2026.
An MCP hook that can block
Hooks can run as a shell command, an HTTP request, a call to a tool on an MCP server, an LLM prompt, or a subagent. On the third kind, type: "mcp_tool", "onFailure": "block" now works, the same field command and HTTP hooks already had.
What it changes is what happens when the hook itself breaks. On most events, a hook that fails or times out does not stop the action, so a policy hook with a mistyped path or a crashing script lets everything through. Setting onFailure to block turns the failure itself into a refusal. Anthropic's hooks reference says the field needs Claude Code v2.1.295 or later, and that on mcp_tool hooks it needs v2.1.328 or later, which is this release.
The same section of documentation is worth reading before you rely on it: on PreToolUse, a timed-out hook does not block the tool call unless the hook is one whose failure blocks, so this field is the difference between a gate and a suggestion. The hooks guide covers all five hook types and where each one runs.
Sources: the "Added `\"onFailure\": \"block\"` for `mcp_tool` hooks" line in the 2.1.328 entry of Claude Code changelog, and the onFailure rows and "Block the action when a hook fails" in Hooks reference, read November 25, 2026.
/code-review narrows to bugs
/code-review used to report more than bugs: reuse, simplification and efficiency cleanups came from it too. From 2.1.328, on most models, it reports only bugs and CLAUDE.md violations, and /simplify is the command for those other cleanups. The qualifier matters — Anthropic's commands page still says that, depending on your model and effort level, a review also covers cleanup opportunities.
On most models, each finding is now marked Important, Pre-existing or Nit, and each summary ends with a suggested fix; a clean review's list reads "Code review found no issues." That last detail matters more than it looks: it makes an empty result unambiguous rather than something you have to interpret.
If a review used to tell you your helper function was duplicated in three files, that finding now belongs to the other command. The code review guide covers both commands and what each one is for.
Sources: the "Changed `/code-review` on most models to report only bugs and CLAUDE.md violations" and "Changed `/code-review` to mark each finding" lines in the 2.1.328 entry of Claude Code changelog, read November 25, 2026.
The smaller changes worth knowing
- Messages that might not arrive. A warning now appears when a message from a session that skips permission prompts may be held and dropped by a cloud session. See messaging another session.
- A dashboard that exports nothing.
/statusandclaude doctornow say when an OpenTelemetry exporter has no endpoint and its data would likely be lost. See OpenTelemetry. - A sandbox that cannot start. It is now reported as such: the next sandboxed Bash command is refused and says the sandbox is off for the session. With
sandbox.failIfUnavailableset, Claude Code refuses to start rather than run a command unsandboxed. See the sandbox guide. - Managed hooks fire less often. A managed
PostToolUsehook no longer fires for a call that was refused before it ran;PostToolBatchgets most of those, without marking them refused. - Code Mode and prompt hooks. Code Mode no longer runs
UserPromptSubmithooks on a script's output; to redact that output, use aPostToolUsehook withupdatedToolOutput. - Resuming a deferred call.
CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUMElets a host stopclaude -p --resumeand--continuefrom running a tool call a hook deferred. - /bug asks first.
/bugnow asks Yes or No before sending, so repeated Enters no longer send a report or open GitHub. - /list-agents is yours alone. Its list is shown to you, not to Claude; Claude lists sessions itself when it needs to.
Sources: the "Added a warning when a message…", "Added a notice in `/status` and `claude doctor`", "Changed how a sandbox that can't start is reported", "Changed managed `PostToolUse` hooks", "Changed Code Mode to no longer run UserPromptSubmit hooks", "Added `CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME`", "Changed `/bug`" and "Changed `/list-agents`" lines in the 2.1.328 entry of Claude Code changelog, read November 25, 2026.
What got fixed
The entry's bug-fix list holds 91 items. These are the ones most likely to have been your problem:
- zsh commands that stopped at a word starting with
=. A Bash command in zsh stopped with a "not found" error at a word that starts with=, such asecho ====or[ a == b ]. - Compaction that reused an old system prompt. Automatic compaction reused the session's earlier system prompt instead of rebuilding it the way
/compactdoes. - Freezes in markdown rendering. Markdown rendering could freeze on some very long or malformed input, and there were rare screen freezes.
- A lost Esc at a prompt. Esc was often lost at a permission prompt or question when you typed straight after it.
- A paste that landed in the prompt. A paste, or a terminal's reply, could be typed into the prompt when a slow connection cut it in two.
Sources: the "Fixed" lines in the 2.1.328 entry of Claude Code changelog, read November 25, 2026.
Who 2.1.328 matters to
| If you… | Read this part |
|---|---|
| Reach Claude through Bedrock, Agent Platform, Foundry or a gateway | Auto mode for older models |
| Run policy hooks, especially ones that call an MCP tool | An MCP hook that can block |
| Review code with Claude every day | /code-review narrows to bugs |
| Watch telemetry, sandboxes or messages between sessions | The smaller changes |
If you are not on this version yet, claude --version prints the version you have and claude update updates the install; the update guide covers each install type.
This table is our summary of the sections above; every row rests on the changelog and documentation lines cited in those sections, read November 25, 2026.
Where these answers come from
- The release, its date and every change listed: the 2.1.328 entry in Claude Code changelog, generated from CHANGELOG.md, read November 25, 2026.
- How auto mode decides, and the models it accepts on each provider: Permission modes, read the same day; the two older models this release adds are named in the changelog entry above.
- The
onFailurefield and what a failed hook does by default: Hooks reference, read the same day.
No Claude Code release was installed on this site's machine to check this page. Every claim about 2.1.328 is taken from Anthropic's changelog entry and the documentation pages named above.
Common questions
Do I have to do anything after updating to 2.1.328?
Only if you want the prompts back. Interactive sessions on those models and providers now start in auto mode when no permission mode is set, and setting disableAutoMode to "disable" stops that. Nothing else in this release needs a switch.
Why did my session start in auto mode on Bedrock?
2.1.328 makes interactive sessions with no permission mode start in auto mode for Opus 4.6 and Sonnet 4.6 on those providers. Set disableAutoMode to "disable" to stop it and go back to prompting.
Where did the other findings in /code-review go?
They moved. From 2.1.328, on most models, /code-review reports only bugs and CLAUDE.md violations, and reuse, simplification and efficiency cleanups belong to /simplify.
Does onFailure block work on MCP tool hooks now?
Yes, from 2.1.328: onFailure set to "block" on a type: "mcp_tool" hook stops the action when the hook's call fails, as it already did for command and HTTP hooks.