---
title: "Switching from Cursor to Codex: retest sign-up · Proxy Mail QA"
description: "Codex can import a Cursor setup, but check what each rule means afterwards. Compare sign-up and password reset before and after its first auth edit."
url: https://proxymail.qa/switching/cursor-to-codex
---

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

# Switching from Cursor to Codex: retest sign-up

Opening a Cursor project in Codex does not change deployed authentication. The risk is the next edit made without a Cursor rule, callback setting or environment assumption.

Updated 4 December 2026

We make Proxy Mail QA. We recommend it here for disposable test accounts, real authentication emails and evidence of what worked. It does not migrate your code, auth provider or users, or establish that your whole app is secure.

Compare a working baseline with the first auth-related change, not one editor’s reputation with another’s.

Cursor was renamed Grok Build on 30 November 2026\. We use the old name here; its project files still live in `.cursor`.

## Import the setup, then check its meaning

Codex is a coding agent available through a CLI, IDE extension and cloud tasks, not ordinary ChatGPT chat. Start in the same repository and branch. Confirm the app’s start command, staging URL, auth provider, environment variable names, sender and callback allowlist. Keep secret values out of instructions.

The Codex CLI’s `/import` offers Cursor as a source. ChatGPT desktop also offers **Settings → Import**, or **Settings → General → Import other agent setup**. Instructions can be copied into `AGENTS.md`; MCP configuration and supported skills, hooks, plugins and subagents can also import. Imported configuration is not proof that approval boundaries survived unchanged.

Review `.cursor/rules/*.mdc`, particularly rules attached only to auth files. Translate their scope deliberately rather than turning every conditional rule into a global instruction. Check Cursor’s User Rules in its app UI manually. Preserve restrictions on production access, migrations and auth changes, not just formatting preferences.

Codex reads project instructions from the repository root to its working directory, choosing `AGENTS.override.md` before `AGENTS.md`, one file per directory. The combined default limit is 32 KiB. Personal instructions live in `~/.codex/AGENTS.md`, superseded by `~/.codex/AGENTS.override.md`. Other filenames need `project_doc_fallback_filenames` in `~/.codex/config.toml`; they are not automatic. A root `AGENTS.md` is portable, but still review nested overrides.

## Connect without creating a second server

If import brought across Proxy Mail QA, authenticate that server and select the same project. Otherwise run:

Terminal

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

```

If the browser did not open:

Terminal

```sh
codex mcp login proxymail-qa

```

CLI and IDE share configuration. The IDE extension does not support plugins; these commands suffice. For unattended cloud work, use your own scoped API key in secrets, not chat or the repository: interactive OAuth cannot complete unattended. The test app must run somewhere the test runner can reach; a cloud task’s localhost is not your laptop’s localhost.

## Keep a before-and-after checklist

Before leaving Cursor, run this on an authorised local or staging app, never production. Record the revision, environment and expected token policy. After Codex’s first auth-related edit, repeat with a fresh account and browser session, using the same settings.

1. Start `start_run` with a consistent name, such as `staging-auth-handoff`. Pass its `run_id` to every subsequent call that supports it, including email checks, `add_run_note` and `finish_run`. Generate an inbox, persona and password with `create_address` using `password: true`, or use `form_values`. Neither submits the form; your agent, browser or test runner does.
2. Record `since` immediately **before** each submit. Use `mark_submitted` if available and its returned timestamp. Pass that timestamp to `wait_for_code` or `wait_for_link`; use a newer one for resend and reset.
3. Sign up. If policy requires verification before protected access, test that gate. Verify, reload the session, then sign out and sign in. Check the final destination. For provider-hosted action links, inspect both the approved action host and final app host, not just the outer URL.
4. Reset the test account’s password. Confirm the old password fails and the new one works. Reuse a consumed link in a clean browser context; it must not grant fresh access. Test replacement separately from consumed-link reuse, using 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.
5. Test invitations if supported. Check server expiry only by actually waiting and trying an unused link; otherwise mark it skipped.
6. Use `check_email` for SPF, DKIM, DMARC, link hosts with `expect_host`, expiry wording and plain text. Use `count_emails` filtered by `type`, `subtype` and/or `category` and a measured window: a welcome email is not duplicate verification. Record browser results with `add_run_note`. 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. `finish_run` returns a report comparing recent same-name runs.

## Give Codex a bounded first task

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.
Read the imported auth instructions and report conflicts before editing.
Preserve the provider, verification gate and callback policy. Review one
small auth diff, then repeat staging-auth-handoff with fresh accounts
and browser sessions. Record mail and browser evidence separately.
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 the owner’s password.

```

## Keep the evidence, not the dependency

Proxy Mail QA’s MCP server never returns email bodies or opens links. Email checks do not prove server expiry, inbox placement or whole-app security; SMS, social sign-in, KYC and payments are outside this check. Missing mail may reflect provider sandbox restrictions: `check_delivery` supplies evidence, not a certain root cause.

Keep the E2E tests in the repository, run them in CI without relying on either tool, and store `PROXYMAIL_QA_API_KEY` as a secret. Saved passwords are not readable through OAuth; create fresh accounts or have a person reveal one. Delete exact app test users separately from inboxes. Retire Cursor’s connection under **Project settings → API keys**, but don’t revoke a shared CI key.

See the [shared retest guide](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up) and [Codex to Cursor guide](https://proxymail.qa/switching/codex-to-cursor).

## Sources

Reviewed 4 Dec 2026: [Codex instructions](https://learn.chatgpt.com/docs/agent-configuration/agents-md), [import](https://learn.chatgpt.com/docs/import), [Cursor’s new name](https://grok.com/news/cursor-is-now-grok-build), [connection](https://proxymail.qa/built-with/codex), [MCP](https://proxymail.qa/docs/mcp), [flow checks](https://proxymail.qa/docs/flow-checks), [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-cursor-to-codex)

## Related guides

- [Cursor to Claude Code](https://proxymail.qa/switching/cursor-to-claude-code): Import your Cursor rules, check what Claude Code loaded, then retest sign-up.
- [Cursor to Qoder](https://proxymail.qa/switching/cursor-to-qoder): Recreate your Cursor rules in Qoder with the right scope, then retest sign-up.
- [Cursor to Antigravity](https://proxymail.qa/switching/cursor-to-antigravity): Import Cursor’s settings into Antigravity, check their scope, then replay the sign-up checks.
- [Codex to Cursor](https://proxymail.qa/switching/codex-to-cursor): Find the Codex instructions Cursor won’t read, move them, then retest sign-up.

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

Cursor is a product of Anysphere. 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.
