Claude Code 2.1.326 tightens sandbox and permission checks and adds Code Mode with agent teams
Claude Code 2.1.326 lets Code Mode run with agent teams, makes more Bash, PowerShell and file operations ask or be refused, stops sandboxed writes to sensitive home folders, and changes how hook blocks, plugins and Remote Control proxies behave.
What does this mean for me?
Plan for it
Engineering leadership
Cost, risk, timeline, team impact Worth knowingA security-tightening Claude Code release: unattended jobs may hit new prompts or refusals. If you deploy plugins or hooks centrally, have someone check them, since previously refused plugins now load and block decisions hold more often.
Engineer
What to change, what breaks, what to test Plan for itRe-test `claude -p`, scheduled and CI runs on 2.1.326: more Bash, PowerShell, `cp`/`mv` and sandboxed writes now ask or are refused. Check hooks that always emit `"decision": "block"`, and proxies used by Remote Control must allow CONNECT.
General consumer
Using the Claude apps, not the API No impactNothing to do. This is a Claude Code release for developers and does not change the Claude chat apps.
Claude Code 2.1.326 lets Code Mode be turned on while agent teams are enabled; anyone who already turned it on now starts team sessions in Code Mode. It adds a startup warning for incomplete --allowedTools, --disallowedTools or --tools entries, a /status row naming features turned off by the provider or an environment variable, OTEL_RESOURCE_INCLUDE_HOST for host attributes in OpenTelemetry (off by default), and /help <command>.
The release makes many permission checks stricter. More Bash, PowerShell, cp and mv commands ask first, or are refused where nobody can answer; some calls in bypass permissions mode now ask; auto mode stops some shell commands that ran before and ignores some wildcard allow rules; and file tools refuse writes to Claude Code’s sign-in files. Sandboxed commands on macOS, Linux and WSL no longer write to some sensitive home folders by default (sandbox.filesystem.allowWrite can allow some of them). Unattended runs are the most likely to notice.
Several behaviours change for administrators and integrators. A hook’s "decision": "block" holds in more cases, so a hook that always prints one may start blocking calls. Enabled plugins previously refused for a malformed plugin.json display field now load with their hooks and MCP servers. Remote Control now connects through a CONNECT tunnel, so a proxy that refuses CONNECT stops it. Self-hosted runners on Linux and macOS without gh get a built-in gh api routed via Anthropic by default (--use-anthropic-gh false turns it off). Compaction in plan mode now uses the answering model, such as Opus with opusplan, so it can cost more. The /claude-api skill now builds agents on Managed Agents by default.
The release also carries a long list of fixes to sign-in, MCP, Remote Control, rewind, background agents and terminal rendering. The auto mode default for HIPAA-configured organizations is recorded separately.
The changelog carries no dates; the date is the 2.1.326 publish date. 2.1.327 was published on November 17 but has no changelog section yet.
Topics: Coding tools