Skip to content
Agentic Levels
Start hereLevelsTracksPromptsAbout
Get my levelGet my level

  • Start hereYour first useful task with AI.
  • Level quiz8 questions. No AI needed.
  • Fluency ScoreYour Level and a score, from your own AI.

  • LevelsThe 11 levels, in order.
  • LessonsShort lessons, filter by level.
  • TracksGuided paths by tool, role or goal.
  • Set up your AI tool
  • Starter packFree files that help AI remember.

  • PromptsReady prompts to copy and adapt.
  • ChatGPT vs Claude vs GeminiPick the right one for the job.
  • How-tos
  • ReferenceCommands for Claude Code, Codex, Antigravity.
  • ResourcesHand-picked reading and tools.

  • Your progress
  • Your next moveAn interview that picks your next skill.
  • Your next lessonsThe next lessons at your level.
  • Updates

  • Pricing
  • About
  • FAQ & Feedback
  • Work with us
  • How we handle your data
Sign inPreferences
AboutPricingHow-tosPromptsStarter packMy stackHow we handle your data

© 2026 Fuentes Studio

PrivacyTermsRefundsAccessibilityAI content policyCredits
yourCouncil
Ready to help
✦

What do you want to understand?

Ask anything about what you're learning.

←Codex Fundamentals
  1. Tracks
  2. ›Codex Fundamentals: Module 4
  3. ›Run the proof loop
5

Level 5 · Lesson 6 of 12 · Free

Run the proof loop

Tests, build, route, screenshot, or manual check

After this, you'll be able to choose the right proof loop for a Codex task and read failure output before asking for another edit.

Before you start

Complete Approve commands by risk first.

The idea

A Codex change is not done when the patch exists. It is done when the proof matches the task. The proof loop is your evidence that nothing nearby broke.

Worked example

Before and after

Before: Update the pricing copy (Codex says done, and you can't tell what it checked). After: Change the pricing page headline to Plans for small teams. Ask me which checks this project has, run the lint if there is one, open the pricing page in the built-in browser, and tell me what changed, what ran, and what is still unverified.

What the AI might say

I changed one headline in the pricing page file. The content lint passed, and the pricing page shows the new headline. Not verified: the mobile layout.

Why it works

The After matched the proof to a copy edit: lint plus a page check. The last question is what exposes fake completion.

LoopMove through Run the proof loop, check proof, then fix only the weak part.
yesnorun it again
StartBegin with the real task
Run the proof loopAfter this, you'll be able to choose the right proof loop for a Codex task and read
1Proof visible?The proof loop matches the task risk
Ready to useCreate a proof loop for one Codex task and name what remains unverified
Fix the weak partBreaks when the proof command passes but does not cover the changed behavior

Proof can be a test, a build, or a screenshot. It can also be a typecheck (checks that the pieces of code fit together), a lint (an automatic style and error check), a route render (loading one page to see it shows), or a manual check. A copy edit might need lint and a page load, while a payment change needs tests, a build, and a person checking it.

Codex should run proof after every edit, and you still read the output. "Passed" means nothing if the command never touched the changed area. A skipped check just hides a gap you still have to name.

Ask Codex three things. What changed, what ran, and what's still unverified. That last part stops fake completion.

For a page, look at it in the built-in browser. It's a small web browser inside the Codex app, so Codex can open your page while you watch. Open a new tab with Cmd+T (Ctrl+T on Windows), then ask Codex to load your page.

Select Annotate to leave a comment on one element, such as a heading, so Codex knows exactly which part you mean. This browser has its own profile, separate from your everyday one. Settings, then Browser, then Agent permissions, sets what Codex may do there.

The built-in browser lives in the app only, not in the terminal version or the IDE extension. In those, ask Codex to run your check and open the file yourself.

When a check fails, read the failure message before asking for another edit. A failing output might say Expected "Ana" but got "". Then ask: Explain this error in plain words and propose one fix.

In Claude Code and Antigravity: Claude Code runs your checks from the terminal and shows the output, so ask it the same three questions. Antigravity's built-in browser agent (personal accounts, App v2.30.0 or later) tests a page when you type /browser and a task. It pauses for sign-in, two-step codes and CAPTCHA (a "prove you're human" check) so you can do them.

The better your proof loop, the less you have to trust the model's confidence.

Try it (12 min)

Paste this into Codex

Build a proof loop for this Codex task:

Task: [describe change]
Files likely touched: [paths]
Risk: [copy, UI (what users see), API, data, auth, billing, infra (the servers behind the site)]
Available commands: [test, lint, typecheck, build, route check, unknown]
Manual check available: [page, screenshot, API call, none]

No project of your own? Use the practice site: the task is changing its heading, the file is index.html, the check is the one you built in lesson 2, and the manual check is opening index.html in your browser. You can also ask Codex: *Which checks can this project run?* If it says it would need to install something first, ask what, and approve once or skip that check.

Return the proof loop Codex should run, in order. Include what each step proves and what it does not prove.

What a good response looks like

Proof loop for changing the practice site's heading to "Welcome to my practice site":

1. Run the check from lesson 2. It proves index.html exists and still has a heading. It does not prove how the page looks. 2. Open index.html in the built-in browser. It proves the new heading shows and nothing else moved. It does not prove how the page looks on a phone. 3. Ask me to list every file I changed. It proves only index.html was touched.

Still unverified: the phone layout, and other browsers. I will not call this done until steps 1 to 3 have run and I have shown you the output.

Check yours against

  • The proof loop matches the task risk
  • Commands are concrete
  • Manual checks are named when route or UI behavior matters
  • The answer names what remains unverified
  • Running only the build when a targeted test exists.
  • Running only a targeted test when the change reaches past one page, such as a shared page address or a type used in many files.
  • Accepting a screenshot without knowing the page state.
  • Expecting the built-in browser in the terminal version or the IDE extension. It lives in the app only.
  • Ignoring failed proof because the code looks right.

When this breaks

  • Breaks when the proof command passes but does not cover the changed behavior.
  • Breaks when Codex fixes a test by weakening the assertion instead of fixing the bug.

AI can help with this

Use Codex to help you choose the right proof loop for a Codex task and read failure output before asking for another edit. Start with the exercise prompt and your real input. Ask for one draft, then check it against this proof: The proof loop matches the task risk. Accept only the version you can verify yourself.

You can now

✓

You can name what each command proves

  • ✓You can require route or screenshot proof for UI work
  • ✓You can record remaining uncertainty

Try it from memory

Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.

Without scrolling up, name the three things you ask Codex to report when it finishes. Then write that request for a change on your own project.

One good answer: 'Add a cancel button to the library's room-booking page. Report what changed, the test you ran and its result, and anything you did not verify.' Check yours: if the proof tests the behavior you changed (a button needs someone to click it, not only a style check), that works.

Key takeaways

Proof is the finish line. Ask Codex for change, proof, and remaining uncertainty before you inspect the diff.

  1. 1A patch without proof is unfinished.
  2. 2Proof must match the changed behavior.
  3. 3Manual checks matter when UI or route behavior changes.
  4. 4Unverified items should be stated, not hidden.

Go deeper

  • Codex built-in browserlearn.chatgpt.com (opens in a new tab) ↗
  • Codex app reviewlearn.chatgpt.com (opens in a new tab) ↗
Up nextReview diffs before commit→

Was this helpful?

Related lessons

Build the Checkpoint and ReplayReview diffs before commit
← Back to Codex Fundamentals