Architecture Decision Record

An Architecture Decision Record (ADR) explains one technical decision: what problem needed an answer, which options were considered, what was chosen, and why. It gives the next person enough context to judge whether the decision still applies.

When to write one

Write an ADR when a choice affects interfaces, dependencies, data storage, deployment, or another part of the system that will be costly to change. Keep each record to one decision. Link the implementation and supporting measurements so the reasoning can be checked.

Requirements before options

State the constraints before comparing solutions. Separate hard requirements, which every viable option must meet, from preferences that can trade off against each other. A decision matrix makes that comparison visible.

Give each rejected option a short reason. For the chosen option, record the costs you accept and any requirement that still needs evidence. Choosing an option does not prove that it works.

A small template

# Short title naming the decision

Status: Proposed / Accepted / Rejected / Superseded
Date: Date of the decision

## Context

What problem are we solving? What constraints apply?

## Requirements

What must hold? Which preferences can trade off?

## Options

What alternatives did we consider? Why was each rejected or kept?

## Decision

What do we choose, and which tradeoff decides it?

## Consequences

What improves? What becomes harder? What remains unverified?

## References

Links to the implementation, evidence, and related decisions.

When the decision changes

Use Proposed while the choice is under discussion, Accepted when it is agreed, and Rejected when the proposal is declined. These statuses describe the decision; record implementation and validation progress separately.

When an accepted decision is replaced, write a new ADR and mark the old one Superseded, with a link to its replacement. Link back from the new record. Preserve the old reasoning so someone reading an older implementation can understand the constraints at the time.

Michael Nygard described this lightweight format in Documenting Architecture Decisions, 2011.