Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

The rm -rf warning matches a different set of commands

The rule behind the "may recursively force-remove files" warning was rewritten, changing which rm flag combinations trigger it

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

Unclear Which rm commands stop or start showing the warning is not stated.

What

Claude Code shows the note "may recursively force-remove files" when a command looks like rm with recursive and force flags, a combination that deletes whole folders without asking. The pattern that decides when this note appears was rewritten, which changes which combinations of rm flags trigger it.

Why

The warning now fires on a different set of rm commands, so it may appear or stay quiet where it did not before.

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 doubtWhich `rm` commands stop or start showing the warning is not stated.

See this entry in the whole of v2.1.333 →

Feedback