You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.330,
ImprovementsSection of the release
Unclear It is not clear whether this check is behind a switch, or exactly which commands now prompt.
What
Before Claude Code runs a command that deletes files with rm or rmdir, it checks whether it should ask your permission first. That check now also looks at parts of a command line it has not yet fully worked out. It also looks at parts that sit next to eval or source, which are shell commands that run other text as code. It scans these parts for files that rm would delete.
If the input is too long to check, Claude Code asks you instead of deciding on its own.
Why
You may see permission prompts for deleting files more often in long or compound shell lines.
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 doubtIt is not clear whether this check is behind a switch, or exactly which commands now prompt.