Decisions¶
Record architecture decisions so the reasoning survives after the people who made them have moved on.
Entries are sorted by score from 1 to 10 (criteria): 9โ10 start here or strongly recommended, 6โ8 recommended, 1โ5 further reading or conditional.
Adopted references¶
- 9 MADR: Markdown Architectural Decision Records: our default ADR template. The
architecture-decision-recordskill uses it. - 9 Documenting Architecture Decisions (Michael Nygard): the original lightweight ADR format.
- 7 adr.github.io: an overview of ADR formats and tooling.
- 7 ADR process and best practices (AWS Prescriptive Guidance): how teams propose, review and adopt ADRs.
- 6 Architecture decision record (Azure Well-Architected): what to record and when.
- 6 Architecture decision records overview (Google Cloud).
- 6 Architecture decision record examples and templates (Joel Parker Henderson): many alternative templates and examples.
Key rules¶
- 7
ADR-1Write an ADR for every architecturally significant decision. It records context, decision, status and consequences, and it fits on a page or two. (Nygard, Documenting Architecture Decisions) - 7
ADR-2Keep ADRs in the repository next to the code as numbered Markdown files, for exampledocs/decisions/0001-use-postgresql.md. (MADR) - 7
ADR-3Record the options you considered and why you rejected them, not just the option you chose. (MADR template) - 6
ADR-4Don't rewrite accepted decisions. Supersede them with a new ADR and link the two. (Nygard, Documenting Architecture Decisions, AWS, ADR process) - 5
ADR-5Say how compliance will be confirmed, for example with a design or code review, an architecture test such as ArchUnit, or a fitness function. (MADR template, "Confirmation" section, Thoughtworks, Architectural fitness function) - 4
ADR-6Decentralise decisions with an advice process. Anyone can decide after asking the people affected and those with expertise, and ADRs record the outcome. (Harmel-Law, Scaling the Practice of Architecture, Conversationally)
Tutorials and further reading¶
- 5 Lightweight Architecture Decision Records (Thoughtworks Technology Radar).
- 4 adr-tools: command-line tooling for Nygard-style ADRs.