It’s a cold November evening, and the whole group has squeezed around the table by the window of your favorite taverna. The stove is lit, the steaks arrive still sizzling, and there’s cold beer on the table. Somebody is in the middle of a story everyone has heard before, and everyone is laughing anyway.

Halfway through dinner, you excuse yourself and go looking for the toilet. The bin is overflowing, the soap ran out hours ago and no one has wiped the mirror since lunch. Nothing in there is shocking, but somehow it’s enough.

Walking back, you pass the kitchen door and catch yourself wondering what it looks like on the other side. Your steak tastes exactly as good as it did five minutes ago. You just trust it a little less.

A taverna owner once described that small shift to me. The best way to judge a place, they said, is to look at its toilet, and I’ve called it the Toilet Principle ever since. It’s a crude name, but it’s easier to remember than the one Noriaki Kano gave to a related idea in 1984 , must-be quality.

Software is full of qualities nobody writes into the requirements because everyone assumes them. Many of them are must-be qualities that everyone notices the moment they’re gone. The clearest way to show what goes wrong is a feature that does everything it was asked to do.

Every Test Passed

Take a grade export for a learning platform, since my imagination clearly never leaves the office. The example is made up, though anyone who has built one will recognize it. The requirements ask for three things, the team builds exactly those three things, and every test comes back green.

Then the end of term arrives. An instructor with a few thousand learners clicks export, waits long enough to decide it’s broken, and clicks again. Two files land in their downloads. A learner who renamed themselves =1+1 shows up in Excel as 2, because Excel saw an equals sign and did the math.

That one cell spoils the whole file. If a name can turn into a formula, every grade beside it is suddenly suspect, so the instructor spends the evening checking them by hand.

A week later, during a storage outage, the export button spins forever without a word. The support ticket that follows finally sends the team back to the requirements.

The requirements ask forWhat the instructor gets
Export grades as a CSVAn export so slow they click twice and get two files
Every enrolled learner in the fileA learner who turns into a formula
Download from the course pageA button that spins forever during an outage

Nobody wrote down how slow is too slow, how a spreadsheet would interpret the exported names or what the screen should say when storage fails. So none of it was built or tested.

Same Requirements, New Author

Now hand the same three requirements to a coding agent. You get the same export, built faster, with a test suite thrown in. A human developer could make the same mistakes. What’s new is how fast the mistakes arrive and how convincing they look when they do.

Because an agent can explore the codebase and ask questions, it may spot some of the gaps on its own. It might also add behavior nobody asked for along the way. The size of the biggest course is harder to stumble on, though. It lives in a database and in the heads of a few people in support, so the agent would have to know to look for it.

%%{init: {'look': 'handDrawn'}}%% flowchart LR accTitle: What the agent's context leaves out accDescr: A coding agent reads the three requirements and the codebase, then produces export code and passing tests. The three gaps were never written down anywhere it looked. R["Three requirements"] --> A["Coding agent"] K["Codebase"] --> A A --> C["Export code"] A --> T["Tests, all green"] subgraph G["Never written down anywhere the agent looked"] G1["Biggest course"] G2["Name starting with ="] G3["Storage outage"] end

The pull request looks great. It’s a few hundred tidy lines, the pipeline is green, and every criterion has a test named after it. Look closer at the test for “every enrolled learner in the file”, though. It enrolls three learners, exports them and compares the result with whatever the code produced on its first run.

from pathlib import Path


def test_every_enrolled_learner_in_the_file():
    course = make_course(learners=3)

    exported = export_grades(course)

    # Saved from the code's own first run
    expected = Path("expected_export.csv").read_text()
    assert exported == expected

Nothing in it counts the learners or looks for their names, either. If the first run had dropped one of the three, the saved file would have dropped that learner too, and the test named after every enrolled learner would still pass.

A 2024 study of the assertions language models write for unit tests found that they tend to describe what the code does rather than what it was meant to do.

None of those tests could ever fail for the instructor’s reasons. Three learners never make an export slow, and three ordinary names never turn into a formula. Storage can’t fail in a suite that never switches it off, either.

The gaps nobody raised just shipped faster, with a green suite vouching for them.

Three Questions Before Any Code

Go back to the requirements review, before anyone has written a line of code. This time, one person in the room asks what could make the export a bad experience even if it works exactly as specified. Nobody has a full answer, so they chase it with a few slightly awkward questions.

The questionWhat gets written downThe check that follows
How big is our biggest course, and how long is too long to wait?A 5,000-learner export finishes within 30 seconds and shows progress, so nobody clicks twiceTime an export of a 5,000-learner course and confirm progress shows while it runs
What should happen to a name that starts with an equals sign?Names export as plain text, never as formulasEnroll a learner named =1+1, open the export in the spreadsheet apps instructors use and check the name reads =1+1
What does an instructor see when storage is down?A clear error and a way to retry, never an endless spinnerMake storage fail and read the message, then restore storage and retry the export

I made up the numbers in the first row, and someone in that meeting would push back on them. Someone has to commit anyway. “Fast” can’t fail a test, but “within 30 seconds” can.

Now give the agent those expectations along with the requirements. If the first build gets any of them wrong, a check fails, and that’s the best news the team gets all week. Because those checks come from written expectations rather than from the code, they get to argue with it.

Some of those checks are code the agent can write, like timing the big export or making storage fail. Others need a person, like opening the file in the spreadsheet apps instructors use.

These three questions are what that one awkward question turned up for this export, so they’re a starter kit rather than a checklist. Another feature will raise its own. Who must never see this? Does it work without a mouse?

Not every feature needs every question, either. On the export, the formula and the big course could really hurt, while a settings toggle might need none of this. Some answers will honestly be “we don’t know yet”, and even that is worth writing down before a support ticket says it for you.

Every awkward question makes a review a little longer. Some of the checks need test infrastructure the team doesn’t have yet, such as a way to make storage fail on purpose or a course with 5,000 learners to export. Some teams will feel all of that as friction long before they feel it as quality. I think the trade is worth making, but it’s a trade.

What does the real work is plain curiosity, and every good builder I know has plenty of it, whatever their job title says.

After Release

Every expectation the team wrote down is a bet, and production is where bets get settled.

The 30-second expectation from the review, for example, can become a dashboard panel showing how long real exports of up to 5,000 learners take. An alert fires when the slowest of them cross the line. The same number then runs from the review through the test and into production.

Production also has a way of finding the question nobody asked. Say the export holds up all term and then falls over on the very last day, when every instructor in a large organization exports at once. It becomes the first question in the next review.

%%{init: {'look': 'handDrawn'}}%% flowchart LR accTitle: The loop from review to production accDescr: Before release, a review question becomes an expectation and then a check. After release, production checks whether each expectation held and turns up surprises that feed the next review. subgraph Before["Before release"] direction TB Q["Question in the review"] --> E["Written expectation"] --> T["A check that can fail"] end subgraph After["After release"] direction TB P["Production"] --> H["Did the expectation hold?"] P --> S["Surprise"] end Before --> After After -. next review .-> Before

Back at the Taverna

A year later you’re back at the same table by the stove, and the steak is as good as you remember. Halfway through, you go looking for the toilet. You find soap, an empty bin and a clean mirror, and you’ve forgotten about it before you sit back down. Nobody has ever left a five-star review for a clean toilet. Quality is what nobody notices until it’s missing.

Agents will write more of our code and more of our tests every year, and every gap we leave is one they have to guess at. Deciding what gets written down is still on us, and it isn’t free.

So here’s the habit I’d ask for. Next time you review requirements, ask what could make the feature a bad experience even if it works exactly as specified. Pick one answer that matters and write it down as something a check can fail on.

The same curiosity pays off when the tests arrive and you ask what each one compares against.

It pays off again after release, when you check whether the expectation held.

Somewhere, an instructor will export their grades the night before they’re due and never think about it at all. That’s the best review a feature can get.