You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release
What
A worktree is a separate working copy of a git repository. A hook is a command you configure that runs at set points and can approve requests. A tool call is one action Claude takes, such as running a command.
When an agent enters a worktree, a permission prompt approved by a hook now counts only if that approval was given for the same tool call. Before, any hook approval counted. If the approval came from a different call, Claude Code now moves write access to the worktree. It no longer reports that it added no sandbox write permission. A sandbox is a restricted area that limits where Claude can write.
Why
Permissions are tighter: a hook's approval of one action no longer carries over to another.