Claude Code agents delete files via empty paths
Claude Code agents can accidentally delete substantial amounts of files by constructing destructive commands with empty or misdirected path variables. The author explains specific incident patterns involving shells and variable expansion, and introduces claude-bulkhead, a set of PreToolUse hooks designed to block these destructive commands and suggest safer alternatives. Open article →