Blog /

How to Check Your App Still Works After an AI Coding Agent Changes It

Learn how to check your app still works after an AI coding agent changes it: walk live user journeys separately from the agent's own report.

AI coding agentpost-deployment testinglive app checks

To check your app still works after an AI coding agent changes it, write down its key user journeys first, gate the merge on required CI checks, then after deploy have a separate check walk those journeys on the live URL and send failures back to the agent. The agent's "done" is a claim, not proof.

The usual advice is to write more tests and read the diff before merging. Both help. Neither settles the question, because the process that wrote the change also picked which tests to run and what counts as a pass.

How do you check your app still works after an AI coding agent changes it?

A separate check walks a short, written list of user journeys against the deployed URL and reports what passed or failed, with evidence. The agent's completion message doesn't count as proof, because the same session wrote the code, ran the tests and judged the result. Three things make the check real: it runs outside the agent's session, it points at the live URL rather than a local branch, and it works from a list you wrote rather than whatever the agent chose to try.

The short answer, in five steps:

  1. List the journeys that matter (sign-up, sign-in, the core action, payment) with a start URL and an expected end state.

  2. Make the agent run the project's tests before it stops (in Claude Code, a Stop hook).

  3. Require CI status checks to pass before merge.

  4. After deploy, have a check outside the agent's session walk those journeys on the live URL and keep the evidence.

  5. Send each failure back to the agent, then re-check that journey on the live app.

The four journeys that come first

For an app built by one to ten people, the list is short:

  • Sign-up. A new person creates an account and lands somewhere useful.

  • Sign-in. An existing person authenticates and reaches the page they asked for.

  • The core action. The thing the app exists to do: post a job, book a slot, send an invoice, publish a page.

  • Payment, if the app takes money. Checkout completes and the confirmation shows.

Those four come first because each one stops a person from getting in, doing the job or paying. A broken footer wastes nobody's afternoon. A sign-in that returns a session but leaves the browser on /login blocks everyone.

The check walks those journeys the way a person would, in a real browser, and hands the result back. Nobody has to click through the app after a deploy.

Deploys are a risky moment on their own. In Google's SRE analysis of a sample of thousands of postmortems covering 2010 to 2017, binary pushes were the trigger for 37% of outages and configuration pushes for 31%, and software was the largest root-cause category at 41.35%. A change can compile, pass local tests and deploy cleanly while breaking a journey users depend on.

Agent output makes that gap easy to miss, because it usually looks finished. In the 2025 Stack Overflow Developer Survey, 66% of respondents named "AI solutions that are almost right, but not quite" as a frustration, and 45.2% said debugging AI-generated code is more time-consuming. Almost right is exactly the state that passes a quick look and fails a user.

Write the list before the agent starts. A journey list agreed up front is the difference between verifying the change and admiring it.

Six Steps From Plan to Verified Fix

An agent's "done" is a claim about the live URL. Treat it that way. The loop below runs from the plan to a fix confirmed on the live app. Each step says what it catches and what it still lets through, so a green tick is never mistaken for a finished job.

A six-step illustrated guide showing how to verify and test an app after AI coding changes.
  1. Write the journeys down before any code changes. Take sign-up, sign-in, the core action and payment. Note the starting URL and the expected end state for each. Catches: a scope everyone agreed on before the agent edited a file. Misses: journeys nobody thought to write down.

  2. Make the agent run the project's tests before it claims done. In Claude Code, a Stop hook runs a command when Claude tries to finish; exit code 2 "prevents Claude from stopping, continues the conversation", and the hook's stderr goes back to Claude as the reason. In Cursor or Codex, write the test command into the project's agent instructions and let step 3 be the hard gate. Catches: failing unit and integration tests. Misses: anything that only shows up on the deployed build.

  3. Require CI status checks before merge. Turn on branch protection for the main branch and require the pipeline to pass, following GitHub's protected branches documentation. The gate does not care which agent opened the pull request. Catches: a merge with a red pipeline. Misses: live configuration and real signed-in sessions.

  4. Deploy through the usual release path. Keep migrations, environment variables and health checks in the same order every time. A clean release is not proof the journeys still work. Catches: build and deploy errors. Misses: a journey that breaks after a clean deploy.

  5. Have a separate check walk the journeys on the live URL and keep the evidence. The check opens the deployed build the way a visitor would, apart from the agent's session, and keeps the steps, screenshots and which build it ran against. If you want the agent to drive a browser inside its own session as well, Playwright CLI vs MCP sets out the trade-offs between those two ways of wiring that up. Catches: a sign-in that returns 200 and never leaves /login. Misses: journeys left off the list.

  6. Send each failure back to the agent, then re-check only that finding. One failure, one fix, one re-run of the failing journey on the live app. The full list runs again on the next deploy, which is where side effects show up. Catches: whether the fix worked. Misses: side effects in journeys outside the re-check, which the next full run covers.

The rule that holds the loop together: no step counts as passed without its evidence attached.

Which Check Catches Which Failure

What it checks
Unit and integration tests in CI
Who decides pass/fail
The test runner, using test code in the repo
Catches deployed-only breakage?
Usually no, they run before deploy
Best when
Fast checks on every change before merge
What it checks
A Playwright end-to-end suite
Who decides pass/fail
Scripted assertions in the repo
Catches deployed-only breakage?
Only when pointed at the deployed URL
Best when
Repeatable browser flows the team owns
What it checks
The agent driving a browser through Playwright MCP
Who decides pass/fail
The agent, reading the browser result in its own session
Catches deployed-only breakage?
Only if the agent is pointed at the live URL
Best when
Quick exploration while the agent works
What it checks
A separate check of the live app (CheckMyApp)
Who decides pass/fail
A check outside the agent's session; the agent cannot set the result
Catches deployed-only breakage?
Yes, it runs on the deployed URL
Best when
After a deploy, to confirm the journeys work live

Scripted tests are the better choice for fast, repeatable checks before merge. A Playwright end-to-end suite runs the same steps on every change, fails loudly in CI, and is fully under your team's control. Pointed at a preview URL, it covers a lot of browser behavior too.

Playwright MCP covers a different need: letting the agent open a browser, click around and read what happened while it works. That's useful for chasing a bug. Its structural limit is that the agent drives the browser and then grades its own driving. Playwright MCP vs Claude in Chrome compares the in-session browser options with each other.

A check that runs on the deployed URL covers what none of the above can: the app as it exists after release, with real sessions, real redirects and real third-party calls.

The pairing is simple: CI for fast checks before merge, a live check after deploy for the gap CI leaves behind.

What the Agent Should Bring Back as Proof

"Done" is a claim. The live URL is where it gets checked, and the evidence has to come back before the work counts as finished:

  • Which build was checked. The deployment or commit ties a pass to one change, not to "the app" in general.

  • The steps walked. Each step, the starting URL and the expected end state, so someone else can see whether the check covered the journey that broke.

  • What failed, with evidence. The screenshot where the journey stopped and the step it stopped on.

A status code on its own hides a common miss: the request succeeds and the page never moves. A real case from CheckMyApp's own app, JobLander (daily watch run #332, Oct 6, 2026): the sign-in request answered 200 and created a session, but the user stayed on /login. Walking the journey as a user failed it; the fix was merged in PR #349, 2 h 29 min after the check reported it.

Attach the three items to the pull request or the agent's chat. Review then reads one short record instead of a diff and a promise.

Questions Teams Ask After an Agent Change

Isn't it enough that the agent's tests pass?

No. Passing tests show that the code they cover behaves as written. They don't show that sign-in redirects on the live site, that a session survives a deploy, or that the payment page loads on the actual URL. Developers want more tests from AI: in the JetBrains Developer Experience report 2025, 57% said generating tests is an area where they would like AI assistance. More tests still don't cover the deployed app.

Can the agent check its own work in a browser?

Yes, through a browser tool inside its own session, and it's useful for chasing a bug. The catch is that the same session acts and judges. Keep a separate check for the final call on whether a journey works. The Claude Code browser guide walks through the in-session options.

Which journeys should be checked after every deploy?

The four from the opening list: sign-up, sign-in, the core action, and payment if the app takes money. Breakage also arrives without a code change, through expired sessions, a third-party API or a provider outage, so those journeys are worth checking regularly between deploys too. The software deployment testing guide covers what to confirm after a release.

Your agent says “done”. We check your app.

After each deploy and every day, we walk the journeys you choose on your live app and tell your agent what passed and what failed, with screenshots.

claude mcp add --scope user --transport http checkmyapp https://checkmyapp.dev/mcp

Free account: $3 of checks, no card · Cursor, Codex and the full install guide

A Separate Check of the Live App

Your agent says "done"; CheckMyApp uses your live app as a real user and tells it what broke. It checks your deployed app on its own, walks the journeys that matter, and brings the evidence back to your agent, which still does the fixing. It connects to Claude Code, Cursor and Codex through MCP. The reasoning behind keeping the check apart from the agent's session is on the why page, and the install page has the commands to connect your agent.


The agent's done is a claim until something outside its session walks the journeys on the deployed build and comes back with evidence.

This article was prepared with the help of AI. Found a mistake? Tell us.

More articles