---
title: "From Lovable to Codex: make the app runnable first · Proxy Mail QA"
description: "Get an exported Lovable app running where Codex can test it: which hosting it needs, what the export leaves out and which auth emails to recheck."
url: https://proxymail.qa/switching/lovable-to-codex
---

1. [Home](https://proxymail.qa/)
2. [Switching tools](https://proxymail.qa/switching)

# From Lovable to Codex: make the app runnable first

Codex can work on source exported from Lovable, but a repository isn’t a running app. Get it started somewhere your tests can reach before you assign a change.

Updated 4 December 2026

We make Proxy Mail QA. We recommend it narrowly for fresh accounts, auth-email checks and repeatable evidence. It does not transfer code, backends, users or passwords. Neither successful signup nor received mail establishes security.

## A repository is not a running environment

Exporting the source does not move the services behind it. Use Lovable’s Git sync, available on all plans, or the ZIP download, which needs a paid plan and which Enterprise admins can limit. Do not expect a builder-code import wizard.

Before assigning a task, identify the start/build commands and hosting needs. Lovable distinguishes new TanStack Start apps from 13 May 2026, requiring server-capable hosting, from older static React/Vite projects. Asking Codex to publish everything as static assets can lose server behaviour.

Keep the existing auth initially, on Lovable’s built-in backend (Lovable Cloud) or your own Supabase project. Repository migrations/configuration do not include hosted data, storage or secrets. A separate full database export can carry accounts and password hashes into compatible Supabase restoration, but not sessions. Providers, redirects, secrets, storage, functions and schedules require separate treatment. Changing backend needs its own migration plan and evidence.

A missing provider URL, stale redirect or different sender can resemble a code regression. Name the environment in each result.

## Connect Codex without changing the app

Use the Codex coding agent, not ordinary ChatGPT chat. Open the repository and put the runtime, auth contract and test commands in root `AGENTS.md`. Codex loads instructions towards the working directory; `AGENTS.override.md` takes precedence over `AGENTS.md` at a directory. Check what applies before the first diff.

Terminal

```sh
codex mcp add proxymail-qa --url https://api.proxymail.qa/mcp
codex mcp login proxymail-qa

```

The second command starts login if browser authentication has not completed. Select the same Proxy Mail QA project used for the baseline; authenticate an existing entry instead of duplicating it. CLI and IDE share configuration. The IDE extension does not support plugins, and none is required here.

The app must run somewhere the test runner can reach, including inside its sandbox if suitable; it need not run outside it. Cloud localhost is not laptop localhost. Unattended work needs a scoped secret rather than interactive OAuth. Store all credentials in environment/secret storage, never instruction files or chat.

## Establish two comparable runs

Follow the [shared switching checklist](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up) before leaving Lovable and after the first reviewed hosting/auth change. Use owned or authorised local/dev/staging only, never production.

- Record revision, runtime, backend, sender and callback allowlist. Enable external-recipient sending in the provider. On your own Supabase project, that means custom SMTP.
- Call `start_run` with a stable name and pass `run_id` to every supported call. `create_address` with `password: true`, or `form_values`, supplies details, not application accounts. Your browser/test runner fills and submits.
- Set `since` immediately before each submission, including resends. Use `mark_submitted` if available and carry its timestamp into `wait_for_code` or `wait_for_link`.
- Register fresh; test unverified restrictions if required. Verify, reload, sign out and sign in. Approve legitimate provider action hosts and confirm the final application destination.
- For supported password resets, prove new works, old fails and a used reset cannot reset again. Otherwise record N/A. Separately leave A unused, request B, check A against replacement policy and prove B works. If consuming A is permitted, use an independent equivalent fixture for B. Wait for real expiry or mark it skipped.
- If replacing the backend, test a synthetic existing-user fixture established in staging before the move. Check sign-in, identity and access afterwards without production accounts/data. Fresh signup does not prove continuity.
- Use `check_email` for SPF, DKIM, DMARC, hosts and expiry wording. Filter `count_emails` using `type`, `subtype` and/or `category` and a bounded window; exclude welcome mail from duplicate-verification counts. Record app outcomes with `add_run_note`, using `failed: true` for failed browser assertions; record skips separately, then complete `finish_run`.

## A bounded Codex task

Copy the checklist and prompt together, and replace `[authorised staging URL]` with your authorised staging URL.

Prompt

```text
Inspect the Lovable export. Explain how this runtime can run where our
runner can reach it, without changing the auth provider or hosting policy.
Propose one existing-test improvement and wait for review.
Compare the supplied checklist on [authorised staging URL] before and after.
If the checklist is missing, request it before running.
Record failed browser assertions with add_run_note using failed: true;
record skips separately before finish_run.
Report execution limits and skips. Never disable confirmation or reset
our owner's password to obtain a pass.

```

## Evidence boundaries

MCP returns no email bodies and never prefetches links. `check_delivery` gives receipt evidence, not provider-log certainty. Email wording does not prove server expiry; arrival does not guarantee all-recipient placement. SMS, social login, KYC and payments need other tests.

OAuth cannot reveal old saved passwords: use fresh accounts or a person with fixture credentials. Keep repository tests editor-independent, `PROXYMAIL_QA_API_KEY` in CI secrets, and app-user cleanup separate from inbox deletion.

## Sources

Evidence checked 4 Dec 2026; guidance, not a personally tested migration.

- Lovable: [external deployment](https://docs.lovable.dev/tips-tricks/external-deployment-hosting), [ownership](https://docs.lovable.dev/tips-tricks/deployment-hosting-ownership), [builder guide](https://proxymail.qa/built-with/lovable).
- Proxy Mail QA: [Codex setup](https://proxymail.qa/built-with/codex), [flow checks](https://proxymail.qa/docs/flow-checks), [MCP](https://proxymail.qa/docs/mcp).

## Try it on your next sign-up test

Free plan, no credit card. Create an address and watch the code or link arrive.

[Create a free account](https://app.proxymail.qa/?mode=signup&from=site-switching-lovable-to-codex)

## Related guides

- [Lovable to Cursor](https://proxymail.qa/switching/lovable-to-cursor): Change editors first, leave the backend where it is, and check the callbacks.
- [Lovable to Claude Code](https://proxymail.qa/switching/lovable-to-claude-code): Write down the sign-up rules your Lovable chats decided before Claude Code edits anything.
- [Lovable to Qoder](https://proxymail.qa/switching/lovable-to-qoder): Have Qoder list the sign-in settings a Lovable export doesn’t carry before it patches anything.
- [Lovable to Antigravity](https://proxymail.qa/switching/lovable-to-antigravity): Keep Lovable’s sign-in instead of drifting into Firebase, then compare before and after.

[See every email testing problem we solve](https://proxymail.qa/solve)

Lovable is a product of Lovable. Supabase is a trademark of Supabase, Inc. Codex is a product of OpenAI. OpenAI, Codex, ChatGPT and the OpenAI logo are OpenAI’s trademarks. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
