The rule
"It compiles" is not done. "Tests pass" is not done. Done is the agent using the actual product in a browser, clicking through the flow and reading the network tab, and then checking again against the production URL after deploy.
When to run it
Every feature, every fix, every deploy. It is a loop, not a one-off event.
The play
- Scope the change and have the agent state its plan before it touches code.
- Implement on a branch. Structural edits get re-rendered; behavior changes get exercised end to end.
- Verify locally in a real browser session: the actual click path, console errors and API responses, not just unit tests.
- Deploy, then check the live URL straight away: status codes, auth boundaries, one full user flow. Edge caches can lag, so retry before you go looking for a bug.
- Record what shipped in the commit and in your project notes, so the next session starts warm.
- Anything irreversible (deletes, migrations, money) waits for a human yes.
Where it breaks
Verification theater: screenshots taken mid-animation, or tests that mock the exact thing that is broken. And deploying five changes at once; when production misbehaves you want one suspect, not a lineup.