3 ms·
I mean, it depends on what you're doing but I force claude to always commit code every time it finishes a todo. It never seems to stop doing that, so I run it i
by giancarlostoro 10mo ago
I mean, it depends on what you're doing but I force claude to always commit code every time it finishes a todo. It never seems to stop doing that, so I run it in dangerous mode on Zed. I get to review the code after the fact anyway.
- pluralmonad 10mo agoThe danger there is not that it commit bad things, but that as part of working the task it gets tricked into sending your env/secrets/credentials to prompt injectors. That would not show up in your commit diff. Edit: At the very least, I would not allow it to do indiscriminate web searching.
- adastra22 10mo agoWhy are you running CC with prod credentials.
- Someone 10mo agoThe risk isn’t that it makes weird commits; it’s that it may decide to clean up stuff and delete more than desired. - https://github.com/anthropics/claude-code/issues/4331 https://github.com/anthropics/claude-code/issues/4331 - https://github.com/anthropics/claude-code/issues/7787 https://github.com/anthropics/claude-code/issues/7787 - https://news.ycombinator.com/item?id=46268222 https://news.ycombinator.com/item?id=46268222
- giancarlostoro 10mo agoYou can roll back commits
- weikju 10mo agoNot for changes made outside of the repo….
- giancarlostoro 10mo agoI havent ever seen Claude do that so thats news to me, always asks for permission to go anywhere else.
- weikju 10mo agoSure, it tries really hard not to, but there might be some attack/malware/hidden prompt that does it, one day, out of the blue...
- adastra22 10mo agoNot when it deletes .git. Or your home directory.
- giancarlostoro 10mo agoNever had that happen but you should always push your commits.
- adastra22 10mo agoIt has happened. https://news.ycombinator.com/item?id=46268222 https://news.ycombinator.com/item?id=46268222