Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.193 Home All releases olderv2.1.191 v2.1.195newer
Claude Code v2.1.193

Destructive Command Scope Detection

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 →