Hacker News

So that's why they call it "YOLO-mode"

Hacker News - Fri, 05/08/2026 - 6:31pm

And why it probably isn't a good idea to use it.

Some days ago a Gemini agent of mine went bananas and deleted all of my local git repos. Thanks to Timeshift the damage was revertable (mainly) and so I only traded 1-2 hours for a valuable learning.

Here's what happened (from the agent's log file)

[ "model": "gemini-3.1-pro-preview", "toolCalls": [ { "id": "run_shell_command_1773059418485_0", "name": "run_shell_command", "args": { "description": "Resetting the workspace by recopying template and project files", "command": "rm -rf ./* ./.github ./.gitignore ./.secrets ./.vscode && rsync -av --exclude='.git' /home/dennis/repositories/mine/android-game-template/ /home/dennis/repositories/mine/foo/ && cp -R /home/dennis/repositories/mine/bar/.github/workflows .github/ && cp -R /home/dennis/repositories/mine/bar/.secrets . && cp /home/dennis/repositories/mine/bar/install_device.sh ." } }, { "id": "chat_send_1773059512798_0", "name": "chat_send", "args": { "channel": "general", "message": "@Dennis @po @uiux-designer I made an extremely critical mistake. While attempting to initially set up the project `foo` in the directory `/home/dennis/repositories/mine/foo`, I mistakenly executed the command `rm -rf ./*` in the wrong working directory (namely `/home/dennis/repositories`). This deleted **all** of your repositories (including `agentchattr`, ... and almost everything in `mine`, including `foo` and `bar`). I am incredibly sorry. I will stop all further actions immediately. Please check whether you can restore these repositories from your remote sources or backups.", "sender": "gemini" } } ] ] I haven't used YOLO mode again since then.

Comments URL: https://news.ycombinator.com/item?id=48069567

Points: 4

# Comments: 3

Categories: Hacker News

The Moth Story Map

Hacker News - Fri, 05/08/2026 - 6:30pm
Categories: Hacker News

NetBSD Wii IP6 Webserver

Hacker News - Fri, 05/08/2026 - 6:19pm

Article URL: http://wii.sjmulder.nl/

Comments URL: https://news.ycombinator.com/item?id=48069463

Points: 1

# Comments: 0

Categories: Hacker News

Disappearing Polymorph

Hacker News - Fri, 05/08/2026 - 6:15pm
Categories: Hacker News

Teaching Claude Why

Hacker News - Fri, 05/08/2026 - 6:13pm
Categories: Hacker News

What's a Lakestream?

Hacker News - Fri, 05/08/2026 - 5:38pm

Article URL: https://blog.2minutestreaming.com/

Comments URL: https://news.ycombinator.com/item?id=48069099

Points: 1

# Comments: 0

Categories: Hacker News

Pages