if he had my PreToolUse hook, this would never happen
this skill will set it up for you:
github.com/davidondrej/skill…
Link
skills/skills/ops-and-setup/global-agent-guardrails/SKILL.md at main · davidondrej/skills
access to david ondrej's personal agent skills. Contribute to davidondrej/skills development by creating an account on GitHub.
github.com
International Cyber Digest (@IntCyberDigest)
‼️ Claude Code deleted all of a developer's user files by mistake and then blamed it on a typo.
The developer asked Claude Opus 5 to make a backup. It wrote the backup to the wrong path, then ran a force delete of every user file and folder to clean up its own mistake.
The dev says he lost all his files and was left with an agent carrying on like nothing had happened. His words: "simultaneously the funniest and most painful AI moment I've had."
— https://nitter.net/IntCyberDigest/status/2085095341171347658#m