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:
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.
- Use
create_addresswithpassword: true, orform_values, for an inbox, persona and password. Proxy Mail QA does not submit forms; the agent, browser or test runner must do that. - Record a timestamp immediately before each submit.
mark_submitted, if available, returns one forsince. Use it withwait_for_codeorwait_for_link; record newer timestamps for resend and reset so old mail cannot satisfy a new request. - 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.
- 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.
- 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.
- Run
check_emailfor SPF, DKIM, DMARC, link hosts withexpect_host, expiry wording and plain text. Usecount_emailsfiltered bytype,subtypeand/orcategoryand a measured window; welcome mail is not duplicate verification. Add browser findings withadd_run_note. For failed browser assertions, setfailed: true(falseby default); “failed” in prose alone leaves the run green. Record skipped checks separately with reasons, not as passes or assertion failures.finish_runreturns 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.
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 and Codex to Qoder guide.
Sources
Reviewed 4 Dec 2026: Codex instructions, supported imports, Codex connection, MCP, flow checks, CI.