4 ms·
Just to confirm that this is not a rare event, had the same last week (Claude nukes a whole file after asking to remove a single test). Always make sure you ar
by microtonal 1y ago
Just to confirm that this is not a rare event, had the same last week (Claude nukes a whole file after asking to remove a single test).
Always make sure you are in full control. Removing a file is usually not impactful with git, etc. but an Anthropic has to even warned that misalignment can cause even worse damage.
- SAI_Peregrinus 1y agoThe LLM can just as well nuke the `.git` directory as it can any other file in the project. Probably best to run it as a separate user with permissions to edit only the files you want it to edit.
- kurthr 1y agoI don't always develop code with AI, but when I do, I do it on my production repository!
- fc417fc802 1y agoMaybe only give it access to files residing on a log-structured file system such as NILFS?
- herbst 1y agoSame here. Claude definitely can get very destructive if unwatched. And on the same note be careful to mention files outside of it's working scope. It could get the urge to "fix" these later.
- sitkack 1y agoTo confirm your confirmation, over a month ago I was debugging an issue with Claude Code itself, and it launched another copy of itself in yolo mode which just started tearing up like a powertool at a belt sander race. These coding agents should really only be used in a separate user account.