{"version":"2.1.326","anchor":"sandbox-bookkeeping-and-path-resolution-reworks","canonical_anchor":"sandbox-bookkeeping-and-path-resolution-reworks","heading":"Sandbox keeps track of entering a worktree and of moves","tier":"internal","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/sandbox-bookkeeping-and-path-resolution-reworks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Sandbox keeps track of entering a worktree and of moves\n\nThe sandbox now records when a session has entered a worktree and when a move is on hold, and checks each tool call on its own\n\n**Unclear.** What these sandbox changes do for a reader when a session enters or moves a worktree is not shown.\n\n**What**\n\nThe sandbox is the protected area that limits what commands run by Claude Code can touch. It now keeps track of whether the session has entered a worktree, which is a separate working copy of a git repository, and of a hold placed while a folder is being moved. It also looks up, for each individual tool call (one action Claude takes, such as running a command), whether a safety check was skipped for that call. Path handling now works on one path at a time.\n\n**Why**\n\nThese point to a change in how the sandbox behaves around worktrees.\n\n- Area: Sandbox\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}