---
title: "Moving from manual coding to Antigravity: write down auth · Proxy Mail QA"
description: "Antigravity can’t see the auth rules in your head. Write them into AGENTS.md, record how sign-up works today, then replay the checks after its first edit."
url: https://proxymail.qa/switching/manual-coding-to-antigravity
---

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

# Moving from manual coding to Antigravity: write down auth

When you code manually, some requirements live only in your head. Antigravity needs that context before it proposes a cleaner-looking implementation.

Updated 4 December 2026

> We make Proxy Mail QA. We recommend it for narrow evidence about test account emails and the app actions completed with their codes or links. It does not migrate your code, authentication or users. These checks are not a security audit.

You may know why verification blocks one action but not another, which service owns resets, and why staging has a different return URL.

Changing tools does not itself change deployed login. Lost constraints, moved configuration or a new environment become risks when a subsequent edit relies on them. Keep the provider you chose; adopting an agent does not require Firebase or any other replacement.

## Start with a read-only inventory

Ask Antigravity to find the sign-up, verification, sign-in, reset and invitation paths without editing them. Have it name the provider, relevant environment-variable names—not values—and existing tests. Mark unknowns rather than letting it invent policy.

Then supply the knowledge the repository cannot explain:

- Which actions require a verified email, and where server/data permissions enforce that restriction.
- Approved email action hosts and final app destinations for each environment.
- Who owns email sending, token expiry and replacement behaviour: your code or the provider.
- Why an apparent workaround exists, and whether it is still required.

Distinguish requirements from observations. “An older reset still works” is a baseline finding, not automatically the intended policy. Keep the test suite and record its commands before accepting new tests.

Put the essential contract in root `AGENTS.md` without frontmatter. Antigravity reads `AGENTS.md`/`GEMINI.md` in the workspace and parents through the repository root; it does not discover rules in subfolders below the workspace root. Optional `.agents/rules/*.md` need valid YAML with `trigger: always_on`, `model_decision`, `glob` or `manual`. Missing or invalid triggers, including `alwaysApply`, silently drop the rule.

## Establish the baseline before handing over edits

Before switching your daily work, record the revision, dev/staging URL and checklist results below. Use only sites you own or may test, never production or real accounts. A person can perform the browser steps, or an existing harness can run them.

Choose one small first task, such as adding a missing assertion to an existing reset test. Review the diff and run the existing suite. Do not start with “rebuild auth”. After the first actual auth change, replay the baseline even if those tests remain green.

## Set up email evidence

In the Antigravity IDE agent panel, open **… → 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`. If the entry already exists, authenticate/enable it rather than duplicate it. Restart, sign in through the browser and choose the same Proxy Mail QA project for both runs. No keys belong in chat or the repository.

The MCP server does not provide a browser. `create_address` with `password: true` supplies a test password, and `form_values` supplies made-up form data. Antigravity’s own browser—or a person—must fill and submit. OAuth cannot reveal old saved passwords; use fresh accounts or a person with those credentials.

## A practical acceptance checklist

Start baseline and replay with `start_run` under the same name; pass each run’s own `run_id` to every supported call. Record a timestamp before **each** submit, using `mark_submitted` if available. Supply it as `since` to `wait_for_code` or `wait_for_link`.

1. Sign up fresh. Before verification, test intended restrictions at server/data permissions as well as the screen. Verify, reload and sign in again.
2. Reset the password. The new one works; the old one fails. A used reset cannot change it a second time. 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.
3. Use `check_email` for SPF, DKIM, DMARC, `expect_host`, insecure/unexpected localhost links and expiry wording. For every provider, check the approved provider action host and final app environment and route. If your existing app uses Firebase, also verify authorised domains rather than assuming localhost is prelisted. Do not infer Firebase from the agent.
4. Wait for actual expiry or explicitly mark it skipped. Email wording does not prove enforcement. Use `count_emails` for a specific kind/window, not welcome and verification combined.
5. Add browser outcomes 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. Separate new regressions from failures already present.

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.
Inventory auth read-only. List missing requirements and keep our chosen
provider and tests. Propose one small test-only task for review first.
After our first auth edit, replay the recorded staging checklist with
fresh accounts.
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. Never disable email confirmation or reset
the owner's password to get a passing test.

```

## What the evidence cannot promise

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

Retain CI tests with `PROXYMAIL_QA_API_KEY` in CI secrets. Delete specific app test users separately from inboxes. Revoke unneeded tool connections under **Project settings → API keys**. 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.

- [Antigravity 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-manual-coding-to-antigrav)

## Related guides

- [Hand coding to Cursor](https://proxymail.qa/switching/manual-coding-to-cursor): Write down your auth rules, let Cursor make one small change, then retest sign-up.
- [Hand coding to Claude Code](https://proxymail.qa/switching/manual-coding-to-claude-code): Put your unwritten auth rules in CLAUDE.md and make your manual check repeatable.
- [Hand coding to Codex](https://proxymail.qa/switching/manual-coding-to-codex): Tell Codex the auth decisions your code doesn’t show, then start with one small change.
- [Hand coding to Qoder](https://proxymail.qa/switching/manual-coding-to-qoder): Have Qoder list how your sign-up works before it changes anything, then retest.

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

Google, Antigravity and Firebase are trademarks of Google LLC. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
