Kai By Design tell me about your setup
Notes · entry vi · november 27, 2026

My planner passed 1 of 3. That's the number I wrote down.

Testing AI work only counts if the bar is set before the run and the score is written down as it came out.

My planning step has a test it is supposed to pass before I call it finished. In its best round it passed one run out of three. It needed two. I wrote down one.

Here's what the planner does. I describe an app I want, and it turns that into a stack of documents a builder works from. Which pieces get built first, what each one has to do, how you check each piece is done.

The test is blunt. I take an app I already built and shipped. A fresh AI session, one that knows nothing about the app, gets only the plan my planner wrote plus my standard build notes. The question is whether it could rebuild the real thing from that alone, with no guessing. The real app's own plan is the answer key, and the planner never gets to see it. There are eight things the plan has to get right, like covering at least 80% of the pieces that matter and never putting a step before the step it depends on.

The first three runs failed. Every time, I fixed every problem the run named. Every time, the next run found new ones.

Then I ran it a fourth time without changing anything at all.

It failed again. But the number that mattered on one item jumped from about 68% to about 79%. Same planner. Same inputs. Nothing touched. Close to twelve points of movement from pure chance.

That one re-run taught me more than the three real runs before it. If the score can wander twelve points on its own, then one run that lands near the bar tells you nothing. A pass would have been luck and I'd have called it proof.

So the rule changed, and I wrote it into the test itself. Three runs on one frozen version, no fixes in between. It passes when at least two of the three clear all eight items. Fewer than two is a fail. And the line I care about most: report the table of all three runs, never re-run to fish for a pass.

The next round went zero for three. The old problems stayed fixed. New small slips turned up scattered across different runs. At that point I stopped adding more written instructions and had the planner run real checks on its own output. It now builds the first piece for real in a scratch copy and has to get past an automatic checker before it can say it's done.

That round went one for three. The round before went zero for three. It was the best result the planner had ever posted, and it still wasn't a pass. The log line for that day says passed 1 of 3, ship rule not met. That's a harder line to write than a clean fail. It looks like progress and it isn't enough.

One more round went zero for three again, with coverage scores of 73.5%, 70.6% and 76.5%, all under the 80% bar. That's where a stop rule kicked in and the leftover fixes went on the shelf. Later rounds went zero for three as well.

Then the test itself got checked, and this is the part that stung. The same seven items had been missed across three versions of the planner, and nobody had checked the answer key. An earlier round had already thrown out one row because nothing the planner was allowed to read could lead to it. Now every row in the key has to point to the line in the allowed documents that makes it findable. When that check ran, a few rows still couldn't point anywhere. The only documents that held those answers were the ones the planner is deliberately never shown. I'd spent rounds fixing the student when part of the problem was the exam.

As far as my build log goes, the planner still hasn't passed its own gate. I still use it, because it's useful and because I know exactly how far to trust it. That second part only exists because the score is written down as it came out.

If someone tells you their AI work is tested, ask three things. How many runs? What was the bar, set before or after? And what did the runs that failed say?

kai min · kai by design · gta

Tell me about your setup.

What tools you use, what eats your week, what you've already tried. One short reply from me, no pitch deck.