How do you review UI changes made by an AI coding agent?

Coppice

Compare the screen with what you asked for, not only the diff. A preview deploy, screenshots or visual diffs in CI, and browser checks against your criteria all work on their own. Coppice keeps those checks on the ticket: how each one was verified, a screenshot, and the commit, before you accept the work.

Why it’s hard

A diff lists the lines that changed. It does not show the screen. You can read a component and still not know whether the switch is in the right row, whether the page is too tall, or whether a reload throws the choice away. An agent will often say the change was tested. That sentence is not the test.

The gap is worse when the diff is large. Spacing, contrast, and an empty state are easy to miss. You need something you can look at, and a list of what “right” means, or you are guessing.

This is separate from reviewing the code. How to review AI-generated code before merging covers the diff: scope, error paths, and tests that actually exercise the change. This note is about the screen.

Option 1: Open a preview

Deploy the agent’s branch and click through the change yourself. You see the real page, and you can try the thing you asked for: turn a switch on, reload, look at the empty state.

This works with any agent. It gets thin when the preview is slow, when it needs data you do not have, or when several changes land in a day and you have no list of what to look at.

Option 2: Screenshots or visual diffs in CI

Have the build save a screenshot of the page, or fail when that picture drifts from a saved baseline. The picture sits next to the change, so you do not have to start the app to see the layout.

A baseline goes stale. A screenshot of the wrong state, or a diff that flags a font hint, still needs a person to say whether this is the change you wanted.

Option 3: Check the criteria in a browser

Write the checks before the agent builds: the switch is on the Settings page, the choice survives a reload, the rest of the page follows it. A browser test fails when one of those is false.

A test can pass while the screen still looks wrong, if the check never looked at the pixels. When the look matters, keep a screenshot from the same run.

Option 4: Keep the checks on the ticket, with Coppice

Coppice is a desktop app for the coding agents you already run. You write a ticket for the change. The plan includes the checks, and you approve that plan before the code is written. When the work is ready, the ticket lists each check, how it was checked, a screenshot, and the commit those results belong to. You accept the work only after you have seen that. Accepting it does not merge it.

  1. Install Coppice and add your project.
  2. Write a ticket that says what the screen should do, and approve the plan. The plan lists the checks.
  3. When the work is ready, open the ticket. Each check has a note, a screenshot, and the commit it was checked against.
  4. Look at the screenshots. If the screen is wrong, send the work back.
  5. Accept when the screen matches what you asked for.

Here is that list for a dark mode switch. Three checks are met.

A ticket titled Add a dark mode toggle to Settings, waiting for review. QA evidence shows three checks marked met: the Settings switch, the choice staying on after a reload, and the page following that choice. Each check has a note and a screenshot.
Each check, how it was checked, and a screenshot of Settings.

Open a screenshot when the thumbnail is too small. This one is the Settings page with the switch off.

A screenshot of Settings, opened from the first check. The page is titled Settings, and the Dark mode row has a switch that is off.
The screen the first check was about.

Concepts explains the rest of the path a ticket takes.

Which one to pick

  • One screen, and you can open it: use a preview.
  • You want a picture on every change: screenshots or a visual diff in CI.
  • The checks are specific, and you want them to fail on their own: a browser test against those checks, with a screenshot when the look matters.
  • Many agent tasks, and you want the checks, the screenshots, and the commit next to the ticket: Coppice. Start with Getting started.