Proxy Mail QA

Switching from Antigravity to Codex: preserve auth

Moving from Antigravity to Codex should start with a working baseline, not a new auth implementation. What can change sign-up is the first edit made without the old rules, environment settings or callbacks.

Updated

We make Proxy Mail QA. We recommend it for disposable test accounts, real auth emails and evidence during this handoff. It does not migrate code, authentication or users, and it cannot establish that the whole app is secure.

Changing editors does not change deployed authentication.

Separate the app from the tool that built it

Record the revision, start command, test URL, environment variable names, auth provider, sender and permitted callbacks. Keep values in secrets. A working Antigravity preview does not prove Codex can reach the app.

Do not infer Firebase from Antigravity. Read the project’s actual configuration and preserve the provider it uses. If it does use Firebase, include server-enforced verified state wherever policy requires it, the callback allowlist and the email sender in your checks. A hidden button is not evidence that an unverified account cannot reach protected data.

Codex offers CLI, IDE and cloud coding agents, not ordinary ChatGPT chat. Use existing app commands. For cloud tests, confirm the app runs somewhere the test runner can reach; the cloud task’s localhost is not your laptop’s localhost.

Translate instructions, not filenames

There is no documented Codex import from Antigravity. A repository-root AGENTS.md may already be useful, but GEMINI.md, .agents/AGENTS.md and .agents/rules are not interchangeable with that root file. A file under .agents is not automatically a root-wide instruction.

Move current auth decisions into the appropriate AGENTS.md. Preserve scope: experimental-service rules should not become main-app requirements. Include “do not change provider”, the verification gate, token policy and forbidden production operations.

Codex reads from repository root to working directory, choosing AGENTS.override.md before AGENTS.md, one per directory, up to a combined 32 KiB by default. Personal rules use ~/.codex/AGENTS.md, superseded by ~/.codex/AGENTS.override.md. Other filenames require project_doc_fallback_filenames in ~/.codex/config.toml; do not assume discovery. Ask Codex to summarise the applicable auth instructions before granting an editing task.

Give Codex the same mail evidence

Add the MCP server:

Terminal
codex mcp add proxymail-qa --url https://api.proxymail.qa/mcp

If the browser did not open, run codex mcp login proxymail-qa, then choose the same Proxy Mail QA project. If a server already exists, authenticate it instead of duplicating it. CLI and IDE share configuration; the IDE extension does not support plugins.

Cloud automation cannot complete interactive OAuth unattended. Supply your own scoped API key as a secret, never in chat or the repository. Do not broaden permissions just because the previous agent had access.

Compare equivalent runs

Use only authorised local or staging apps, not production. Before leaving Antigravity, call start_run with a stable environment-specific name. Record the revision and policy. Pass the returned run_id to every subsequent call that supports it, including email checks, add_run_note and finish_run. Repeat after Codex’s first auth-related change with a fresh test account and browser session.

  • Create and submit: create_address with password: true, or form_values, supplies an inbox, persona and password. Your browser, agent or runner fills and submits. Immediately before each submit, record since, using mark_submitted if available. Pass its timestamp to wait_for_code or wait_for_link, with newer timestamps for resend and reset.
  • Prove the gate: sign up, test unverified access if policy requires a gate, then verify. Reload the session and test sign-in again. Inspect the approved provider action host and final destination; a provider-hosted outer URL need not match the app host.
  • Exercise reset: change the test password and confirm the old one fails and the new one works. Retry a used link in a clean browser context; it must not grant fresh access.
  • Separate replacement from consumed-link reuse: use a still-unverified account for resend or a separate reset case. Leave A unused, request B, check A against the agreed policy and verify B completes the intended action. If A may remain valid, test B in an independent equivalent case so consuming A cannot invalidate B. Test invitations if supported. Mark expiry skipped unless you actually wait and try an expired unused link.
  • Record mail and browser evidence: check_email checks SPF, DKIM, DMARC, link hosts with expect_host, expiry wording and plain text. Filter count_emails by type, subtype and/or category and a measured window; welcome mail is not duplicate verification. Use add_run_note for browser outcomes. For failed browser assertions, set failed: true (false by default); “failed” in prose alone leaves the run green. Record skipped checks separately with reasons, not as passes or assertion failures. Then call finish_run for the report and recent same-name comparison.

A prompt that prevents a provider rewrite

Copy the preceding checklist together with this prompt and supply the authorised staging target.

Prompt
Use the supplied checklist; ask for it if missing.
Preserve this app’s actual auth provider; do not infer one from Antigravity.
Review the translated instructions and one small proposed auth diff.
Repeat the recorded staging baseline with fresh accounts and sessions.
Check provider action hosts and final destinations. Report evidence.
Test consumed-link reuse separately from replacement. For replacement,
use a still-unverified account for resend or a separate reset case: leave
A unused, request B, check A against policy and prove B completes the action.
If A may remain valid, prove B in an independent equivalent case so
consuming A cannot invalidate B.
Pass start_run's run_id to every call that supports it, including email
checks, add_run_note and finish_run. For failed browser assertions, use
add_run_note with failed: true (default false); 'failed' in prose alone
leaves the run green. Record skips with reasons, not as passes or failures.
Never disable verification or reset my owner account.

Boundaries and cleanup

MCP neither exposes email bodies nor opens links. These checks do not cover SMS, social auth, KYC, payments, server expiry without waiting, a security audit or guaranteed inbox placement. Missing mail may involve a provider sandbox; check_delivery gives evidence, not a certain diagnosis.

OAuth cannot read saved passwords: use fresh accounts or a person’s reveal. Keep the E2E tests in the repository, run them in CI without relying on any one tool, and store PROXYMAIL_QA_API_KEY as a secret. Delete exact app test users separately from inboxes. Revoke the retired tool connection in Project settings → API keys, but don’t revoke a shared CI key.

Continue with the shared retest guide or Codex to Antigravity guide.

Sources

Reviewed 4 Dec 2026: Codex instructions, import options, connection, MCP, flow checks, CI.

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 accountOpen the app

See every email testing problem we solve

Google, Antigravity and Firebase are trademarks of Google LLC. 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.