Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.257 ·

Worktree git-isolation guard now analyzes complex shell trees, not just simple commands

The worktree git guard now parses complex shell commands instead of refusing them all, only refusing what it cannot verify.

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaWorktreeswhat it touches
KindImprovementsin v2.1.257,
You'll notice

The worktree git guard now parses complex shell commands instead of refusing them all, only refusing what it cannot verify.

The worktree git-isolation guard, which blocks git commands from escaping an isolated worktree, no longer refuses every non-simple shell command outright. It now parses complex commands (subshells, pipes, etc.) into an AST and only refuses when the command is unparseable, contains an error node, or a regex flags the git invocation as too complex to verify; otherwise it walks the parsed tree looking for actual worktree-escaping redirection.

See this entry in the whole of v2.1.257 →

Feedback