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.265 ·

Bash command comparison for approval matching reworked

The check that matches bash commands for permission approval was rewritten to handle more command-prefix forms

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPermissionswhat it touches
KindImprovementsin v2.1.265,
You'll notice

The check that matches bash commands for permission approval was rewritten to handle more command-prefix forms

What

When Claude Code decides whether two bash commands should be treated as the same for permission or approval purposes, it previously did this by stripping a literal cd <directory> && prefix. That logic has been replaced with a more general comparison that also correctly handles the way Windows quotes a cd prefix.

Why

This makes permission matching for bash commands more reliable on Windows, reducing cases where a command that should be recognized as already-approved is instead treated as new and prompts for approval again.

See this entry in the whole of v2.1.265 →

Feedback