
Human in the loop
A developer approved every step Claude Code took. Then it destroyed 2.5 years of production data. The human was in the loop. He just wasn't paying attention. A developer named Alexey Grigorev wanted to deploy a new website. He used Claude Code to run Terraform. He'd forgotten to migrate his state file to a new machine, so Terraform thought nothing existed and started creating duplicate resources. He caught the problem. Had Claude clean up the duplicates. Then uploaded the state file. Claude unpacked an archive, found the production state, and suggested terraform destroy to start clean. Alexey approved it. The production database for DataTalks.Club — 2.5 years of homework submissions, project records, leaderboards, 1.9 million rows — was deleted. The automated snapshots were managed by Terraform too. They went with it. The safeguard that didn't This is not another "AI destroyed production" story. I already wrote one of those . What makes this different is that every safety mechanism wor
Continue reading on Dev.to DevOps
Opens in a new tab




