Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Write tool's dangerous-rm-on-unset-variable check refactored, message likely unchanged

Internal cleanup of the dangerous rm-with-unset-variable safety check, no visible behavior change

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaBash Safetywhat it touches
KindInternal Changesin v2.1.277,
Under the hood

Internal cleanup of the dangerous rm-with-unset-variable safety check, no visible behavior change

What

The safety check that warns about bash commands like rm -rf $UNSET/* (deleting based on a variable that might be empty or unset) now builds its warning message through a shared helper function instead of assembling the text inline. The check still fires under the same internal event name, tengu_bash_dangerous_rm_too_complex.

Why

This is an internal refactor; the warning shown to users for this kind of risky command is expected to stay the same.

See this entry in the whole of v2.1.277 →