Claude Code 2.1.323 limits saved approvals, tightens the sandbox and assumes a 1M window
Claude Code 2.1.323 stops saving approvals that look like secrets, makes worktree commands read-only in the sandbox, and changes the default context window for unknown models.
what changed
Claude Code 2.1.323 came out on 12 November 2026. The changelog lists these changes among many others:
- “Don’t ask again” rules that look like they hold a secret, or that would be saved to a git-tracked
settings.local.json, now last for the session only. They are not saved. - An exact Bash or PowerShell ask rule is refused, not asked about, when a broader deny rule covers the command.
- If a permission check fails after a
PreToolUsehook returned “allow”, Claude Code decides the call as if no hook had answered. - On macOS and Linux, the sandbox treats
git worktree add,moveandremoveas read-only. A write grant that goes through a symlink to somewhere else is ignored. - An unrecognized model ID now assumes a 1M context window, up from 200K. Setting
CLAUDE_CODE_DISABLE_1M_CONTEXT=1keeps 200K. - Plugins can set
engines["claude-code"]inplugin.jsonto state which Claude Code versions they support. - Code Mode is new, experimental and opt-in. Claude writes JavaScript to call its tools.
The changelog also lists 195 bug fixes, including fixes for Bash allow rules such as Bash(ls*) skipping prompts in some cases.
why it matters
Teams that share settings.local.json in git, or that approve commands with tokens in them, will see those approvals stop persisting. That is the safer result, but it can surprise people who relied on them.
Teams that run Claude Code through a gateway or another provider with a smaller context window are at real risk. The changelog warns that a full session can fail every turn until /clear. Teams with sandbox write grants through symlinks will find those grants no longer work. Plugin authors get a way to stop their plugin loading on versions it was not built for.
what we would do
- Update a test machine first, then read your saved allow rules and remove any that carry a secret.
- If you use a non-Anthropic model with a smaller window, set
CLAUDE_CODE_DISABLE_1M_CONTEXT=1in managed settings before you update. - Replace sandbox write grants that go through symlinks with the real path.
- Plugin owners: add an
engines["claude-code"]range and runclaude plugin validate. - Leave Code Mode off until you have read its page and tested it in a throwaway repo.
sources
- Claude Code changelog, version 2.1.323 (Anthropic)
Drafted with Claude from the linked sources, reviewed by us.