An AI coding agent deleted two main branches. See how Git safety, branch protection, pre-push hooks, and agent guardrails can prevent similar failures.
2 comments
theGeatZhopa5 days ago
my did not push, but it wrote a setting up script for an mcp server. I was not carefull and claude wrote in to clean the project. When i wanted to resetup the mcp server I executed this script to setup the mcp in an existing folder - everything is gone. did not have backup at that time. My own fault. Now everything is hooked and such code is rejected.
blinkbat5 days ago
Claude isn't a model. What model?
Read the full thread on Hacker News →
Related stories
- Hacker News · 5 points · 9 days ago
- AI Coding Agent session compaction with Jevcodeaholicguy.comHacker News · 1 points · about 15 hours ago
- Hacker News · 1 points · 10 days ago
- Hacker News · 2 points · 7 days ago
- Hacker News · 2 points · 11 days ago
- Hacker News · 1 points · 9 days ago