---
title: "From Bolt to Codex: reproduce the runtime before editing · Proxy Mail QA"
description: "Rebuild a Bolt app’s Node setup where Codex can run it, keep its database and confirmation setting, then compare sign-up and reset emails."
url: https://proxymail.qa/switching/bolt-to-codex
---

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

# From Bolt to Codex: reproduce the runtime before editing

A preview that ran inside Bolt doesn’t show that Codex’s environment can run the same app. Rebuild the runtime first, then change the code.

Updated 4 December 2026

We make Proxy Mail QA. We recommend it narrowly for fresh accounts, auth-email evidence and repeatable app checks. It is not a code, backend, user or password migration tool, and it does not establish security.

## Start with a reproducible launch

Bolt’s desktop ZIP export and its GitHub sync both let you work on source outside Bolt. For Codex, first turn that source into a project with a known Node runtime, dependencies and working start/build commands.

Use Codex the coding agent, not ordinary ChatGPT chat. No builder import wizard is assumed. Opening exported files does not demonstrate that hosted authentication, secrets or data moved.

Trace whether auth uses Bolt Database, powered by Supabase, or a Supabase project you connected. Email/password can have optional confirmation; magic links/codes exist if built, and Google may also be offered. Preserve the intended confirmation flag instead of letting an agent infer it from one successful login.

A database claim is a separate decision. Claiming existing Bolt Database into Supabase includes its data and requires Pro/Teams plus Supabase organisation-owner permission. Connecting a different empty project is not that operation. Documentation does not individually guarantee password, session or secret continuity; neither blanket preservation nor blanket loss is justified.

## Give the runner a reachable app

Record runtime, auth provider, approved callbacks and test commands in root `AGENTS.md`. Codex reads towards the working directory, with `AGENTS.override.md` taking precedence over `AGENTS.md` at a directory. Keep credentials in environment variables/secrets, never instructions or chat.

Terminal

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

```

Use the login command if browser authentication has not completed, selecting your baseline Proxy Mail QA project. Authenticate an existing entry rather than adding another. CLI and IDE share configuration; IDE plugins are unsupported and unnecessary for this setup.

The app may run inside the sandbox or elsewhere the runner can reach. It is not required to run outside. A cloud task’s localhost is not your laptop’s localhost. Unattended work needs a scoped API secret rather than interactive OAuth. Your browser/test runner must perform app actions; MCP is not browser automation.

## Before-and-after acceptance checklist

On owned or authorised local/dev/staging only, baseline the Bolt build and replay after one reviewed runtime, hosting or auth change. Never use production. Follow the [shared retest guide](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up).

1. Record revision, intended confirmation flag, sender and new-host callbacks. Keep the flag unchanged. Check that auth emails reach an outside address: your own Supabase project needs custom SMTP for that. Bolt Database sends at most 2 auth emails an hour per project, so spread the checks out.
2. Start a stable-named `start_run`; pass `run_id` to every supported call. `create_address` with `password: true`, or `form_values`, provides values, not app users. Fill and submit through your own browser/runner.
3. Capture `since` immediately before each submission, including resends, using `mark_submitted` if available. Pass it to `wait_for_code` or `wait_for_link`.
4. Sign up fresh. Check unverified restrictions if required, verify when applicable, reload, sign out and sign in. Approve legitimate provider action hosts and verify the final app destination, not just the outer URL.
5. Reset only if password auth supports it; otherwise mark N/A. New password works, old fails and a used reset cannot reset again. Separately leave A unused, request B, test A against replacement policy and prove B works. If A can be consumed, use an independent equivalent fixture for B. Wait for real expiry or mark it skipped.
6. If claiming or changing the backend, sign in with a synthetic staging existing-user fixture from before the move; check identity and access. Never use production accounts/data. Fresh signup cannot prove continuity.
7. Check mail authentication, hosts and expiry wording with `check_email`. Filter `count_emails` by `type`, `subtype` and/or `category` within a bounded window; welcome mail is not duplicate verification. Use `add_run_note` for app outcomes, with `failed: true` for failed browser assertions; record skips separately, then use `finish_run` for the report.

## A prompt for the first task

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

Prompt

```text
Explain how this Bolt export runs in our test environment without editing.
Identify missing environment-variable names, not values. Keep the backend
and confirmation policy. Propose one reproducibility fix for review.
Run the supplied checklist before and after on [authorised staging URL].
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 reachability blockers and skips, not guessed passes.
Never disable confirmation or reset the owner's password.

```

## Evidence, not a migration certificate

MCP exposes no email bodies and never prefetches links. `check_delivery` supplies receipt evidence, not provider-log certainty. Email wording is not server expiry enforcement; arrival is not all-recipient placement. SMS, social login, KYC and payments need separate tests.

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

## Sources

Evidence checked 4 Dec 2026; not personally migration-tested.

- Bolt: [project files](https://support.bolt.new/managing-projects/projects-files), [Supabase integration](https://support.bolt.new/integrations/supabase), [auth email limits](https://support.bolt.new/bolt-cloud/database/authentication#auth-email-limits), [builder guide](https://proxymail.qa/built-with/bolt).
- 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-bolt-to-codex)

## Related guides

- [Bolt to Cursor](https://proxymail.qa/switching/bolt-to-cursor): Open the code in Cursor first; claiming the database into Supabase is a separate move.
- [Bolt to Claude Code](https://proxymail.qa/switching/bolt-to-claude-code): Turn one remembered click in Bolt’s preview into a sign-up check you can repeat.
- [Bolt to Qoder](https://proxymail.qa/switching/bolt-to-qoder): Record whether sign-up needs a confirmed email before Qoder changes the code.
- [Bolt to Antigravity](https://proxymail.qa/switching/bolt-to-antigravity): Move the Bolt source first, and leave any change of database or sign-in for later.

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

Bolt is a trademark of its owner. 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.
