The AI cleared a build cache and my whole source tree went with it
A developer's project sat inside a OneDrive folder. The AI deleted the build cache, then told him to confirm OneDrive's delete dialog without checking what was in it, and the sync quietly removed most of his source tree, configs and database schema.
How it works
- A corrupt generated file breaks his build
- The AI deletes the .next cache folder inside his OneDrive synced project
- OneDrive shows a dialog asking to delete 821 items
- He asks the AI what to do
- The AI says the items are build files and tells him to click Delete all items
- Sync removes most of the source tree over the next minutes
- His checks pass against the vanishing state, so the loss shows up late
- OneDrive restore brings back an older, broken copy and he rebuilds the project elsewhere
Why it’s worth knowing
The thing that deleted the source tree was not the agent's command. It was the sync engine, after the agent vouched for a delete dialog it never inspected.
Where it’s from
Summarized from a public post on github.com. See the original ↗