Learn with Asadulelah · Lesson 7
How do I take an AI-built (vibe-coded) app to production?
By Asadulelah, a Kerala-based builder of custom software and AI systems for businesses. I build by directing a fleet of AI agents, and this is how I actually do it.
WHO THIS IS FORBuilders who can get an AI to produce a working demo and now need it to survive real users, real data and a real handover.
WHAT YOU'LL HAVE AT THE ENDAn ordered checklist from finished code to a live app people use without calling you, with the specific failures each gate exists to catch.
Treat "the AI says it's done" as the start of shipping, not the end: define done before the code, run the full test suite on the final version, review and security-check the change, deploy, then verify the live site and walk every screen yourself before anyone else touches it. The gap between a vibe-coded demo and production is almost entirely checking, and the checks have to be in a fixed order so nobody skips one under pressure.
Every app I hand to a business is built mostly by AI agents. These are the gates it passes through, and each one is there because something got past it once.
The steps
1. Write the done spec before any code
One sentence on what done looks like, three to eight checks that can visibly fail, and one thing the build must not do. If a check can't fail, it isn't a check. This takes five minutes and saves the argument later about whether the feature is finished.
2. Paste the same contract into every worker brief
My build workers can't see my other notes, so the rules travel with the brief, in full, every round. The core of it:
- Merge the latest base before your final run.
- Grep tests, templates and scripts for every value you renamed or removed.
- Every role gets a test that it is refused (403) where it should be.
- Money actions are atomic and safe to press twice.
- NEVER WEAKEN A GATE: no skips, no loosened tests, no raised timeouts.
- A bug fix starts with a test that fails.
- QA in a real browser at 390 and 1366 wide.
- READY means the full suite passed on the final commit.
That last line exists because a worker once ran only the tests it had touched after its final merge and wrote READY. Forty-five minutes later the deploy gate refused the ship: an end-to-end test still expected a button the worker had removed.
3. Land it with checks in a fixed order
Before any deploy: confirm the commit you're about to ship is the exact one the worker called ready; grep the test folder for newly skipped or loosened tests; run a review in a fresh session that didn't write the code; run browser QA; run a security review if the change touches logins, money, files or personal data; then the full suite. A suite passes on its summary line ("N passed, 0 failed"), not on an exit code. "No tests ran" is a fail.
4. Deploy only on an explicit go, then stay
A deploy happens when the owner says to ship this specific change. Then I stay in the session until it finishes. Deploy scripts lie by omission: one of mine treated a missing "ERROR:" as success, and a failed build can leave the old version running and healthy. So I check the real completion message, that the container restarted seconds ago, and that the frontend bundle actually changed.
5. Smoke-test the live site, following redirects
Read which version is live. Hit the key pages with curl -sIL so you see the final address after redirects. A status code alone is not "live": a 200 can be a login page, an error page with a friendly face, or the old version.
6. Walk every screen like a stranger
This is the gate I skipped once and never again. I sent a staging link after health checks, logins and one screenshot. The person found sideways scrolling within minutes. A layout sweep then found 152 faults while every test was green, because the tests compared against baselines the builders had made themselves. The words I got were fair: "Why are you not using it by yourself and finding mistakes?"
Now every screen gets walked at 1920, 1366 and 390 pixels wide. A headless browser clicks everything, and fresh agents that never saw the code walk it again, looping until one walk finds nothing. Then I walk it.
7. Render it with an ad blocker on
On a handover call, a page came up blank on the client's screen and fine on mine. Their browser's ad blocker hid every element whose class started with ad- (my admin screens). Now key pages are rendered a second time with ad-blocker rules applied, and no class name starts with ad-.
8. Hand over as if they've never seen it
They probably haven't. "They haven't even seen the software... They don't know anything." A handover is the user's first touch, so it gets a live walk-through, a short guide with pictures for each task, and a day-one shadow run where they do real work while I watch. I test-drive the whole flow myself before the call. If a feature has no guide, it isn't finished.
9. Make "automatic" mean zero steps
If the client asked for something to happen automatically, write out their actual day and remove every leftover chore. I once shipped an "automatic" flow that still depended on someone doing a small manual step first. It worked in testing and failed their real morning.
Mistakes I made
- Sending a link before walking it myself. Twice. The second time I added the fresh-eyes walkers.
- Drafting "it's live, just pull" before the commit had actually been pushed.
- Treating "deploy it now" as "stop testing". After a rushed deploy, the checking starts in the same session.
- Hardcoding a client's list of locations into a screen. It showed 8 of 10 the day they added more. Client data comes from data, and an unknown entry raises an alert.
- Sharing a file that a scheduled job made on a guess, before staff had finished their edits. Share only files proven final.
What I'd do next
If you have an AI-built app nearly ready: write the done spec today, even late. Run the full suite once on the exact commit you'll ship. Then open the app on your phone and use it for real for 20 minutes before anyone else sees it. Most of what I've listed came from skipping one of those three. Before launch, run a security check too.
Keep learning
- How do I check an AI-built app for security holes before it goes live?
- Can I use Claude Code if I'm not a programmer?
- Answer: What does a custom software project look like from the first call to handover?
- The AI builder's glossary (25 terms in plain words)
All lessons · All answers · About Asadulelah
Want a system like this built for your business? Book a 30-minute call or email hello@asadulelah.com.