How to Hand Over AI-Built MVP to Developers Without Losing Your Existing Work

Hand over your AI-built MVP to developers without losing code, data, or behaviour. A Canada-ready checklist for prompts, access, billing, and proof tests.

AITech
Skip to article text

Your MVP works. That does not mean a new team can keep it working.

Direct answer: To hand over an AI-built MVP to developers without losing your existing work, transfer code, data, accounts and behaviour rules together. Freeze new features, move every account into your company name, export the repository with full history, document prompts, models, permissions, billing and edge cases, then require the new team to release, roll back, restore and rotate a secret without your help. If they cannot do those four tasks unaided, the handover is not complete.

When you hand over an AI-built MVP to developers, the risk is not the code transfer. The risk is everything the code does not say. The prompts are gone. The access rules live in someone's head. The billing flow works only on the happy path. The live app may not match the repository. A good handover rebuilds that missing knowledge before the new team writes a feature.

This guide gives you that handover. It covers ownership, data, AI behaviour, Canada privacy, billing and proof. It does not promise a fixed price or timeline, because those depend on your scope. Legal and platform details below were checked against official sources on 30 November 2026.

What handover really moves

A complete handover moves three things at once. Ownership is code, data and accounts. Knowledge is what the app must do, what it must never do, and why past choices were made. Responsibility is who releases, who watches for failure, and who can restore the product.

Three things a real handover moves: ownership, knowledge and responsibility, with the items each one covers

Most handovers move only ownership. The new team then spends weeks reverse-engineering the other two.

Most handovers move only the first item. The new team then spends weeks reverse-engineering the other two. That is where budgets leak and behaviour breaks.

Start by naming the product in one paragraph. Who uses it? What is the one journey that must work? What happens if that journey fails? If you cannot answer those questions in writing, the new team cannot protect them either.

JUHENZA's MVP development for startups follows the same rule: agree the first journey, the acceptance checks and ownership before building or extending. The same discipline applies whether you are an early startups and SaaS team or an established product group.

How to hand over AI-built MVP to developers in 7 steps

Seven handover steps in order, from freezing the feature set to handing over operations, with the proof test as the gate

Freeze first, move ownership before you widen access, and prove each layer before the next.

Step 1: Freeze the feature set

Stop generating new features the moment you decide to hand over. A moving codebase makes every other artifact stale before it is read.

Record the freeze date, the exact commit or deployment that is live, and the branch the new team should treat as truth. If the live app and the repository differ, say so in writing. Do not let the new team discover the gap later.

Step 2: Write the behaviour inventory

The behaviour inventory is the replacement spec. One line per flow. Each line must be observable.

Weak line: "Checkout works." Strong line: "A signed-in user with items in the cart can pay by card, sees a confirmation, and receives an email. A failed payment leaves the cart intact and shows the reason."

Include the unhappy paths. Empty states, permission denials, duplicate submissions, failed payments, expired sessions and slow networks are where AI-generated code usually has gaps. List what you know is broken. A known bug is useful. A hidden bug becomes an argument.

Step 3: Move ownership before you widen access

Move accounts into your company name while you still control them. Do this before you add the new team.

  • Repository in a GitHub organisation your company owns, with full history
  • Database in an organisation you own
  • Domain, DNS, hosting, email sending, analytics, error monitoring and app-store accounts in the company name
  • Payments in the company account, with company bank details
  • AI provider accounts and keys in the company account
  • Builder account ownership or transfer, where the platform allows it

Give each developer a named account with only the access the work needs. Nobody should use your personal login. Remove old members after the transfer. Keep a register that lists each account, its owner, its purpose, and who can act on it.

For Lovable projects, Lovable's Git sync documentation describes two-way sync: changes made in Lovable are pushed to the repository, and commits pushed to the synced branch appear back in Lovable. Lovable edits and syncs one branch at a time. Agree who edits that branch. If you keep prompting while developers push to the same branch, you will overwrite each other. Do not force-push, rebase or squash commits already on the synced branch. If the two sides diverge, Lovable pushes its work to a separate lovable-sync branch for review.

Step 4: Export code, data and files as separate items

A repository is not a full export. Treat these as separate handover items.

  • Code: repository, all branches, full history, dependency lockfile and build instructions
  • Database: schema, migration history, seed rules and a recent export from the live environment
  • Files: uploaded files from Storage or object storage, not only database rows
  • Users: how sign-in works, redirect URLs, and what happens to existing sessions
  • Secrets: names, purposes and storage locations, never values in email or chat

A Lovable repository contains code and migration files, but not the rows inside your database. Supabase's backup documentation also states that database backups do not include objects stored through the Storage API, because the database holds metadata about those objects, not the file bytes. A database restore therefore does not restore uploaded files. Your handover must cover files separately.

Also confirm which deployment produced the live app. Ask the new team to reproduce it in a review environment. If it only works in the original builder session, find out what that session supplies.

Step 5: Audit permissions and secrets

A working login does not prove customer data is protected. Check permissions at the data layer and on every request, not only in the interface.

For Supabase apps, check Row Level Security on every table, the policy for each operation, grants for each role, and which key is used where. A publishable key in browser code is not by itself a leak, but a permissive policy can be. The Supabase RLS fix shows the pattern: enable RLS, write one policy per operation, grant only the role that needs access, and verify with two users.

Rotate any secret that was ever pasted into a prompt, chat, email, screenshot or repository. Rotation is not optional after exposure. Send new values only through the platform's secrets settings or an approved secret manager.

Step 6: Prove billing still works

Billing failures are expensive because the customer has already paid. Do not trust a success page. The webhook is the source of truth.

Check these in order: Stripe delivery, Edge Function acceptance, then the database row the app reads to grant access. The Stripe webhook fix follows the same order. Confirm the webhook endpoint points to production, the signature check runs on the raw body, the handler is idempotent, and Stripe statuses map to the exact values your database constraint expects.

Also test cancellation, failed renewal and plan change. If you only test first checkout, you will miss the events that remove or extend access later.

Step 7: Hand over operations, not just code

Agree who owns release, monitoring, support and recovery after handover.

  • Release process: who reviews, what must pass, who can approve publication
  • Rollback: how to revert a code change without losing data
  • Restore: what is backed up, where it is held, who can restore it, and what a restore overwrites
  • Alerts: where errors go, who acts, and what counts as urgent
  • Cost: which services are required, which are optional, and who pays each bill

If the new team cannot answer those questions, they do not yet own the product.

The AI behaviour pack most handovers miss

This is the section most handover guides skip. Code shows what the app does. It does not show what the AI is allowed to do.

AI behaviour pack covering prompts, models, tools, data boundaries, evaluation cases, failure rules and cost limits

Without the pack, the new team inherits a model and no rules.

Build an AI behaviour pack with these items:

  • Prompts and system instructions: the exact instructions for each AI feature, plus the version that is live
  • Models and settings: model names, provider, temperature or equivalent settings where relevant, and any fallback behaviour
  • Tools and permissions: every tool the AI can call, what each tool can change, and which actions need human approval
  • Data boundaries: which documents, tables or customer records the AI can read, and which it must never read
  • Evaluation cases: ten to twenty real cases, including ambiguous wording, missing documents, restricted content and bad input
  • Failure rules: what the app says when evidence is missing, when a tool fails, or when confidence is low
  • Cost and limits: expected usage, rate limits, timeouts, and the kill switch or approval step

Treat untrusted content as untrusted. OWASP ranks prompt injection first in its 2025 Top 10 for LLM Applications, as LLM01. That means text from a document, email, upload or web page must not be allowed to override your instructions or trigger a privileged action. The new team should check where model output flows into actions, database writes, emails, payments or external calls. Human approval should gate risky actions. Least-privilege tool access should be the default.

Read the OWASP GenAI guidance before the new team wires AI output to any irreversible action.

Canada checks: privacy, accessibility and IP

Privacy

If your MVP collects, uses or discloses personal information in commercial activity in Canada, privacy law is part of the handover, not a later task.

The Office of the Privacy Commissioner of Canada states that PIPEDA sets the ground rules for how private-sector organisations collect, use and disclose personal information in the course of for-profit, commercial activities across Canada.

In British Columbia, private-sector organisations are also covered by BC's Personal Information Protection Act, or BC PIPA, for personal information handled inside the province. The handover should name where personal information lives, who can access it, how long it is kept, and how a user can ask for access or correction. Do not move production customer data into a test environment without a clear purpose and controls.

This section is general information as of November 2026, not legal advice. Confirm your obligations with a qualified professional.

Accessibility

Do not overclaim AODA. Ontario's website rule applies to designated public sector organisations and to businesses or non-profits with 50 or more employees in Ontario. It requires public websites and web content published after 1 January 2012 to meet WCAG 2.0 Level AA, with narrow exceptions for live captions and pre-recorded audio descriptions. Smaller Ontario businesses still have duties on customer service and accessible formats, and many customers benefit from accessible design either way.

For a Victoria or BC startup, the practical handover question is simpler: can users complete the core journey with keyboard navigation, screen-reader access, clear labels and understandable errors? Record known gaps in the behaviour inventory. Do not promise compliance you have not tested.

IP and AI output

Canadian copyright guidance has generally treated authorship as requiring human involvement, and the treatment of purely AI-generated output is still developing. That does not mean your product has no protection. It means you should not assume it does.

The handover should record the builder's terms on output ownership, who contributed prompts, reviews, edits and decisions, and whether any third-party code, assets or model output carries licence limits. If a contractor built part of the MVP, confirm in writing what was assigned and when. This is general information as of November 2026, not legal advice.

Refactor or rebuild: decide with evidence

Do not start with a rebuild. Start with a short paid audit. The audit should answer four questions in writing: does the project run from a clean clone, does it deploy, what percentage of agreed scope genuinely works, and is the stack mainstream enough for a senior team to maintain?

Use this scoring table with the new team:

SignalContinue and refactorRebuild
Clean clone runs and deploysYesNo
Core journey works end to endYesNo
Permissions checked at data layerYesNo, and the fix is broad
Billing lifecycle worksYesNo, and the mapping is unclear
Stack is mainstreamYesNo, or lock-in is heavy
Less than one third of scope worksNoYes

A rebuild is not a failure. It can keep the design, database schema, behaviour inventory and lessons from the first version. A refactor is not always cheaper. If the structure is tangled, permissions are permissive and billing is unreliable, a rebuild on a clean foundation can be faster than patching each layer.

For custom software development decisions, ask the new team to price both options with the same acceptance criteria. Compare scope, risk and proof, not only headline cost.

The 5-task proof test

Handover is complete only when the new team passes this test without you.

Five-task proof test for an AI-built MVP handover, with pass conditions for release, clone, restore, secret rotation and alerts

A handover is done when the new team can run, release, restore and recover the product unaided.

TaskPass condition
Release and roll backA small change ships to production, then rolls back cleanly
Run from clean cloneThe app runs locally from the README, unaided, on a fresh machine
Restore from backupDatabase and uploaded files restore to a review environment, and data is checked
Rotate a secretOne secret rotates without downtime and without breaking the app
Act on an alertA failure triggers an alert, and the team knows who acts on it

Add one more task if the app takes payments: run a test checkout, cancellation and failed renewal, then confirm the database row matches Stripe each time.

Anything the team has to ask for was missing from the handover. Add it to the pack, then run the test again.

A note on evidence

No first-hand JUHENZA takeover is claimed in this guide, and no client outcome is invented. The platform behaviour comes from Lovable's Git sync and backup documentation and Supabase's backup documentation. The privacy and accessibility statements come from the Office of the Privacy Commissioner of Canada and the Government of Ontario. The security guidance comes from OWASP. Where the law is unsettled, the guide says so.

If you want proof for a specific handover, ask for six artifacts: the account and secret register, the behaviour inventory, the AI behaviour pack, the clean-clone run book, a restore log, and the dated proof-test result. A handover described only in a call is not evidence.

Common mistakes, limits and when to involve a specialist

Common mistakes

  • Treating a repository as the whole handover
  • Leaving accounts in a freelancer's or founder's personal name
  • Pasting secret values into chat, email or docs
  • Trusting the success page instead of the webhook
  • Assuming a working demo means permissions are correct
  • Letting Lovable prompts and developer commits fight on one branch
  • Starting a rebuild without a written behaviour inventory

Who fixes what

IssueWho fixes it
Exposed secrets, broken signup, login or paymentYou, before handover
Confirming the builder export worksYou, before handover
Critical-path test baselineYou start it, the new team extends it
Missing error and empty statesNew team
Duplicated components and competing patternsNew team
Accessibility gapsNew team, with known gaps listed by you

Limitations

This guide does not replace a security audit, a privacy review or legal advice. It does not prove your app is compliant, secure or production-ready. It gives you the evidence a professional team needs to make those judgments.

When to involve a specialist

Bring in a specialist before handover if the app handles health, financial, children's or highly sensitive personal information, if you suspect a breach or exposed key, if billing is already failing for real customers, or if the new team finds permissive data access across many tables. Early review is cheaper than a rebuild after a live incident.

FAQ

Can I hand over AI-built MVP to developers without losing my existing work?

Yes, if you transfer code, data, files, accounts, behaviour rules and operations together. Freeze features, move accounts into your company name, document the behaviour inventory, rotate exposed secrets, and require the new team to pass the 5-task proof test. A repository alone is not enough.

What documents do developers need when taking over an AI-built MVP?

They need a behaviour inventory, a clean-clone run book, a triaged bug list, an account and secret register, a system map, billing and webhook notes, an AI behaviour pack and a decisions log. Each item should be verifiable. A document that cannot be tested is a guess, not a handover.

Should I fix bugs before handing the app to developers?

Fix live risks first. Rotate exposed secrets, repair broken signup, login or payment, and confirm the builder export works. Hand over work that needs sustained engineering judgment, such as missing error states, duplicated components and accessibility gaps. List those items with priority so the new team can plan them.

How do I hand over a Lovable app without breaking sync?

Connect the project to a repository your company owns, agree who edits the synced branch, and keep developers on feature branches with reviewed merges. Lovable syncs one branch at a time. Do not force-push or rewrite history on that branch. If the two sides diverge, review the lovable-sync branch by hand and merge it rather than overwriting it.

What if my MVP has no documentation?

Build the behaviour inventory from the running app, not from old prompts. Walk the core journeys, record what works and what fails, and write one observable acceptance line per flow. Add a decisions log for the choices you remember. The audit and proof test will expose the rest.

What if the new team recommends a rebuild?

Ask for the audit in writing. A rebuild should keep the design, schema, behaviour inventory and lessons, and it should be priced against the same acceptance criteria as a refactor. Do not approve a rebuild because the code "looks messy." Approve it because the evidence shows the current foundation cannot safely support the next release.

Where this fits and what to do next

This post sits in MVP handover and takeover. For the narrower hosting move, see the Lovable external hosting handover. For permission repair, see the Supabase RLS guide. For billing repair, see the Stripe webhook guide.

You do not need to lose your existing work to get professional help. You need to make the work transferable. Freeze the scope, move ownership, document behaviour, prove billing, and require proof.

Discuss your software project with a brief that lists your builder, stack, core journey and known gaps. That brief is enough to scope a handover audit.

References

  1. Lovable — Git sync overview
  2. Office of the Privacy Commissioner of Canada — PIPEDA requirements in brief
  3. OWASP GenAI Security Project — Top 10 for LLM Applications

Let’s discuss
your project.

Tell us what you need to build or change. If you’re still planning, use AI to draft an approach before deciding whether to share it.