Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Apps can say whether Claude or a person changed folders, and the sandbox follows

Apps that embed Claude Code can mark a folder change as made by the model or a person, which decides whether the sandbox stays on

You'll notice Improvements
JSON All of v2.1.334
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.334,
ImprovementsSection of the release
What

Apps that embed Claude Code, such as Claude Desktop, can tell it to move to another working folder. That instruction now takes an optional by value saying who chose the folder. It decides what happens to the sandbox, the limits on what commands may touch:

  • model: the sandbox stays on according to the settings of the folder being left.
  • person: the sandbox follows the settings of the new folder, the same way /cd does.
  • left out: if an earlier move kept the sandbox on, it stays on.

The value only counts when it comes from the program that started Claude Code and feeds it input.

Why

If Claude decides to change folders, it can no longer switch off the sandbox by moving somewhere with looser settings. A person choosing a folder still gets that folder's own settings.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed /cd not loading the new folder's CLAUDE.md after entering and leaving a worktree

See this entry in the whole of v2.1.334 →

Feedback