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

Claude Code v2.1.193 ·

Destructive Command Scope Detection

Entry
JSON All of v2.1.193
EntryKind: in v2.1.193,
ImprovementsSection of the release
What

A new analysis pass for Bash and PowerShell commands classifies the scope of destructive operations (e.g., rm -rf, Remove-Item -Recurse) as cwd, outside_cwd, tmp, or unknown, enabling more targeted permission prompts.

Details
  • Analyzes both bash-style (rm -rf path) and PowerShell cmdlet (Remove-Item -Path target -Recurse -Force) syntax.
  • Recognizes temp-directory patterns on macOS (/tmp, /var/tmp, /private/tmp), Linux, and Windows (%TEMP%, AppData\Local\Temp).
  • Shell expansions ($VAR, backticks, wildcards) cause the scope to be classified as unknown rather than guessing.
Evidence

New scope detection (search for "destructive-target-scope parse failed")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.193 →

Feedback