Writing · Building with AI

The spec is the product now

AI writes most of the code now, so the hard part is knowing whether it is right. That depends on what was written down before the build started.

Rory McClellandOctober 20265 min read
A grey ticket reading support Word upload, labelled a ticket title, beside a story sheet headed story, read Word uploads. The sheet lists the job, then test cases: a zip bomb refused before opening, a macro file refused with advice, a script tag kept as plain text, and a pass mark set first, highlighted.TICKETSupport Word uploada ticket title.STORY · READ WORD UPLOADSTHE JOBread a buyer's document, safelyTEST CASESzip bomb: refused before opening.docm with macros: refused, with advice<script> in the text: kept as plain textpass mark: set before the runthe spec isthe product.what the agent's workgets checked against.MCCLELLAND.INFO · WRITING

Qt published a piece this week with a title that made me smile: “Specifications are back”. Its author, Sebastian Krings, argues that AI now writes much of the code, so the real engineering work has moved to checking it. That checking is harder than it looks, because “AI output is rarely obviously wrong. It’s almost right.”

He brings the evidence. Google’s 2025 DORA report found 90% of technology professionals use AI at work, and 30% have little or no trust in the code it produces. In METR’s 2025 trial, experienced developers expected AI to make them 24% faster, believed afterwards it had made them 20% faster, and in fact took 19% longer (METR has since called those results out of date). GitClear counts duplicated code blocks up 81% on 2023.

The line I keep coming back to is this one: “Feed a model a title instead of a real requirement, and you get guesses instead of code.”

Agile made the spec optional

Krings points out that many teams let documentation lapse during the shift to agile, until a requirement was little more than a ticket title. That worked while the person building could walk over and ask what was meant. An agent does not walk over. It fills the gap with the most plausible guess, and plausible is exactly the kind of wrong that gets through review.

For a product manager, this is the interesting part. The spec used to be a handover note, a means to an end. When an agent does the building, the spec is what you are really designing, and it is the only thing you can check the output against. If it is vague, all that is left to check against is a feeling that it looks fine.

What my specs look like now

I build my own tools with AI coding agents, and every sprint starts with a written refinement before any code exists. Each story has the same parts:

I answer the questions, the stories are marked Ready, and only then does the build start.

One example from the RFI tool (a portfolio build on synthetic data) is the story for reading uploaded Word documents. Its test cases include a zip bomb that must be refused before it is opened, a .docm file with macros that must be refused with advice, and text containing a <script> tag that must be kept as plain text and never treated as markup. None of those would come from a ticket titled “Support Word upload”. An agent given that title would build an upload that works on a well-behaved document, and it would look finished.

Set the bar before you see the result

The part of the spec that matters most with AI is the pass mark. In the same tool’s first retrieval sprint, the bars were agreed before anything ran: recall@5 of 0.90 for English questions and 0.80 for Japanese, a calibration error of at most 0.10, and 80% of unanswerable questions scoring below the “no good match” floor.

The bars changed the build. The comparison showed that blending keyword and meaning-based search cut English recall@5 from 98.0% to 78.5%, so retrieval went meaning-first, and the change went into the refinement with its reason. They also exposed a miss: no model met the abstention bar once near misses were added to the test set; the best left only 35.3% of them below the floor. Because the bar was in writing, the miss was visible. Lowering the floor until the chart looked good would have been easy. It became a decision record and a new check in the next sprint.

Without written bars, both would have been arguments about whether it seemed fine.

The spec outranks the story

Above the stories sits a one-page product brief, and its opening settles disputes: where a story and the brief disagree, the brief wins until it is changed. Some lines in it never move. Pricing and legal questions are never auto-approved, whatever their confidence score. That is where my never list lives, and Krings’s advice to “write down intent and keep it checkable” is the same idea at engineering scale.

What this means for product managers

Krings concludes that “AI doesn’t fix a team. It amplifies what’s already there.” For product managers, I’d put it more sharply: the skills that started to look old-fashioned (acceptance criteria, a real definition of done, honest test cases) are now the main lever on quality. Three habits have earned their place in my builds:

  1. Write the job and the test cases before the build, including at least one hostile case.
  2. Set the pass marks before anyone sees a result.
  3. Record every change made during the build, with the reason, so the spec stays true.

He also warns of a judgement gap: experienced engineers can reject plausible output quickly because they have years of fixing code behind them, and newcomers who start with AI may not. A good spec puts some of that judgement in writing, where everyone can use it.

Nobody needs a 200-page requirements document for this (the waterfall jokes can wait). A page per story, written before the agent starts, has done more for the quality of my builds than any change of model.

Source: Specifications Are Back: What AI Exposed About Your Engineering Foundations, Sebastian Krings, Qt, 23 October 2026. The DORA, METR and GitClear figures are as cited there.

Rory McClelland leads product, with a background in privacy and user safety at Google Chrome and Bumble, and now builds with AI. See the work or write to hello@mcclelland.info.

See how the build runsRefinement, test cases, pass marks and the rest of the sprint cycle are set out on one page.

How the build runs →

Available for consulting engagements and permanent roles leading AI-native transformation.

The best way to get in touch is by email. I'm always happy to talk through a specific workflow, a rollout that's stalled somewhere along the way, or a question a security team has been asked with no deadline attached to it. I read and reply to email myself, usually within a day.