Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.307 ·

Complex shell commands may now ask before running when rm cannot be ruled out

Claude Code now asks for approval when it cannot fully check nested parts of a command for a dangerous rm

You'll notice Improvements
JSON All of v2.1.307
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.307,
ImprovementsSection of the release
What

Claude Code checks shell commands for a dangerous rm (the command that deletes files). Some commands contain other commands inside them. When Claude Code cannot check all of those inner pieces, it now asks for your approval instead of letting the command through.

For commands with more than 64 of these inner pieces, it now blocks whenever a further test matches, not only when rm appears in the text. The reasons it gives now start with "not ruled out".

Why

Some complicated commands that used to run without asking will now stop for your approval, because Claude Code could not show they were safe.

See this entry in the whole of v2.1.307 →

Feedback