Vibe-coded MVP to paying users: what broke first for you?

by•

I build AI agents in production (clinic notes, phone intake, fax OCR on HealOS) and an Instagram DM tool on the side. The demo is never the hard part. What broke first for me was retries: a job fails, gets retried, and the user gets the same DM twice. Idempotency keys on every send fixed it, but only after it hurt. For those who shipped a vibe-coded MVP and got real users: what was the first thing that broke? Auth, payments, background jobs, data that went out of sync, the bill? And did you fix it yourself or bring someone in?

16 views

Add a comment

Replies

Best

The agent lost context mid-task and rebuilt a helper that already existed two files away under a different name. It passed the tests, but the two copies drifted immediately once real users hit edge cases. Silent duplicate logic is the nastiest side effect of prompting your way to production.

Same family of problem for us, only with money instead of DMs. Purchases reach our backend through Adapty's webhook, and if we don't answer with success it sends the event again, so one purchase can arrive more than once. The webhook keeps a record of every event it has applied and treats a new one as already seen if the event id matches, or if its type and store transaction id together match an earlier one. That second check matters because the same purchase can come back later under a different event id. Song runs needed the same care: when the music model is busy, the song goes back into the queue with a retry time, and a scheduled job claims due songs in a transaction that flips them from queued to running, so two workers can never take the same song. Credits stay held, not charged, while it waits. My rule now: before anything sends, charges or grants, decide what makes it unique and check that before acting.