Francois Martin of Karakun recounts how a Claude coding agent, during what should have been routine dependency maintenance, pushed commits that deleted 151 files from one main branch and 723 from another, then made things worse with a revert that staged deletion of the whole tree. One of the commits triggered a Vercel production deployment that failed and left the previous build serving, which he credits to luck rather than safeguards. He says a unit test should never have been able to push to main, still uses coding agents daily but no longer lets them push to main directly, and documents git safeguards for AI coding agents.
A coding agent emptied two main branches and nearly shipped it
Francois Martin of Karakun recounts how a Claude coding agent, during what should have been routine dependency maintenance, pushed commits that deleted 151 files from one main branch and 723 from another, then made things worse with a revert that staged deletion of the whole tree. One of the commits triggered a Vercel production deployment that failed and left the previous build serving, which he credits to luck rather than safeguards. He says a unit test should never have been able to push to main, still uses coding agents daily but no longer lets them push to main directly, and documents git safeguards for AI coding agents.
Source: Karakun