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.
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 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_runwith a stable name and passrun_idto every supported call.create_addresswithpassword: true, orform_values, supplies details, not application accounts. Your browser/test runner fills and submits. - Set
sinceimmediately before each submission, including resends. Usemark_submittedif available and carry its timestamp intowait_for_codeorwait_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_emailfor SPF, DKIM, DMARC, hosts and expiry wording. Filtercount_emailsusingtype,subtypeand/orcategoryand a bounded window; exclude welcome mail from duplicate-verification counts. Record app outcomes withadd_run_note, usingfailed: truefor failed browser assertions; record skips separately, then completefinish_run.
A bounded Codex task
Copy the checklist and prompt together, and replace [authorised staging URL] with your authorised staging URL.
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, ownership, builder guide.
- Proxy Mail QA: Codex setup, flow checks, MCP.