I migrated a 50k LOC production app from tRPC + Drizzle to Convex in 12 hours using Claude Code.

The agent did the heavy lifting, but it also forgot middleware in every function, dropped 35% of webhook integrations, and introduced a bug that
turned "unlimited" into "zero allowed."

Wrote up the full workflow — how to plan, implement, audit, and catch the bugs AI agents introduce before they hit production.

https://ciocan.substack.com/p/gotchas-from-refactoring-a-50k-lines
Was this page helpful?