As we hand more work to AI agents, I expect more of the sign-off to be automated too, by automated tests or by another model. I built a small feature for my website with two AI agents, and one of them had written browser tests that moved the mouse in all eight directions. All of them passed. The first time I tried that version myself, the images overlapped: behind the turned head, the straight one was still showing.
The project showed me two different ways a check can be green while the result is wrong. The browser test answered the builder's question, not a visitor's. The vision model, an AI that describes images, had never shown that it could see the kind of defect it was asked about. If your team signs off AI output on automated checks, both failures can hide behind a good pass rate.
My portrait consists of one photo and eleven generated poses
The feature is the portrait at the top of my home page, which follows the mouse pointer with its head and eyes. The idea came from Claire Vo, who published how she built hers in mid-September. Hers is black and white; I wanted mine in colour.
I worked with Claude Code, Anthropic's coding agent. It handed the image generation to Codex, OpenAI's coding agent, and did the cutting out, aligning and colour matching on my Mac; my portrait went to OpenAI with my explicit approval. My part was looking at the results and saying no: to a black-and-white first version, to the wrong background, to a squinting eye, to specks in my glasses and to the two heads.
The result is twelve images: the unchanged front photo, eight looking directions, a blink, a wink and a thoughtful look. Only the head and eyes were meant to move, and the image model followed that only roughly. In one run Codex had shifted the whole body by about ten pixels, which would likely have shown as a jump whenever that pose came up. A measurement caught that, not me, because it compared each pose's shoulder outline with the original; after the fix they matched by 99.8 percent or more. It measured something a visitor would notice.
The squinting eye had no check at all: when the head turned left, the far eye looked slightly squinted, almost like a wink, and part of that was probably perspective. In the third attempt the prompt asked for a smaller turn, about eight degrees instead of twelve, and for identical eyelid height; it changed both at once, so I do not know which fixed it.
The browser test checked which pose was switched on, not what the picture looked like
To soften the hard switch between poses, the agent proposed a fade, and I approved it. So that the portrait would never turn see-through during a fade, the agent kept the front photo permanently underneath the other poses. Because every pose is a cut-out, the straight head showed through wherever the turned head did not cover it: a double outline at the ear, the hair and the glasses.
The test, written by the same agent, listed which images were switched on. For every direction it listed two, front photo plus pose, and the agent read that as planned, because the layer underneath was its own idea. What the page looked like was not the test's question. Today the portrait switches hard again, with exactly one image visible, and before it went live the agent looked at screenshots of all eleven poses there were then, in the page itself.
A local AI model reported no defect without ever being tested on a known one
Earlier, when the head turned, I saw that the background behind my glasses looked wrong in places and asked the agent to check. It showed enlarged crops of the eye area to a local vision model and asked about leftover background, holes, halos or smears, close to how I had described the problem. The model reported "clean" for all six crops, after I had already said something was wrong. Whether it could not see the specks or was asked about the wrong thing, this run cannot tell.
At that point the agent stopped guessing: all three of its checks had failed, one of them a script of its own that miscounted, and none had ever shown on a known defect that it could find one. With my approval, the eye crops went to Anthropic's model, and the agent looked at them itself. It found the cause in its own work, not in Codex's: to match colours, it had learned a coarse colour table from my front photo, and by its diagnosis the table produced wrong values for colours that photo does not contain, such as highlights in the lenses. A smooth formula replaced the table, and the specks were gone.
Two questions for every check that signs off AI output
The two checks failed in different ways but shared a gap: nobody had shown that they could catch the defect, and each asked a question shaped by an assumption, the builder's design in one case and my description in the other. The defects were found by looking, so I look first and then ask two questions of any check. Can it recognise the defect? Plant one of the defects you found by looking; if the check misses it, it does not check for that defect yet. Does it measure what the user sees? Write down what it measures and hold that next to what reaches the user; where the two differ, you have a candidate defect to plant. I would hand that second question to someone who did not build the check; here one agent wrote the feature, the test and the expected result. Software testers will recognise both ideas as fault seeding and the oracle problem; what changes, I think, is how much AI output such checks will sign off.
I had done the first part once before, on the chat on my website: before an AI grader could score new answers, it had to reproduce my verdicts on a first set of five answers I had labelled by hand, deliberate failures included. I still want automated checks, because they ran every pose in every direction far more often than I would have. But I trust a green one only once I know its question and have seen it catch planted defects of the kind I care about; one catch shows only that it caught that example.
Rebuild it
This prompt got the third attempt at the left-looking pose right; the portrait was attached as an image.
Use your image generation tool. The attached image (reference.png) is my current website portrait, in color. Generate ONE edited frame from it and save it as ./gen/left.png. Do not touch any other file.
Edit this exact image. Preserve this exact man: identity, facial proportions, skin tone, expression, hairstyle, clothing, colors, color grading, lighting, background, shoulders, torso and crop. Keep the full color look of the reference exactly. Keep the same square 1:1 canvas, same subject scale, head center at the same position, body in the same position. Do not shift, mirror, zoom, recolor, or change camera position. No text, no props.
The ONLY change: head turned only slightly, about 8 degrees, toward the LEFT edge of the image, and eyes looking toward the left edge. IMPORTANT: both eyes exactly as wide open as in the reference image, identical eyelid height on both sides, the eye nearer the left edge must NOT look smaller, narrower or squinted. No wink, no squint, no half-closed eyelid, no smile-squint. Move mainly the irises toward the left edge. Same friendly expression as the reference.
At the end, report the saved file and its pixel size.
And, shortened, what remained in the component after the double outline:
{/* ... No cross-fade: the frames are cut-outs, so two at once show a double
outline wherever the turned head does not cover the straight one. */}
style={{ opacity: shown === name ? 1 : 0 }}
Limits
One small project says nothing about how often such checks fail elsewhere, and one local model on six crops is no verdict on vision models. The two questions come from this one case, after the fact. I found the squint, the specks and the double outline by eye, so I cannot say what my eye missed. The screenshots are now read by the same agent that wrote the tests; it found the specks once it could see them, but missed the double outline while looking at single poses, and has never been tested on a planted defect. There is no automated check for specks and no comparison of screenshots against a reference I approved; that is an open gap.
One planted defect shows whether your check catches it
Look at ten outputs your team signed off last week, picked at random, and note what you would reject. Pick one automated check your team relies on, whether a test suite, an AI grader or a quality dashboard, plant one of those defects and see whether it stays green. Then write one sentence on what the check measures and one on what the user sees, and give both to someone who did not build the check. If the sentences do not match, a green result does not answer the user's question.
If you run that on one of your checks, I would like to hear whether it stayed green. Write to me.
