---
title: "Switching from v0 to Codex: make the runtime explicit · Proxy Mail QA"
description: "Tell Codex how a v0 export starts, what it needs and where tests can reach it, then compare sign-up and reset emails before and after a change."
url: https://proxymail.qa/switching/v0-to-codex
---

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

# Switching from v0 to Codex: make the runtime explicit

An exported v0 repository is only part of the app. Write down how it starts and what it needs, so a missing setting in Codex isn’t mistaken for broken sign-in.

Updated 4 December 2026

We make Proxy Mail QA. We recommend it narrowly for fresh inboxes, verification and reset email evidence, and repeatable app checks. It is not a code or identity migration engine, does not transfer passwords, and is not a security audit. This is a proposed handoff process, not a tested migration result.

## A repository is only part of the handoff

v0 supports code export, GitHub sync and deployment elsewhere. Vercel does not claim ownership of generated code, though third-party rights remain. Bring the exported repository into Codex with its existing tests and dependency versions. Codex is the coding agent, not ordinary ChatGPT chat.

Make the start command and required framework/runtime explicit. Not every v0 export is deployable as static files. Hosted authentication, identities, storage and configuration do not move with source. First reproduce the app against the existing backend; move hosting separately, checking environment variables, callbacks and senders at that boundary.

The [v0 auth guide](https://proxymail.qa/built-with/v0) distinguishes provider paths. Inspect yours: Supabase may send links or codes, while Clerk may send verification/reset codes. Supabase’s built-in sender only reaches your project’s team, so set up custom SMTP before testing. Clerk development and production stores are separate. Pointing at a new tenant is not migrating its users. If backend replacement is intentional, validate synthetic existing-user fixtures as a separate workstream; new registrations cannot prove continuity.

## Choose where Codex will run the app

CLI, IDE and cloud tasks have different execution environments. The app must be reachable by the test runner. A cloud task’s localhost is not your laptop’s localhost; an exported app that works on your machine may still lack runtime or secrets there.

Put the auth contract in root `AGENTS.md`, without secrets: provider, environment-variable names, verification restrictions, approved action and return hosts, replacement policy and test commands. Codex reads instructions towards the working directory; check for `AGENTS.override.md` taking precedence. Ask it to explain those constraints before proposing a change.

Connect Proxy Mail QA:

Terminal

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

```

Use the login command if authentication has not already opened. Choose the same test project for comparison. CLI and IDE share configuration; the IDE extension does not support plugins, and none is needed here. Reuse an existing server entry. Unattended cloud tests need a scoped secret, not an assumed interactive OAuth session.

OAuth cannot read old saved passwords. Use fresh accounts or a person with existing synthetic credentials. Codex still needs browser tools or a test harness: MCP supplies inboxes, not browser control.

## A reproducible acceptance checklist

Use authorised local, development or staging only, never production or real users. Record revision, runtime and target URL for a baseline and replay after the first reviewed change. Keep the [shared switching checklist](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up) alongside the test plan.

1. Use the same `start_run` name each time and pass each run’s `run_id` on every supported call. `create_address` with `password: true`, or `form_values`, supplies details and an inbox, not an app account or submission.
2. Submit through the real app with your browser/runner. Capture `since` immediately **before every submit**, including resends and resets; use `mark_submitted` when available. Supply it to `wait_for_code` or `wait_for_link`.
3. Test fresh sign-up and the unverified gate if required. Verify, reload or reopen the session, sign out and sign in. Allow the legitimate provider action host and inspect the final app destination.
4. If supported, reset: new password works, old fails, used reset fails. Separately leave A unused, request B, check A against policy and prove B works. Use independent fixtures if consuming A would affect B.
5. Use `check_email` for SPF, DKIM, DMARC, hosts and expiry wording. Actually wait for expiry or mark enforcement skipped. Filter `count_emails` by `type`, `subtype` and/or `category` within a bounded window; welcome mail is not duplicate verification.
6. Record app outcomes using `add_run_note`, with `failed: true` for failed browser assertions; record skips separately, then close with `finish_run`. Label unreachable tests as blocked, not passed.

## Copy this task

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

Prompt

```text
Inspect the v0 export and make its runtime requirements explicit. Keep
its auth provider. Confirm the chosen Codex runner can reach the test app.
Propose one small regression test for review, then run the supplied checklist
before and after on [authorised staging URL]. Keep the same run
name and distinguish email verdicts from browser observations. Report
skips. Never disable verification or reset the owner's password.
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.

```

## Limits and maintenance

Proxy Mail QA never opens links or exposes email bodies through MCP. Email checks do not prove server expiry, all-inbox placement or security. SMS, social login, passkeys, KYC and payments need separate tests. Keep repository tests editor-independent and `PROXYMAIL_QA_API_KEY` in CI secrets. Delete app test users separately from inboxes.

## Sources

Guidance checked 4 Dec 2026.

- [v0 FAQ](https://v0.app/docs/faqs)
- [Codex setup](https://proxymail.qa/built-with/codex)
- [MCP](https://proxymail.qa/docs/mcp) and [flow checks](https://proxymail.qa/docs/flow-checks)

## 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-v0-to-codex)

## Related guides

- [v0 to Cursor](https://proxymail.qa/switching/v0-to-cursor): Keep the sign-in provider, start with one small diff and replay the emails.
- [v0 to Claude Code](https://proxymail.qa/switching/v0-to-claude-code): Trace one sign-up from form to callback before Claude Code changes a v0 export.
- [v0 to Qoder](https://proxymail.qa/switching/v0-to-qoder): Have Qoder map a v0 export’s sign-in and missing settings before it edits.
- [v0 to Antigravity](https://proxymail.qa/switching/v0-to-antigravity): Keep Supabase or Clerk when a v0 app moves to Antigravity, then recheck its emails.

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

v0 and Vercel are trademarks of Vercel, Inc. Supabase is a trademark of Supabase, Inc. Clerk is a trademark of Clerk, 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.
