Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The Spec Nobody Wrote Down

Every system has two specs. One is written down. The other is carried by the people who run the system, and it is often a large part of the whole.

Don’t expect the LLM to understand unwritten business requirements; it has no way to know them. It has read the public standards, the textbooks and a great deal of other people’s code. It has not read your business.

Where it lives

In people. People often manage the exceptions. The clerk who knows which orders to hold. The analyst who knows that one customer’s invoices go out a day late on purpose. None of it is in the system; all of it is in the job.

In the old system. Behaviour nobody documented, recorded only in the code that does it. A branch that skips an approval, a field nobody can explain. The code shows what happens and never why (see “The Shadow on the Wall”).

Beside the system. The spreadsheet someone keeps next to it. The report run by hand at the end of every month. The email that goes out when a number looks wrong. If people do it every month, it is probably a requirement, whether or not anyone wrote it down.

In other organizations. Trading partners publish their own versions of a standard, each with its own exceptions. A rule that holds for one partner breaks for the next, and the difference is in their guide, not yours.

In contracts and law. Obligations someone signed or a regulator set, which often nobody on the project has read.

Why it stays unwritten

Mostly because it’s obvious to the person who knows it. They don’t think of it as a rule; it’s just how the work is done. Ask them for the requirements and they’ll describe the normal case, because to them the exceptions are ordinary work, not requirements.

Sometimes people are reluctant to write it down. Expect some reluctance, and expect the manager to have to ask for it directly.

And sometimes nobody asked.

Why the model can’t fill it in

Ask the model about an unwritten rule and it will still answer. The answer will be plausible, well written and consistent with everything else it was given. It may also be wrong, and nothing in the answer will tell you which.

What the model can do is find where the gaps are. Give it the request and ask what it would have to assume (see “The machine asks; people answer” in the five considerations). Each assumption it lists is a place where the unwritten spec probably sits. Then a person has to go and get the answer.

How to get it out

  • Ask about the exceptions, not the process. “When does this not work? What do you do by hand? What do you check before you send it?”
  • Watch the work. What people do and what they say they do are often different.
  • Collect what’s beside the system. The spreadsheets, the checklists, the emails. Each one is a rule someone needed.
  • Ask about every odd branch in the old code. Who depends on this? Can it go?
  • Write each answer as a rule, with an example and a test. Note who said it and when, so it can be checked later.

Why the first project runs long

People are often surprised that their first LLM project takes longer than they expected. The code arrived in an afternoon. The project took months.

The estimate was built on an old assumption: that writing the code is the long part. On a traditional project, the unwritten spec came out slowly during coding. Finding out was spread across the schedule and hidden inside it.

With a model, the code comes first and fast, and the questions don’t get asked. So the unwritten spec shows up later, as defects: in testing, in review, or after the system is live, when the first exception arrives. Each one means going back to people, writing the rule down, and changing code that already looked finished.

The time didn’t go away. It moved. The work of finding out what the business actually does has not shrunk much. A project that plans for it, by asking first and writing the answers down, spends that time at the start, when it costs least. A project that doesn’t spends it at the end, along with the time to undo code built on guesses.

Two things make the first estimate more honest:

  • Estimate the finding out, not the code. Count the people who need to be asked and the exceptions each of them handles.
  • Count the learning. The first project is also where the team learns to write a spec a model can build from. The second project pays less of it.

If it isn’t written down, the next model won’t know it

For the next model, an unwritten rule doesn’t exist. It will build the system without it, and the system may pass every test you have, until the first exception arrives and someone has to handle it by hand again.

In short

If it’s not on the page, the model will decide it for you. Only people can put it on the page.

Divider: star and jewels. A thin horizontal band. A gold line with a dashed turquoise line above and below fades out toward both ends. At the centre is an eight-point gold star between two ruby and two turquoise jewels.