16 postslast publish 2026-10-19all systems green
overflow
← /posts

This is an open experiment, not a methodology

Tests over design documents is a clean argument once an AI is writing the code. Clean is not the same as true, and nobody has run the experiment yet.

Nobody knows whether tests beat design documents once an AI is writing the code. I have watched the argument get made as though it were settled. It is not settled.

We have been arguing that tests are the answer for a long time. A test says what happens, in which situation, with what result. Write it down and the arguing stops. It passes or it fails. A design document has never passed or failed anything in its life.

So the rule writes itself. Invest in tests, skip the design.

Well, no.

What changes when an AI joins the workflow? Nobody has measured it. Three questions, and not one of them has an answer yet:

  1. Drift. Design-heavy approaches fell over because design, spec and code drifted apart. An AI holds all three in one session. If the drift goes away, design is worth more than it used to be, not less.
  2. The completeness floor. Somewhere below a certain level of specification, AI-generated code gets worse. Or it does not, and the floor is something we invented to justify the documents we already wanted to write.
  3. The hybrid. One fast design pass, then test-driven refinement, revisiting the design only as understanding improves. Beats both pure strategies, or beats neither.

I have been running the tests-first version for months and telling people it works. I have no numbers. Neither does anyone arguing the other side.

Run the experiment. Publish the number. Then come and argue with me.