Your team settles an architecture question in a meeting. You write nothing down. Six weeks later you hold the same meeting again — or someone quietly reverses the decision and nobody notices until it breaks.
That is the problem you are about to create. Nygard saw it coming in 2011: your future teammate gets two bad ways to handle a decision nobody explained. The fix is one Markdown file you fill in about twenty minutes.
You are reading an ADR-shaped article. The shape follows the house MADR 3.x template: nine sections, filled as instructions you work through in order. Copy the structure, write your record, ship it.
What is an architecture decision record, in one sentence?
An architecture decision record (ADR) is a short Markdown file you fill to record one decision, its context, and its consequences. MADR defines it as: An Architectural Decision Record (ADR) details a single AD and its underlying rationale.
You write it after the decision, you keep it next to the code, and you never rewrite it. Do that with the nine sections below and you finish in twenty minutes.
Why bother writing one at all?
Without one, your future teammate has only two choices, and Nygard named both in 2011: A new person coming on to a project may be perplexed, baffled, delighted, or infuriated by some past decision. Without understanding the rationale or consequences, this person has only two choices: 1. Blindly accept the decision.
… 2. Blindly change it.
You also get his closing line: It's better to avoid either blind acceptance or blind reversal.
Blind acceptance freezes the design, and blind reversal costs you the reasoning you already paid for. Microsoft names the cost you pay: a decision made but never recorded will likely be forgotten, leading to repeated debates or later changes that unknowingly contradict the original intent.
The archive is the weaker payoff; the stronger one happens while you write. You get Fowler's word for it: Perhaps even more valuable, the act of writing them helps to clarify thinking
.
You do not need an ADR for every chat. You need one when the answer changes how the system fits together: the modular monolith vs microservices question, or a CAP theorem with real examples tradeoff you just settled in a room.
Where did ADRs come from, and why does that matter to you?
You can trace ADRs to one blog post: Documenting Architecture Decisions
by Michael Nygard, published November 15, 2011. That post gives you the whole habit in miniature: five sections — Title, Context, Decision, Status, Consequences — kept in the project repository under doc/arch/adr-NNN.md
.
You get two rules from that post that still decide whether your ADRs survive. Your first rule is length: The whole document should be one or two pages long… We will write each ADR as if it is a conversation with a future developer.
Your second rule is scope: Each record describes a set of forces and a single decision in response to those forces.
You keep one decision per file. You split anything phased into one record per phase — Microsoft repeats that instruction for you.
Should you use the MADR template or Nygard's?
You use MADR: it keeps Nygard's five-section skeleton and adds the structure that stops you from skipping the hard parts — the drivers, the options you rejected, the consequences you would rather not type. The template is licensed MIT OR CC0-1.0
, so you can copy it into any repository, and the repo sat at 2,536 stars when it was retrieved on 2026-10-06. MADR 4.0.0 shipped on 2024-09-17; you start from adr.github.io/madr.
What changed between MADR 2.x, 3.0.0, and 4.0.0?
Three releases changed the template, and that drift is why old ADR tutorials confuse you. In MADR 2.x you get Status, Deciders and Date inline, and a ## Links section closes the file.
MADR 3.0.0, released 2022-10-09, merged the separate Positive Consequences
and Negative Consequences
headings into one block. MADR 4.0.0, released 2024-09-17, moved status, date, decision-makers, consulted and informed into YAML frontmatter and dropped the Links heading.
Your record below follows the house MADR 3.x template: Status and Links stay sections, and your frontmatter carries the metadata keys. If you copied a template years ago, you are probably on 2.x.
How do you fill each MADR section?
You work top to bottom: you set the status, state the problem, list what pushes you, weigh the options, declare the outcome, write the tradeoffs honestly, confirm, then add the links. Every section below tells you what goes in and which anti-pattern to avoid.
Status
In the house 3.x shape, Status opens the record as its own section: one word you set now and keep current. You use proposed while the team argues, accepted once it agrees, and superseded when a later record replaces it — Fowler's three-step lifecycle. Nygard also lets you mark a record deprecated or rejected.
Anti-pattern: you leave status blank — nobody trusts that record.
Context and Problem Statement
You describe the situation and the forces in plain language, in one short block. You write only facts that stay true no matter which option you pick. You move any sentence that depends on your preferred option under Decision Outcome instead.
Anti-pattern: you smuggle your recommendation into the problem. Your reader must see the trap before they see your answer.
Decision Drivers
List what pushes you: quality attributes, constraints, deadlines, team realities. MADR marks this section optional; you ignore that when the decision is load-bearing.
Anti-pattern: ten drivers where three matter — you rank them or cut them.
Considered Options
Name every option you genuinely weighed, including the one you wanted from the start. You give one line each: what it is, not why it wins. Google Cloud lists this as a trigger for writing an ADR at all: When there are two or more engineering options and you want to document your thoughts and reasons behind the selection.
Anti-pattern: Sales Pitch — Zimmermann's name for an option described only by its selling points, so you read a rigged comparison.
Decision Outcome
MADR gives you a fill-in line: Chosen option: "…", because …. Then you write the consequences — good and bad. MADR 3.0.0 merged the positive and negative consequences into one Consequences block so you keep them together.
Anti-pattern: Free Lunch Coupon — Zimmermann's term for the record you write with No consequences
documented, or only the pleasant ones. You have written an advertisement.
Pros and Cons of the Options
You repeat each option with MADR's own labels: Good, because, Neutral, because, Bad, because. You stay specific enough that a future reader can re-run your comparison.
Anti-pattern: you write Fairy Tale (aka Wishful Thinking) — Zimmermann's name for A shallow justification is given, for instance only pros but no cons
. If every option looks perfect, you did not look hard enough.
Confirmation
You record how the team signs off: the review you booked, the owner who accepted it, and the check you agreed to run. AWS is explicit that you schedule this work: the team should review the [ADR] at least once before accepting it.
Anti-pattern: no confirmation at all — you jump from outcome to archive unseen.
More Information
You add what the page cannot carry: the discussion thread, the spike results, the related records, the practical system design guide section you argued from. You link out instead of pasting — Nygard's length rule still applies. If the decision came out of a design iteration, link the ADD 3.0 walkthrough instead of pasting the driver table.
Anti-pattern: a wall of pasted logs — you link instead, and you cap the file at a page or two.
Links
Your record closes with a Links section for related ADRs, issues and documents — the house 3.x shape keeps it. Your version still matters: 2.x closed every file with ## Links <!-- optional -->, while 4.0.0 dropped that heading for frontmatter and More Information. You fill it with one line per related record.
Anti-pattern: you leave an orphan record that links to nothing.
A filled example. You get one complete record in the house MADR 3.x shape — fictional, but familiar:
---
type: Decision
title: Split billing out of the order module
description: Extract billing into its own deployable module behind a stable interface, owned by one team.
status: accepted
date: 2026-09-14
decision-makers: payments lead, platform lead, QA lead
consulted: finance ops, support
informed: data team
---
# Status
accepted — set on 2026-09-16 in the architecture review slot.
# Context and Problem Statement
Billing rules live inside the order module. Every pricing change forces a
deploy of order code, and two teams edit the same files. Release coupling is
now the slowest part of the billing roadmap.
# Decision Drivers
- Pricing changes must ship without touching order code.
- One team owns billing end to end.
- We must not rewrite the order module in the same quarter.
# Considered Options
A. Extract billing into its own deployable module behind a stable interface.
B. Keep billing in place, behind an internal interface, and split later.
C. Rewrite both modules together as new services.
# Decision Outcome
Chosen option: "A", because it cuts deploy coupling now without forcing a
rewrite, and it gives billing a single owning team.
Consequences: order code loses direct access to pricing tables (good);
billing gains its own release checklist and on-call (neutral); we take on one
new network boundary inside the monolith (bad).
# Pros and Cons of the Options
- A: Good, because ownership and release cadence split cleanly.
Bad, because it adds a boundary to maintain.
- B: Good, because no migration work now.
Bad, because the coupling stays and the debate returns next quarter.
- C: Good, because the end state is clean.
Bad, because it touches two modules at once with no rollback path.
# Confirmation
Reviewed in the architecture slot on 2026-09-16. Accepted. The billing team
owns the split; we check the release checklist after the first two pricing
deploys.
# More Information
Pricing migration checklist, load-test notes from the billing spike, and the
ADR review thread from 2026-09-16.
# Links
- ADR 0007 — order module ownership
- ADR 0011 — deploy pipeline
- Order module deploy runbook
How you write one in one sitting:
- You open a file named
nnnn-title.mdindocs/decisionsand paste the MADR template. - You fill Context and Problem Statement while the meeting is still fresh — five minutes, no options yet.
- You list three drivers and every option you actually considered.
- You write the outcome line and both sides of the consequences.
- You book the review, get the
acceptedstatus, commit the file with your change.
When should you write an ADR — and when is it a waste of time?
You only write one for decisions that affect structure, non-functional characteristics, dependencies, interfaces, or construction techniques — Nygard's bar, still restated by AWS Prescriptive Guidance — and only when the choice is hard to reverse. Most of your choices do not need one: you skip the ADR for naming a variable.
Google Cloud gives three concrete triggers: a technical challenge with no existing basis for a decision; an undocumented solution your team has; or two or more engineering options you want on record. If none fit, you skip the record.
You will need this on big work: a how to design a distributed system effort generates decisions daily, and the ones you skip are the ones you re-litigate.
Where do ADR files live, and how do you review them?
Put nnnn-title.md under docs/decisions in the same repository as the code, and review it in a scheduled 10–15 minute read slot before you accept it.
You have four options: Nygard used doc/arch/adr-NNN.md, adr-tools defaults to doc/adr, MADR says docs/decisions, and Google Cloud says to Store your ADRs close to your application code, ideally in the same version control system
. You store it where Thoughtworks prefers, for a reason: we recommend storing these details in source control, instead of a wiki or website, as then they can provide a record that remains in sync with the code itself.
Google Cloud leaves a wiki door open; you pick one and say so.
You treat review as a ritual, not a glance. AWS asks you for a dedicated time slot to read the ADR. On average, 10 to 15 minutes should be enough,
with each member adding comments before the owner discusses them with you.
GOV.UK asks you to Submit the ADR for review and approval by the appropriate decision-making body.
You can review in a pull request — common practice in repos — but you treat it as your team's choice, not a rule from the vendors.
What do you do when the decision changes?
You never edit an accepted ADR. You write a new record that supersedes it and link the two. You get Fowler's rule first: Once an ADR is accepted, it should never be reopened or changed - instead it should be superseded.
Microsoft gives you the same instruction: the ADR serves as an append-only log… If a decision changes, write a new record that supersedes the original and link the two together.
Your status lifecycle carries the history: proposed while under discussion, accepted once the team agrees, superseded once a later record replaces it with a link. Nygard's original rule still holds for you — your reversed decisions stay in the repository, marked, never deleted.
Do it from the command line if you use adr-tools: adr new -s 9 Use Rust for performance-critical functionality creates the new record, flags it as superseding ADR 9, and flips ADR 9's status.
This is the takeaway that cuts against every keep your docs up to date
post you have read: ADRs stay fresh through supersession, never through rewriting.
Which ADR tooling is actually worth using?
Reach for adr-tools (Nygard format) and adr-log (keeps your index current) — but only after your team picks the template. Pick the template before the tool: until you agree, tooling only automates an unfinished argument.
You can browse the catalogue on adr.github.io/adr-tooling: adr-tools (bash, Nygard format, adr new), adr-log (keeps an index.md current), ADR Manager with a VS Code extension, Log4brains, and a Backstage ADR plugin. You get two honest caveats from that same page: adr-log also appears under Interesting, but unmaintained tooling
, and the VS Code extension is flagged as possibly outdated. You can even see the split by format — adr-tools sits at roughly 5.5k stars against adr/madr's 2,536.
Why do ADR programs die, and how do you keep the habit?
Your ADR program dies because the folder goes quiet after the first sprint — five records in, then nothing while load-bearing decisions go back to being tribal knowledge. Three defences hold for you: a length cap of one or two pages, Nygard's threshold test so trivia never enters the log, and a standing review slot so records get read.
You stay honest about the evidence. You get the useful read from the 2023 action-research study: Architecture Decision Records are perceived as useful by development teams and increase the awareness that documentation is beneficial even in agile development contexts.
You also get the caution in the same study: practitioners see a risk in documenting too much or too little and the need for clear guidelines.
You find no hard time-saved number; the habit pays you back in fewer repeated debates and clearer thinking, not a percentage.
Write your next ADR today — on the decision your team keeps re-debating, whether that is architecture or triaging a production incident. Paste MADR, fill nine sections, commit it with your change: that is the whole habit.
Related Reading
Modular Monolith vs Microservices: The Boundary You Can't Fake
The modular monolith vs microservices SERP stops at the folder diagram Every recent modular monolith vs microservices
CAP Theorem Explained With Real Examples
The string CAP appears zero times in the OSDI 2012 Spanner paper, and so do the surnames Gilbert and Lynch.
System Design: A Practical Guide for Software Engineers
Search system design and you get a diagram: a load balancer, a cache, a queue, a database, and a glossary.