↓ Skip to main content

Video 9 min

What Is a Decision Document? A Practical Guide with Templates

A decision document records a choice at the moment it's made: the context, the options considered, and why one won, so nobody re-argues it six months later. How to write ADRs and RFCs that actually get used, with an example ADR and a template to steal.

Narrated in English Subtitles: English, 日本語, 한국어, Tiếng Việt, 简体中文

Transcript

Six months after a decision, someone on the team asks a simple question. "Why did we choose PostgreSQL over MongoDB?" Nobody remembers the constraints that applied at the time. So the whole debate happens again. Usually with worse attendance.

Every team makes decisions. Most teams forget why they made them.

Decision documents fix that. Call them ADRs, RFCs or decision logs. The label doesn't matter. What matters is writing down the context, the options and the reasoning, at the moment of the choice. Running a dev team this year has made me appreciate them more than ever.

They're the difference between institutional memory and institutional folklore.

The obvious payoff is not having the same argument twice. "Didn't we already decide on the API versioning strategy?" With a clear record of what was decided and why, settled issues stay settled. The team spends its energy on execution, not on retracing its steps. The quieter payoff shows up over time.

Projects run for months or years. People join and leave. And what survives is the code. The code tells you what was decided. It never tells you why.

A decision doc preserves the reasoning. The constraints that existed, the alternatives that were rejected, and who made the call. New joiners get context instead of folklore. Cross-team decisions get real buy-in, because everyone can see the factors being weighed, not just the verdict. And naming a decision-maker means follow-through has an actual owner.

But not every decision deserves a document. I reach for one when the decision is expensive to reverse. Technology stack choices. Architectural patterns, like microservices versus a monolith. Third-party vendors.

Security and compliance approaches. When it's long-lived, like API contracts that external systems depend on. Or when it needs buy-in from multiple teams, or from non-technical stakeholders. And when a spike wraps up. Capture the findings, and the decision they led to, before they evaporate.

Everything else, I skip the formality. Easily reversible decisions, team-internal implementation details, anything with minimal impact outside your immediate scope. A document nobody needed is just homework.

Every decision document has a life. It starts with the author drafting the problem and the candidate solutions. Then stakeholders review it. That's the phase that earns the whole exercise, because it's where assumptions get challenged and blind spots surface. A decision-maker, usually a tech lead, architect or product owner, makes the final call.

The team implements. And the doc gets updated if reality forced changes. Some documents die in review. Others get superseded later, as circumstances change. Mark both clearly.

Because a stale "accepted" doc is a trap for whoever finds it next.

So what makes one worth reading? Start with the problem, not your favourite solution. What are we solving? Why does it matter now? And what happens if we do nothing?

If people don't agree on the problem, debating solutions is theatre. Then present real options. At least two or three, even when you have a strong preference. For each, the pros and cons, a rough effort in T-shirt sizes, and the risks, with how you'd mitigate them. Documenting the alternatives is how future readers understand why the winner won.

Name the trade-offs out loud. "We're choosing speed-to-market over architectural purity." Sentences like these do more for a future reader than pages of analysis. Ground it in something concrete. Code snippets, diagrams, proof-of-concept work from spikes.

Abstract discussions produce abstract decisions. Finally, give it a deadline. When must the decision be made? Who owes input, by when? And what's blocked while it drifts?

Decisions without deadlines drift forever.

Here's a practical example. ADR zero zero one: API Authentication Strategy. The public API uses API keys. But it's expanding to third-party integrations and mobile apps. Now it needs token expiration and refresh, scoped permissions, and user-level authentication.

The record opens with the essentials. It's accepted and dated, and it names the decision-maker and the teams that contributed. The decision: OAuth two point oh with JWT tokens. It's more complex to build at first, and its tokens can't be revoked instantly. But it's the industry standard, with broad library support.

The options it beat stay on the record. Session-based authentication was simple, but not suitable for mobile apps. A custom token system meant reinventing the wheel, with security risks. The consequences are written down too. Including a migration path for existing API key users, with a six-month deprecation.

Then there's a template to steal, and trim to fit your team. At the top: a title, the status and impact, an owner, a decision-maker, and a due date. Then the problem. What are we solving, why does it matter, and what's the cost of inaction? The background, with links to related documents, previous decisions or spike results.

The constraints any solution must respect. Budget, timeline, existing systems and skill sets, compliance and security. The solutions considered, side by side, each with pros, cons, effort and risk. A recommendation, and why it's the best choice given the constraints and trade-offs. Then the final decision, once it's made.

And if it's different from the recommendation, an explanation of why. The consequences, and the follow-up work they require. Action items, each with an owner and a due date. And references: related documents, external resources, spike results, prior decisions.

Then comes making the habit stick. Store the docs somewhere consistent, like a folder in the repo or a wiki space. A decision nobody can find might as well not exist. Keep them lightweight, too. A document that takes days to write won't get written.

Reference them from code comments, commit messages and pull requests, so the why stays attached to the what. When a decision is superseded, don't delete the old doc. Mark it superseded, and link to the new one. The history is the point. And revisit old decisions in your retrospectives.

Which ones held up? Which would you make differently now? The failure modes are just as predictable. Analysis paralysis. Set a deadline, decide with what you have, and remember most decisions can be revisited.

Rubber-stamp reviews add process without adding value. And orphaned documents that never lead to action are worse than no documents at all. Then there's too much detail. The doc should cover the why and the what. The how belongs in technical specs.

And when stakeholders disagree, write the dissent down. The decision may stand anyway, but the objection is exactly the context someone will need a year from now. So start with your next significant decision. Write it up, even if it's rough, and refine the process as you go. Every "why did we choose X?" meeting that doesn't happen, because someone just read the ADR, is an hour your team gets back.

The related articles and external resources are linked in the description. The full post, with the example ADR and a template to copy, is on jared.lynskey.co.nz.

More videos

Claude Code Worktrees: Running Parallel Agents Without Collisions

Cloudflare 520, nginx 499 and Postgres Stalls: Keeping Webhooks Alive

pytest-testmon: Run Only the Tests Affected by Your Code Change

Replacing My Self-Hosted Expo Update Server with Codemagic Patch