---
title: "Switching from Codex to Antigravity: preserve the test trail · Proxy Mail QA"
description: "Antigravity reads AGENTS.md at the workspace root and above, not in subfolders. Keep your Codex test commands and replay the sign-up checks."
url: https://proxymail.qa/switching/codex-to-antigravity
---

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

# Switching from Codex to Antigravity: preserve the test trail

A Codex session may start inside a package, inherit its instructions and run a familiar test command. Opening the repository root in Antigravity is a different context.

Updated 4 December 2026

> We make Proxy Mail QA. We recommend it for evidence that account emails arrive and their codes or links complete the intended app action. It does not migrate source code, auth providers or users. These checks are not a security audit.

Keep the commands and constraints explicit instead of expecting terminal history to explain them.

The tool change itself does not alter deployed login. Missing instructions, moved configuration or a new environment can change what happens during the next auth edit.

## Keep the test harness, not just the last passing message

Before switching, record the revision, working directory, environment, auth provider, expected hosts and exact test commands. Keep repository and CI tests. Do not change providers to suit the editor.

Capture a baseline using fresh accounts on an owned or authorised dev/staging site, never production or real accounts. Record browser outcomes as well as test output. A passing mocked email test does not establish that staging sent a usable reset link.

## Choose a deliberate workspace root

Antigravity supports workspace `AGENTS.md`. It reads `AGENTS.md` and `GEMINI.md` in the workspace and parents through the repository root, but does not discover rules in subfolders below the workspace root. Do not assume Codex’s working-directory instruction chain is reproduced. `AGENTS.override.md` is not documented as an Antigravity rule source; explicitly carry essential instructions into root `AGENTS.md`, without frontmatter.

If splitting rules into `.agents/rules/*.md`, use valid YAML with `trigger: always_on`, `model_decision`, `glob` or `manual`. Missing or invalid triggers—including `alwaysApply`—silently drop the rule. Keep the essential auth contract always available at the root.

For imported settings, run `/migrate-agent-settings` in the **Antigravity App**, not an assumed IDE/CLI equivalent. The Codex migration includes global `~/.codex/AGENTS.md` and MCP settings. Sources stay untouched; the default destination is the global plugin `~/.gemini/config/plugins/migrated-settings`. The plugin applies to every project, so keep app-specific policies in the workspace. Missing required variables leave an imported MCP plugin disabled until supplied on its plugin page and enabled.

## Attach email evidence to the same project

If Proxy Mail QA was imported, authenticate/enable it rather than add a duplicate. For manual setup, open the IDE agent panel’s **… → MCP Servers → Manage MCP Servers → View raw config** and merge:

JSON

```json
{"mcpServers":{"proxymail-qa":{"serverUrl":"https://api.proxymail.qa/mcp"}}}

```

The Antigravity App, IDE and CLI share `~/.gemini/config/mcp_config.json`. Restart, authenticate in the browser and choose the same Proxy Mail QA project. Keep keys out of chat and the repository. OAuth cannot reveal previously saved passwords; use fresh accounts or a person.

The MCP server is not a browser. `create_address` with `password: true` and `form_values` provide a test password and made-up field values; Antigravity’s own browser fills and submits the app form.

## Acceptance checklist after the first auth change

Use `start_run` with the same name as the baseline, but pass the new run’s `run_id`, not the old one, to every supported call. Before **each** submit, record its timestamp with `mark_submitted` if available; use that timestamp as `since` for `wait_for_code` or `wait_for_link`.

- Fresh sign-up: check intended unverified restrictions, including server/data permissions, then verify, reload and sign in again.
- Reset: confirm the new password works and the old one fails. A used reset must not change the password twice. In a separate flow, leave token A unused, request B, test A against the agreed replacement policy and confirm B completes the intended action. If A may remain valid and consuming it would invalidate B, prove B with an equivalent independent fixture. Never resend after completed verification to test replacement. Include invites if supported.
- Email: use `check_email` for SPF, DKIM, DMARC, `expect_host`, insecure/unexpected localhost links and expiry wording. Use `count_emails` for a specific kind and window; welcome plus verification is not duplication.
- Provider redirects: for every provider, check the approved provider action host and final app environment and route. If the existing app uses Firebase, also verify authorised-domain settings; do not assume localhost is prelisted. Do not infer Firebase from the agent or introduce it to perform this check.
- Expiry: actually wait for expiration or mark the check skipped. Wording does not prove enforcement. Record browser evidence with `add_run_note`, setting `failed: true` for failed browser assertions; list skipped checks separately. Then use `finish_run` to report recorded evidence and compare recent same-name runs; it does not observe the browser.

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

Prompt

```text
Use the supplied checklist; ask for it if missing.
Identify the workspace root and auth instructions Codex used that are not
active here. Preserve our provider, test commands and CI suite. Propose
one reviewed auth change, then replay the recorded staging checklist.
In a separate flow, leave token A unused, request B, test A against the
agreed replacement policy and confirm B completes the intended action.
If A may remain valid and consuming it would invalidate B, prove B with
an equivalent independent fixture. Never resend after completed
verification to test replacement.
For every provider, check the approved action host and final app
environment and route. If the app uses Firebase, also verify authorised
domains; do not infer Firebase from the agent.
Use start_run with the same name for baseline and replay; pass each new
run_id to every supported call. Record browser outcomes with add_run_note;
set failed:true for failed browser assertions and list skips separately.
finish_run reports recorded evidence, not automatic browser observations;
compare recent same-name runs. Separate email checks from browser outcomes.
Do not disable confirmation or reset the owner's password.

```

## Boundaries and cleanup

Proxy Mail QA returns no email body and never prefetches links. `check_delivery` observes receipt, not a definitive backend or provider-sandbox cause. This check excludes SMS, social login, KYC, payments and security certification.

Keep `PROXYMAIL_QA_API_KEY` in CI secrets. Delete specific app test users separately from inboxes. Revoke a retired Codex connection under **Project settings → API keys** only when no longer needed.

See [the shared switching checklist](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up).

## Sources

Reviewed 4 Dec 2026 from the published documentation.

- [Codex migration](https://antigravity.google/docs/migration/codex/) and [rules](https://antigravity.google/docs/rules/)
- [Antigravity connection](https://proxymail.qa/built-with/antigravity)
- [MCP](https://proxymail.qa/docs/mcp), [flow checks](https://proxymail.qa/docs/flow-checks) and [CI](https://proxymail.qa/docs/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 account](https://app.proxymail.qa/?mode=signup&from=site-switching-codex-to-antigravity)

## Related guides

- [Codex to Cursor](https://proxymail.qa/switching/codex-to-cursor): Find the Codex instructions Cursor won’t read, move them, then retest sign-up.
- [Codex to Claude Code](https://proxymail.qa/switching/codex-to-claude-code): Make sure Claude Code reads your AGENTS.md, then retest sign-up and reset.
- [Codex to Qoder](https://proxymail.qa/switching/codex-to-qoder): Find the Codex rules that AGENTS.md alone doesn’t carry into Qoder, then retest sign-up.
- [Antigravity to Codex](https://proxymail.qa/switching/antigravity-to-codex): Move Antigravity’s auth rules into AGENTS.md and keep the provider you already use.

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

Codex is a product of OpenAI. OpenAI, Codex, ChatGPT and the OpenAI logo are OpenAI’s trademarks. Google, Antigravity and Firebase are trademarks of Google LLC. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
