You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release
What
Claude Code's file tools, the ones Claude uses to create and edit files, refuse to write into the rm-guard folder inside the Claude Code config directory. That directory is ~/.claude, or wherever CLAUDE_CONFIG_DIR points. The refusal also covers writing through a link that leads into that folder.
The reason given is that a script placed there could run in place of rm, the delete command, in later shell commands without anyone being asked. This check cannot be waved through by the automatic approval step that otherwise lets some actions run without asking you.
Why
It stops a file Claude writes from quietly taking over rm in commands that run later.