Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Windows sandbox now writes and renews its own file-blocking rules

On Windows, the sandbox now installs and renews its file deny rules itself; set CLAUDE_CODE_SANDBOX_LEAVE_DENIES_TO_SRT_WIN to turn this off

You'll notice Improvements
JSON All of v2.1.299
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.299,
ImprovementsSection of the release
What

The sandbox is a fenced-off environment that limits which files and network addresses commands run by Claude Code can reach. On Windows, Claude Code now writes the sandbox's deny rules (the list of paths commands may not touch) itself, through a built-in native command. It also renews them while it runs. If renewal fails, Claude Code stops with an error and reports that the rules were not renewed.

To switch this off, set the environment variable CLAUDE_CODE_SANDBOX_LEAVE_DENIES_TO_SRT_WIN. Claude Code checks it at startup and, when it is set, leaves the deny rules to the sandbox runtime, srt-win, as before.

Claude Code also expands wildcard patterns in deny and allow paths, and it now takes symbolic links (shortcuts that point to another file or folder) into account when it does.

Why

This changes how Windows sandbox file protections are enforced. If the new behaviour causes problems, the environment variable lets you go back to the old one.

See this entry in the whole of v2.1.299 →

Feedback