Google Antigravity can produce a code change and explain why it thinks the change is ready. The reviewer still needs to connect the work to a requirement, read what actually changed and gather evidence that the behavior holds. This guide follows that process from the local review pane to GitHub’s merge box.
The example is a small pagination function reviewed in a disposable local folder. The diff and test counts shown below come from that local example. If you need help getting the tools running first, see Google Antigravity on Windows: App vs CLI Setup Guide.
1. Write down the behavior the PR must preserve
Open the issue or pull request description. Identify the expected behavior, current callers and what is explicitly outside the task. For the pagination example, the rule is straightforward: every item should fit on some page, and an empty list has zero pages. The useful cases are an empty list, an exact multiple of the page size and one item beyond an exact multiple.
Check the changed-file list early. A small feature can touch implementation and tests. A dependency, permission, deployment workflow or schema change deserves its own explanation because it changes how the software builds, runs or is released. Ask for a smaller, separate change if the extra edits obscure what reviewers need to verify.
2. Inspect the full diff in Antigravity and GitHub
In the Antigravity App, open Review from the conversation or from its changed-files card. The Agent Edits view shows what the agent modified in that conversation. The Branch view is broader when Antigravity knows the base branch, and it can include uncommitted changes. In the Antigravity CLI, /diff opens the diff viewer. Review staged, unstaged and untracked files separately when preparing the local changes. The Antigravity IDE also supports inline review in the editor. Google’s App and CLI review guide · Google’s IDE review guide.
Once the branch is pushed, review the pull request’s Files changed tab against the selected base. Expand surrounding lines and look up callers where a changed function feeds a UI, API or background job. Open removed tests, changed snapshots and newly added scripts as well as production code. Mark a file Viewed after examining it. GitHub clears that mark if the file changes, which helps you spot what needs another look. GitHub pull-request review instructions.
For a local cross-check, confirm that your checkout is at the PR’s latest head. If the PR targets main on origin, these commands show the commit, the working-tree status and the changes since the branch split from the fetched base. Substitute the actual remote and base for your PR.
git fetch origin
git rev-parse HEAD
git status --short
git diff --name-status origin/main...HEAD
git diff origin/main...HEAD
Match the displayed commit to GitHub’s current PR head. The triple-dot comparison uses the merge base and the specified head commit. Uncommitted files are shown by git status and require their own review. Git diff reference.
3. Run a test that distinguishes the two versions
Decide what would distinguish correct behavior from a plausible mistake. In the example, both versions return zero pages for zero items and two pages for 20 items. The third assertion, 21 items at ten per page, catches the error. Verify that assertion independently of the agent’s summary. Use a disposable checkout with test data when executing unfamiliar code, and read changed scripts or test setup before running them.
With the proposed rounding down, the boundary test expected three and received two. After restoring the correct roundup behavior, the same three tests passed. Keep the test fixed between runs so you can tell whether the implementation caused the change.
Copy the local three-case test
import test from 'node:test';
import assert from 'node:assert/strict';
import { pageCount } from './pagination.mjs';
test('empty list needs zero pages', () => {
assert.equal(pageCount(0, 10), 0);
});
test('20 items fill two pages', () => {
assert.equal(pageCount(20, 10), 2);
});
test('21 items need a third page', () => {
assert.equal(pageCount(21, 10), 3);
});
Save it as pagination.test.mjs beside the demo function from Figure 1. Run node --test --test-reporter=tap pagination.test.mjs against each version.
4. Request a specific correction and review the new diff
Leave a comment where the behavior changes. Describe the expected result, what you observed and what would demonstrate the fix. In Antigravity, you can attach line-level feedback to the agent conversation. On GitHub, submit a review when a blocking issue needs to be tracked in the pull request. Antigravity line-by-line feedback · GitHub review actions.
At 10 items per page, 21 items need three pages. This change returns two. Please preserve the partial page and add a regression assertion for that case.
When the correction arrives, read the new changes and rerun the relevant tests. Watch for a new test that simply matches the changed implementation or for unrelated edits bundled into the fix. Recheck affected callers and any files modified since your first review.
5. Check what actually ran before approving
In GitHub’s checks summary, open the relevant job logs and confirm the task you rely on ran. A skipped job can display a successful status. GitHub may show checks on the PR head or on a test merge commit, so use the checks box to identify the revision being evaluated. Compare that with the latest changes you reviewed. GitHub status checks · Required-check troubleshooting.
Confirm any unresolved discussions and required approvals under the target branch’s rules. GitHub supports requiring code-owner review, dismissing stale approvals and requiring approval of the most recent reviewable push, depending on repository settings. If an important change still lacks evidence, request changes and say what is missing. GitHub protected-branch rules.


