---
title: "Switching from Qoder to Codex: keep sign-up working · Proxy Mail QA"
description: "Codex has no Qoder import, so move the decisions behind your auth into AGENTS.md yourself. Then compare sign-up before and after its first change."
url: https://proxymail.qa/switching/qoder-to-codex
---

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

# Switching from Qoder to Codex: keep sign-up working

Switching from Qoder to Codex does not alter deployed auth. Losing a rule, using a different environment or accepting an uninformed edit can.

Updated 4 December 2026

We make Proxy Mail QA. We recommend it here for disposable accounts, real authentication emails and repeatable evidence. It does not migrate your code, auth provider or users, and passing these checks does not mean the whole app is secure.

Preserve the reasons behind the current behaviour, then compare the app before the switch with its first auth-related Codex change.

## Move decisions, not just the repository

There is no documented Codex import from Qoder. Opening the same folder does not make `.qoder/rules`, previous conversations or project knowledge default Codex instructions.

Extract current decisions from Qoder’s rules and notes: provider, required verification state, callback allowlist, sender, token replacement policy and test commands. Separate requirements from old descriptions. “The reset handler uses this route” may be stale; “staging must not send users to production” remains a constraint.

Put reviewed project instructions in a root `AGENTS.md`, preserving any narrower directory scope. Codex reads instructions from repository root to working directory, choosing `AGENTS.override.md` before `AGENTS.md`, one per directory, with a 32 KiB combined default limit. Its personal instructions use `~/.codex/AGENTS.md`, overridden by `~/.codex/AGENTS.override.md`. Other filenames need `project_doc_fallback_filenames` in `~/.codex/config.toml`; `.qoder/rules` will not become active merely because it is present.

Ask Codex to name its auth restrictions. Review permissions separately: instructions are not enforcement; a Qoder connection is not Codex authorisation. Preserve working authentication instead of requesting a “modernise auth” rewrite.

## Set up the target deliberately

Codex is a coding agent through CLI, IDE and cloud surfaces, not ordinary ChatGPT chat. Start in the correct repository and branch. Verify the running app’s URL, environment variable names and start command without copying secrets into instructions.

Connect Proxy Mail QA through the CLI:

Terminal

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

```

Run `codex mcp login proxymail-qa` if the browser did not open. Authenticate an existing server rather than adding a duplicate, and choose the same Proxy Mail QA project as in Qoder. CLI and IDE share configuration; the IDE extension does not support plugins, so a plugin is not required here.

For unattended cloud work, use your own scoped API key in secrets, never chat or the repository. Interactive OAuth cannot complete unattended. The app must run somewhere the test runner can reach; moving source files alone does not provide a test site, and a cloud task’s localhost is not your laptop’s localhost.

## Save Qoder’s baseline before editing in Codex

On an authorised local or staging app, never production, record the revision, environment and expected behaviour. Call `start_run` with a consistent name. Pass its `run_id` to every subsequent call that supports it, including email checks, `add_run_note` and `finish_run`. After the first auth-related change in Codex, repeat with a fresh test account and browser session.

1. Use `create_address` with `password: true`, or `form_values`, for an inbox, persona and password. Proxy Mail QA does not submit forms; the agent, browser or test runner must do that.
2. Record a timestamp immediately before each submit. `mark_submitted`, if available, returns one for `since`. Use it with `wait_for_code` or `wait_for_link`; record newer timestamps for resend and reset so old mail cannot satisfy a new request.
3. Test sign-up and the unverified gate if your policy requires it. Verify, reload the session, sign out and sign in. Check the approved provider action host and final app destination, rather than requiring every outer link to use the app host.
4. Reset the test account’s password: the old password should fail and the new one work. Try a used link in a clean context; it must not grant fresh access.
5. Test replacement separately from consumed-link reuse. Use either a verification resend on a still-unverified account or a separate reset case; one is enough. 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. Include invitations if supported. Mark expiry skipped unless you actually wait and try an unused expired link.
6. Run `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; welcome mail is not duplicate verification. Add browser findings 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 the report and compares recent same-name runs.

## Ask for a constrained first change

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.
Check that the reviewed Qoder auth decisions are present in the applicable
Codex instructions. Do not change the provider or relax verification.
Explain one small proposed auth diff before editing. Then repeat the
staging baseline with fresh accounts and clean sessions. Record browser
and email 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 reset the owner’s password.

```

## What the handoff does not prove

The MCP server exposes no email body and opens no links. Email checks do not prove server expiry, inbox placement or whole-app security. SMS, social auth, KYC and payments need separate tests. Use `check_delivery` for evidence when mail is absent; provider sandbox restrictions are a possibility, not a certain diagnosis. Never disable verification to finish a test.

OAuth cannot read existing saved passwords; use fresh accounts or a person’s explicit reveal. 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. Delete exact app test users separately from inboxes. When Qoder is retired, revoke its connection under **Project settings → API keys**, but don’t revoke the shared CI key.

See the [tool-switch retest guide](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up) and [Codex to Qoder guide](https://proxymail.qa/switching/codex-to-qoder).

## Sources

Reviewed 4 Dec 2026: [Codex instructions](https://learn.chatgpt.com/docs/agent-configuration/agents-md), [supported imports](https://learn.chatgpt.com/docs/import), [Codex 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-qoder-to-codex)

## Related guides

- [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.
- [Qoder to Cursor](https://proxymail.qa/switching/qoder-to-cursor): Map your Qoder rules to Cursor’s rule types, then retest sign-up.
- [Qoder to Claude Code](https://proxymail.qa/switching/qoder-to-claude-code): Move your Qoder auth rules into CLAUDE.md, then repeat the same sign-up checks.
- [Qoder to Antigravity](https://proxymail.qa/switching/qoder-to-antigravity): Translate Qoder’s rule types to Antigravity triggers, then replay the sign-up checks.

[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. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
