3 ms·
I don't use yolo mode but if you allow your agents to both write code and run/test it, then it's basically equivalent to running in yolo mode anyway. The other
by zarzavat 2mo ago
I don't use yolo mode but if you allow your agents to both write code and run/test it, then it's basically equivalent to running in yolo mode anyway.
The other day I caught Claude including a rm -rf equivalent (fs.rmdir({ recursive: true, force: true })) in my code, to clean up temporary directories. It was fine, but that kind of code is only one misconfigured environment variable away from blasting away your $HOME.
- drdec 2mo agoI've set up a second user on my machine just for running AI. That way I have the additional layer of OS protections against it doing something like that.
- coldtea 2mo ago>if you allow your agents to both write code and run/test it, then it's basically equivalent to running in yolo mode anyway. I don't. I manually check the code line by line before. And also run them in container anyway.