Teams constantly choose how to structure a system: which database to pick, how to split the services, where to put a queue. Six months later nobody remembers why that particular option was chosen, and a new developer suggests “fixing” the very thing the whole project rests on. An ADR pins down a single decision in a short record: what was decided, why and with what consequences. Michael Nygard proposed the format in 2011.
What it contains
| Section | What is recorded |
|---|---|
| Title | a number and a short name for the decision: “0001 — store sessions in Redis” |
| Status | proposed, accepted, deprecated, superseded by record 0007 |
| Context | the problem to solve, the constraints and requirements |
| Decision | the option that was chosen and what exactly it prescribes |
| Consequences | what the decision brings, what it makes harder and what has to be given up |
How the record set is managed
- Files live next to the code, for example in
docs/adr/, and go through the usual code review. - Files are numbered in sequence:
0001-…md,0002-…md; an accepted record is never edited retroactively. - Write in plain paragraphs: a list or table in a record — only when needed, not as a substitute for text.
Length and decision history
Keep the record short: Nygard suggested staying within one–two pages and writing coherent paragraphs rather than choppy lists. Later templates such as MADR appeared, adding the options considered and links to further material to Nygard’s sections. The record set is kept like a log: when a decision is changed or reversed, the old record is not deleted but marked “superseded” with a link to the new one. The consequences of one record often become the context for the next — this is how decisions build up into the project’s history.
Sources
the term is written from these pagesVerified 8 Nov