The sandbox is a restricted environment that limits which files commands run by Claude Code can read or change. Claude Code uses it to keep some files, such as git's own folders and .mcp.json, from being changed. Several parts of this protection changed:
- Links: Claude Code now follows symbolic links (shortcuts that point to another location) when working out which paths to block.
- Worktrees folder: Claude Code warns when a worktrees folder is a link that points to another computer.
.mcp.json: the block now also holds when the file cannot be accessed because of permissions, and when the file does not exist.- Moved-aside files: the message saying a suspicious file was moved aside now tells you to inspect it first.
- Start-up failures: when the sandbox fails to start, the reason given names its source more precisely.
These changes make it harder to get around the sandbox's write protection by using links that point somewhere else.
tengu_mighty_thimble Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.324: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.324. It isn't a statement about your account. What a flag value here can and cannot tell you