Moving a factory-floor system off an AI-built prototype, with no downtime
A US heavy-equipment maker was running its factory floors on an app its own team had built in an AI app builder. We replaced everything underneath it — a real API on Azure, Microsoft sign-in, managed SQL, a release pipeline — kept every screen the crews already knew, and switched over after weeks of shadow running without a minute of downtime.

The brief
The client builds large machinery — equipment with engine, mechanical and electrical systems — across a handful of plants, with a couple of hundred people on the floor and revenue above $100M a year. No off-the-shelf manufacturing execution system matched how they build, so their own team made one in Lovable, an AI app builder: a React front end talking straight to a Supabase backend.
It worked well enough to become load-bearing. Hundreds of people use it every day; crews pull their work orders from it and managers read the state of production off it. And then it outgrew the platform it was born on. Changes had become risky, there was no architecture the client's IT team could take ownership of, sign-in was username and password, and nothing about it had been hardened for production.
The framing that settled the decision: a short outage of this system would cost the business more than the entire migration. The real choice wasn't migrate or leave it, it was migrate or wait for the next failure.
Four rules shaped the work:
- Nothing changes for the floor. Crews across several plants knew the screens. A new UI meant retraining everyone.
- The system stays up the whole way through.
- Development doesn't pause. The client team kept fixing bugs and shipping small features in Lovable while we worked.
- It has to live in their Microsoft world — accounts, hosting, data.
What we built
A proper backend behind the same UI. The React front end stayed exactly as people knew it, but it now talks to an API instead of the database. That API is a Next.js server running in containers on Azure App Service, with Prisma over a managed Azure SQL database. Every Supabase server function became an endpoint, every endpoint checks the caller's role, and the browser no longer has any route to the data. Moving from Postgres to SQL Server meant translating the schema and queries and rebuilding what Supabase had provided for free, like auth.
Microsoft sign-in. Passwords were replaced with Microsoft Entra ID single sign-on, so access follows the accounts people already have and the client's IT manages it with tools they already run.
A release path. Azure DevOps pipelines build, test and deploy every change. Secrets are injected per environment and never live in the repository, and the database runs with high availability and point-in-time backups.
A migration tool instead of a rewrite. A hand rewrite would have needed a code freeze, and the client couldn't stop shipping. So we ejected the code into a normal Git repository, designed the target system first, and built a tool our engineers operate: coordinated AI agents rewrite the ejected code against PRDs and skills we wrote — database calls into API calls, server functions into endpoints, password auth into Entra ID — and check each other's output. Every result lands as a pull request, runs the test suite and gets an engineer's review before it merges. Because the tool can be rerun, each fix the client made in Lovable was carried across instead of lost.
Reporting that's safe to use. On the prototype, the product manager had been prompting directly against live data to answer questions about adoption and the business — useful, and risky. We replaced it with a read-only MCP server and a Claude skill that knows the data model. Same roles as the app, every query validated before it runs, nothing able to write.
The cutover
For a couple of weeks the new system ran in the shadow of the live one. A one-way sync mirrored data from Supabase into Azure SQL, so we could check the new platform against real production data while the floor kept working in the old app. We chose one direction and a single switch over a gradual two-way sync on purpose: syncing two different databases in both directions is exactly where records go missing or double up.
Cutover was a rollout and a domain switch. People signed in with their Microsoft accounts and carried on — no downtime, and at no point were both systems accepting writes. We'd also built export and import endpoints into the old app so anything written in the new system could be restored if we had to roll back. We never needed them.
Outcome
Three engineers, three months, June to September 2026. The floor didn't have to learn anything new, and the cutover cost no downtime. The system now runs in maintenance mode on infrastructure the client's own IT can operate, and the product manager does reporting in Claude inside the same access rules as the app.
If we ran it again, we'd give the migration tool more agents and more compute from the first day, so more of the rewrite runs in parallel while engineers review.
Keep exploring.

Co-operators
Insurance / Financial Services · 2025A modern policyholder portal for a 75-year-old insurance co-op
Co-operators is one of Canada's largest insurance co-operatives — 600+ locations, generations of customer trust, and a legacy self-service experience built around PDFs and phone trees. We rebuilt the policyholder portal around real-time claim status, digital ID cards, and a single-tap "file a new claim" flow that absorbs roughly a third of the inbound contact-centre volume.
- ~28% Inbound call reduction
- 4 min Time-to-claim filed

FutureVault
WealthTech / Enterprise Document AI · 2025An "Ask your vault" AI layer for wealth-management advisors
FutureVault sits at the centre of how RIAs organise client documents — estate, tax, insurance, identity. We built a retrieval-grounded AI layer on top, letting an advisor ask plain-English questions across an entire household's document history and get cited answers in seconds instead of digging through folders.
- 3.2× faster Document lookup
- ~96% Citation accuracy

