You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.309,
ImprovementsSection of the release
Unclear Exactly which commands are now refused is not clear.
What
Worktree isolation keeps Claude working in its own separate copy of a git repository. A guard checks git commands so they cannot reach outside that copy. A command can begin with variable assignments, such as GIT_DIR=... placed before the command name, which change how the command runs.
The guard now finds the last such assignment before the command and checks earlier assignments differently from it, with extra conditions. Before, each assignment was checked the same way.
Why
This is a change to a safety guard, and it appears to tighten the check against assignments that could redirect git.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtExactly which commands are now refused is not clear.