Home / Insights / Architecture and Modernization
Architecture and Modernization
Architecture Decision Records: How to Make Technical Decisions Visible, Reviewable and Durable
Most expensive architecture problems start as undocumented decisions that a later team cannot explain. Architecture decision records are a lightweight way to keep the reasoning next to the code, so decisions can be reviewed, revisited and handed over.
TopicsArchitecture and ModernizationDedicated Teams and Outsourcing
Key takeaways
- An ADR is a short document that records one significant decision: its context, the decision itself, its status and its consequences.
- Record decisions that affect structure, quality attributes, dependencies, interfaces or how the system is built. Skip routine choices.
- Keep ADRs in the repository, number them and never delete them; superseded decisions are marked as such and linked to their replacement.
- A simple review step (proposed, discussed, accepted) turns ADRs into a governance tool for clients working with external teams.
- ADRs are one of the most useful handover artefacts when a product changes vendors or teams.
On this page
Ask a team why their system uses a particular database, message broker or authentication approach, and you will often hear “it was decided before I joined”. The decision may have been perfectly reasonable. Without its context, though, the current team has two poor options: keep it without understanding what it protects, or change it without knowing what will break.
Architecture decision records (ADRs) address this with very little overhead. The format was popularised by Michael Nygard in 2011 and has since become a common practice. This article explains what to record, how to run a lightweight review process, and why ADRs matter particularly when a client works with an external development partner. It sits alongside our guidance on taking over an inherited codebase, where missing decision history is a recurring problem.
What an ADR contains
An ADR is a short text file, usually one or two pages, describing one decision. The original format has five parts:
| Section | Purpose | Practical tip |
|---|---|---|
| Title | A numbered, short noun phrase, such as “ADR 007: Use PostgreSQL row-level security for tenant isolation” | Make the title specific enough to scan in a list |
| Context | The forces at play: technical, business, team and project constraints | Write it neutrally and name the tensions between forces |
| Decision | What the team will do, in active voice (“We will…”) | State it in a sentence someone could disagree with |
| Status | Proposed, accepted, deprecated or superseded | Link to the ADR that supersedes it |
| Consequences | What becomes easier, harder or different as a result | Include negative consequences; they are the most useful later |
Many teams add a short “Options considered” section listing the alternatives and why they were rejected. This is where most of the value lies for a future reader, because it shows the decision was a trade-off, not an accident.
Which decisions deserve an ADR
Not every choice needs a record. A useful filter is whether the decision affects structure, non-functional qualities, dependencies, interfaces or construction techniques, and whether it would be costly to reverse. Typical examples:
- Monolith, modular monolith or separate services, and where the boundaries are
- Database technology and tenancy model
- Authentication and authorisation approach, including identity provider
- Synchronous APIs versus events or queues for a given integration
- Cloud provider, hosting region and data residency approach
- Front-end framework and rendering strategy for a long-lived product
- Use of a third-party AI model or retrieval approach, including where data is sent
- Testing strategy and quality gates in the pipeline
- Deliberate shortcuts taken for an MVP, with the trigger for revisiting them
The last item is underrated. Recording a shortcut as an accepted decision with known consequences turns hidden technical debt into visible, planned debt.
Writing ADRs that a future reader can use
An ADR is written for someone who was not in the room, possibly years later. A few habits make the difference:
- Write in full sentences. Bullet fragments lose the reasoning. A short paragraph reads like a conversation with the future developer.
- Quantify the context when you can. “Expected peak of a few hundred concurrent users” or “two developers on the team” explains a choice better than “small scale”.
- Name the constraint that drove the decision. Budget, a client’s existing cloud contract, a compliance requirement or a team skill set are legitimate reasons and should be stated.
- Keep one decision per record. Combined decisions are hard to supersede cleanly.
- Link related records. The consequences of one decision often become the context of the next.
Where to keep them
Store ADRs as Markdown in the repository, typically in a docs/adr folder, so they are versioned with the code and reviewed through the same pull request process. Pair them with a small set of diagrams. The C4 model’s system context and container diagrams work well as the “map” that ADRs refer to.
A lightweight review process
ADRs become a governance tool when they move through a simple lifecycle:
- Proposed: an engineer or architect writes the ADR when a significant choice arises, ideally before implementation begins.
- Reviewed: the ADR is shared as a pull request. Reviewers include the technical lead and, for decisions with business consequences such as cost, hosting region or vendor dependency, a client-side technical owner.
- Accepted or rejected: the decision is merged with its final status. Rejected proposals can be kept too; they explain why an obvious option was not taken.
- Superseded: when circumstances change, a new ADR replaces the old one and both are linked. The old record is never deleted or renumbered.
Keep the cadence light. A team might review ADRs during an existing weekly technical meeting rather than adding a new ceremony.
Why ADRs matter when working with an external team
For clients working with an outsourcing partner or dedicated team, ADRs solve several practical problems:
| Problem | How ADRs help |
|---|---|
| Client cannot see why the vendor chose a technology | The reasoning and alternatives are written down and reviewable before work starts |
| Decisions with cost consequences made without the client | Review step includes the client’s technical owner for agreed categories |
| Knowledge leaves when people rotate | Decision history stays in the client’s repository |
| Changing vendors or bringing work in-house | The new team inherits the reasoning, not just the code |
| Disputes about scope or quality | Accepted trade-offs are documented with their known consequences |
When evaluating a partner, ask to see an example ADR or equivalent decision log from a past project (with confidential details removed). It reveals how they reason about trade-offs. Our guide on evaluating an outsourcing company covers other questions worth asking.
Getting started on an existing system
You do not need to document history exhaustively. A practical start:
- Agree a template and folder in the repository.
- Write ADRs for the five to ten decisions that most shape the current system, even retrospectively. Mark the date and note that the record was written after the fact.
- Require an ADR for any new significant decision from now on.
- Review the list during an architecture review or before a modernisation project, and mark decisions whose context has changed.
Retrospective ADRs often surface decisions that nobody can justify any more, which makes them a useful input to a modular monolith or MACH discussion or a wider modernisation plan.
Frequently asked questions
How long should an ADR be?
Usually one to two pages. If it is much longer, it may be covering several decisions, or it may be a design document that the ADR should link to instead.
Are ADRs only for large teams?
No. Small teams benefit because they are the most exposed to knowledge loss when one person leaves. The overhead is a short document per significant decision.
What tools do we need?
A text editor and the repository. Some teams use command-line helpers or documentation site generators to list ADRs, but these are optional.
Should non-technical stakeholders read ADRs?
Some will. Product owners and operations leads often find the context and consequences sections useful, especially for decisions affecting cost, hosting location or vendor dependency.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- Cognitect (Michael Nygard): Documenting Architecture Decisions (15 November 2011) — Original ADR format (title, context, decision, status, consequences), storing records in the repository and superseding rather than deleting.
- C4 model: official site — The four C4 diagram levels referenced as companion diagrams for ADRs.
Related reading
Continue your research
Do the key decisions in your system have a written rationale?
Our architecture reviews document critical decisions, risks and a prioritised roadmap. Learn more about software architecture consulting.
