IncidentsRGI-065Reported DataTalks.Club
Handed the state file mid-migration, a coding agent destroyed two sites' infrastructure and the backups
About 2 million rows of student work and the database snapshots went. The cloud provider restored them from internal copies within a day.
What happened
In March 2026 a developer had a coding agent move a small site onto the same cloud setup as his larger platform, using an infrastructure tool, without first giving it the file that records what already exists. The agent created duplicates. When he then supplied the file, the agent ran a destroy to reconcile, which removed both sites' infrastructure, including a database with two and a half years of records and the snapshots he relied on as backups.
His cloud provider's support restored the data from snapshots he could not see, within about a day. He has stopped letting the agent run the tool, reviews every plan himself and has turned on deletion protection.
The pattern in it
A boundary that fails the same way elsewhere.
The source and its limits
Claude Code deletes developers' production setup, including its database and snapshots ↗
Given an infrastructure state file mid-migration, a coding agent ran a destroy that removed a second site's production database and its snapshots; the cloud provider restored it within about a day.
Its limits. From the developer's own post-mortem, which takes much of the blame for running the agent against production.
Cite as: Roguez RGI-065, “Handed the state file mid-migration, a coding agent destroyed two sites' infrastructure and the backups”. Interdiction Labs, evidence reviewed 29 Nov 2026. https://roguez.ai/rgi-065