I was building a customer service agent with Claude Code. In the span of one week, the AI wiped my local database twice. The first time I thought it was an accident. The second time I realized it was a systemic problem — and that no existing tool was going to fix it for me.
The first time: I thought it was a fluke
I asked Claude Code to sync the database schema. It ran:
npx prisma migrate reset --force
Enter fullscreen mode
Exit fullscreen mode
Schema synced. I opened my database client. Two weeks of test data, debug records, and simulated orders — gone.
I typed into the chat: "Never use --force flags on database commands."
"Understood, I'll remember that," it replied.
I believed it.
The second time: I understood what AI memory actually is
One week later. Different feature, different context window.
It ran the same command again. Database wiped again.
This time I added the rule everywhere — project memory, system prompt, .claude.md , conversation header.…