202204021218 Architecture Decision Records
An Architecture Decision Record (ADR) is a document that captures a decision, including the context of how the decision was made and the consequences of adopting the decision.1
While the name implies that these would be used for mainly architecture level decisions, many people advocate for using them for nearly any decision, no matter how mundane.12 The purpose of recording as much as possible is to facilitate the 202110231449 Externalization of knowledge for software projects and product organizations. (202110231440 Knowledge is the backbone of a product organization)
ADRs are beneficial because they enable persistence and transfer of knowledge. They’re a great example of the 202110231445 The SECI model of organizational knowledge in action. They take 202110231457 Tacit knowledge and transform it into 202110231459 Explicit knowledge
ADRs can be used proactively to propose changes, or retroactively to record decisions that were already made.
My experience with ADRs has been split across two levels of use.
- Organization-wide — Valuable to an extent, but can be used poorly to push things that shouldn’t be approved under the guise of seeking wide consensus. The important thing for these to work are having good, competent coworkers and/or to have people who are not afraid to actively dissent in a widely public forum. They can be an invitation for people to engage in costly bike-shedding or an indispensable log of the collective mind of a group. Which side of this your group falls on is hard to tell and requires some radical candor to identify.
- Project specific — Always valuable. Even in the divergent scenarios above where people are making choices they shouldn’t. A project specific ADR trail allows the tracing, discussion, and possible reversal of these decisions.
ADR Template
Note: An ADR can refer to the record of all individual decisions or a specific decision. There can be some confusion around this, but typically it’s inconsequential.
The typical format for an ADR log would be something like this
decisions
├─ 0001-use-adrs.md
├─ 0002-use-typescript.md
└─ 0003-add-caching-support.md
An individual ADR follows some sort of template. One example of such a template is
- --
- --
- --
- -
- -
- -
-
Blake, J. (2020, April 14). When Should I Write an Architecture Decision Record. Spotify Engineering. https://engineering.atspotify.com/2020/04/when-should-i-write-an-architecture-decision-record/ ↩ ↩2
-
Perkins, E. (2020, August 13). Why write ADRs. The GitHub Blog. https://github.blog/2020-08-13-why-write-adrs/ ↩