You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
The sandbox is the set of limits on which files and folders commands may touch. A git worktree is an extra working folder linked to the same repository. Its shared git data lives in a common folder elsewhere.
Before, the sandbox opened that common folder to a worktree without further checks. It now first checks that the worktree's link back names this folder. If it does not, the sandbox keeps the common folder closed and logs the event.
In some cases the sandbox now also blocks writes to the MCP configuration file of extra folders you added to the session. MCP configuration lists the outside tool servers Claude Code connects to.
Why
A forged worktree link can no longer be used to get the sandbox to open a folder it should keep closed.