Skip to content

Product and delivery · 5 June 2026 · 4 min read

Write down why, not just what

Code shows what a system does, not why it does it that way. Short, dated decision records keep the why available for new engineers and AI agents alike.

  • Product and delivery
  • Documentation
  • Architecture
  • AI coding agents
  • Due diligence
  • For CTOs and tech leads
  • For founders
In this article
  1. What a decision record is
  2. An example
  3. Why it matters more with AI in the team
  4. Keeping them useful
  5. Where it pays off

Code tells you what a system does. It rarely tells you why it does it that way, and the why is what the next engineer, or the next AI agent, needs most. A short, dated record of each important decision keeps that answer available for years.

Every codebase older than a few months contains code that looks wrong: a separate service where one would have done, or a rule that seems needlessly strict. Sometimes it really is wrong. More often it was the right call for a reason nobody wrote down, and the person who knew has since moved on to other work.

The next person to touch it then has two bad options. They can leave it alone and build awkward workarounds, or they can tidy it up and rediscover the original reason the hard way, which usually means in production.

What a decision record is

A decision record is a short document, normally a page or two, that captures one decision at the moment it's made. Ours carry the date, what was decided and why, the rules that follow from it, and when it was last reviewed. They live in the repository next to the code, so they're versioned and searchable like everything else. The best ones also say what would make the team revisit the decision, so it's clear when the time has come to change course.

On the real-time data platform we work on, we wrote 68 of them in about six months. That sounds like a lot of paperwork. In practice most take less time to write than the meeting that produced the decision, and each one has paid that time back several times over.

An example

One of those records explains why the platform keeps different kinds of live traffic on separate connections instead of sharing one.

On first reading, that looks like over-engineering. The record explains it in two sentences: the different kinds of traffic grow and fail in different ways, and a small account update shouldn't have to queue behind a flood of high-volume data. It then sets out the rules that follow from the decision, so the next change respects it.

Without that page, a well-meaning engineer could merge the channels to simplify things, and nobody would notice the problem until the busiest day of the month. With it, the question takes thirty seconds to answer.

Why it matters more with AI in the team

Decision records were always useful for people. They've become essential now that AI agents write a large share of the code. An agent reads the code in front of it, and the code on its own says nothing about why it looks that way. Point the agent at the record that governs the folder it's changing, and it stops proposing the simplification you rejected two months ago.

We make that connection explicit. The root instruction file sends each kind of work to the rules that govern it, and the most important rules are also enforced by automatic checks, so a change that breaks one fails before anyone has to argue about it.

Keeping them useful

A record nobody reads is just a diary. Four habits keep ours alive:

  • Write it when you decide. A week later the rejected options are already fuzzy, and the reasons for rejecting them fuzzier still.

  • Keep it short. If a record needs more than two pages, it's probably two decisions.

  • Give it a review date. Almost all of ours say when someone last checked that the decision still holds.

  • Link the code to it. The folder notes and the checks that enforce a decision should point back to the record that explains it.

If we could add one habit to ours, it would be writing down the options we turned down. Our records explain the choice we made, but few of them say what we rejected, which is exactly what the next person needs when they're tempted to try it.

Plans for work that hasn't started yet get the same treatment. On that platform there are 16 active proposals and 10 completed ones, each written before the build began, so anyone can see what's coming and why.

Where it pays off

The real test comes later, at a handover to the client's own team, or when an investor's adviser asks why the architecture looks the way it does. A team with decision records answers those moments with a folder. A team without them books a series of long meetings and hopes the right person remembers. The records help day to day as well: when someone asks "why don't we just…?", the answer is usually a link.

Technical Co-Founder · £2–5k + VAT a month

Our founders in the room for the decisions that are expensive to get wrong, written down as they're made, until you're ready to hire your own senior technical leader.

All articles

Read something that sounds like your problem?

A free 15-minute intro with our CEO. Bring the article, and he’ll tell you which service fits, if any. If a spreadsheet and two rules would do the job, we’ll say so.