{"version":"2.1.333","anchor":"worktree-git-back-link-must-name-the-folder-to-grant-common","canonical_anchor":"worktree-git-back-link-must-name-the-folder-to-grant-common","heading":"Sandbox checks a worktree's link back before opening shared git folders","tier":"notice","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/worktree-git-back-link-must-name-the-folder-to-grant-common","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Sandbox checks a worktree's link back before opening shared git folders\n\nThe sandbox now opens a git worktree's shared folder only if the worktree's link points back to that folder\n\n**What**\n\nThe 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.\n\nBefore, 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.\n\nIn 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.\n\n**Why**\n\nA forged worktree link can no longer be used to get the sandbox to open a folder it should keep closed.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}