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