AI Compass / News
Claude Code 2.1.326: more prompts, a tighter sandbox
The 13 and 16 November releases make Claude Code ask more often and protect more files. If you run Claude Code unattended, know this before you update. The stable channel doesn't have these changes yet.
Source: Claude Code Changelog, Version 2.1.326,
Note: I use Claude and Claude Code for my own work. Anthropic does not pay me, and the links are not affiliate links.


What happened: Version 2.1.326 of Claude Code, Anthropic’s coding assistant for the terminal, came out on 16 November 2026. It continues what version 2.1.325 started three days earlier: Claude Code asks more often before it runs something, and the sandbox protects more. The sandbox is a boundary that the operating system draws around the shell commands Claude runs. Inside it, you decide which files and network addresses a command can reach.
What’s new in 2.1.326:
- The sandbox writes less: On macOS, Linux and WSL, sandboxed commands can no longer write to some sensitive folders in your home directory by default. You can allow some of them again with
sandbox.filesystem.allowWritein user or managed settings. - Sign-in files protected: Claude’s file tools now refuse to write to Claude Code’s sign-in files, such as
.credentials.json. Shell commands that reach these files trigger a prompt more often. - More prompts: Some
cpandmvcommands now ask first. Even in bypass permissions mode, which normally skips prompts, some tool calls now ask for approval. Where no one can answer, they’re denied. - Warning for incomplete rules: At startup, Claude Code warns you if an entry in
--allowedTools,--disallowedToolsor--toolsdoesn’t look like a complete rule. If a rule added in/permissionscouldn’t be saved, the terminal now says so and names the file. Before, it only looked saved. - Fix for
claude purge: When the command’s output was redirected, its prompts were invisible, and a single Enter could delete a project’s data. The prompts now show in the terminal.
Since 2.1.325 on 13 November: Sandboxed shell commands no longer run without asking; they go through the normal permission prompt. sandbox.autoAllowBashIfSandboxed: true brings back the old behaviour. Scheduled tasks and /loop now ask before running a skill that brings its own tool permissions (allowed-tools) or hooks. Hooks are commands Claude Code runs by itself when certain events happen. Add Skill(name) to permissions.allow to let such a skill run without you again.
What it means for you: After updating, you’ll see more prompts, and some commands that used to run will be refused. A task that runs without you, scheduled or with /loop, can stop at a prompt. That’s intended, not a bug. When this reaches you depends on your update channel: latest gets new versions right away, while stable serves a version that is usually about a week old, according to the documentation. On 17 November, stable was still serving version 2.1.311, so none of these changes yet.
What you can do:
- Check your version:
claude --versionshows which version you’re on. - Set up the sandbox deliberately: In
/sandbox, choose “auto-allow” or “regular permissions”. The documentation warns that in auto-allow mode even a malicious command can run without a prompt; the sandbox alone won’t reliably stop it. - Adjust unattended runs: Allow skills that should run on a schedule with
Skill(name). Only widen folder write access deliberately, withsandbox.filesystem.allowWrite. - Read startup warnings: If Claude Code warns about one of your rules at startup, check the rule it names. Then watch the first scheduled run to see whether it stops at a prompt.
To block writes outside your project, see Claude Code: you can now block writes outside the project folder.
Context: Everything here comes from Anthropic’s changelog and documentation; the release dates come from the npm package registry. The changelog doesn’t list which home-directory folders the sandbox now protects. I haven’t tested the new version myself.
My workshops show you how to bring AI into your team. See the workshops