ADR templates:
- ADR template by Michael Nygard (simple and popular)
- ADR template by Jeff Tyree and Art Akerman (more sophisticated)
- ADR template for business case (more MBA-oriented, with costs, reSWOT, and more opinons)
An architectural decision (AD) is a software design choice that addresses a significant requirement.
An architectural decision record (ADR) is a way to track an AD, such as by writing notes, or logging information.
An architecturally significant requirement (ASR) is a requirement that has a measurable effect on a software system’s architecture.
All these are within the topic of architectural knowledge management (AKM).
The goal of this document is to provide a fast overview of ADRs, how to create them, and where to look for more information.
Your comments and suggestions are welcome.
You can open a GitHub issue, or create a pull request, or email joel@joelparkerhenderson.com.
This simple start is for a typical software project. More sophisticated information comes later in this page.
- Create a directory for the documentation, then the architecture, then the ADR files.
Example directory names to choose from:
./doc/arch/adr/
./docs/architectures/decisions/
./documentation/architecture-decision-records/
- For each ADR, create a text file. We like to use a title that has a date and a present tense imperative verb phrase, lowercase with underscore separators, and using markdown.
Example file names:
handle_more_users.md
strengthen_security.md
improve_energy_efficiency.md
- Write anything you want in the ADR. We like ours to cover these areas at least.
-
Title: short and action-oriented, such as "Choose a database".
-
Context: what is the issue that we're seeing that is motivating this decision or change.
-
Action: what are we proposing, or evaluating, or doing, etc.
- ADR template by Michael Nygard (simple and popular)
- ADR template by Jeff Tyree and Art Akerman (more sophisticated)
- ADR template for business case (more MBA-oriented, with costs, reSWOT, and more opinons)
The most popular template:
- Title
- Status
- Context
- Decision
- Consequences
The most popular additions for perspectives:
- Option Description
- Pros and Cons
- Risks and Issues
- Assumptions and Constraints
- Points of Note
The most popular additions for more detail:
- Summary
- Problem Definition
- Solution Context
- Assumptions
- Constraints
- Evaluation Criteria
- Summary of Recommendations
- Summary
- High-Level Comparison Table
- For each option:
- Option Description
- Pros and Cons
- Risks and Issues
- Assumptions and Constraints
- Points of Note
- Recommendation
- Decision identification
- How urgent and how important is the AD?
- Does it have to be made now, or can it wait until more is known?
- Both personal and collective experience, as well as recognized design methods and practices, can assist with decision identification.
- Ideally maintain a decision todo list that complements the product todo list.
- Decision making
- A number of decision making technqiues exists, both general ones and software and software architecture specific ones, for instance, dialogue mapping.[15] Group decision making is an active research topic.
- Decision documentation
- Many templates and tools for decisison capturing exist, both in agile communities (e.g., M. Nygard's ADRs) and in traditional software engineering and architecture design processes (e.g., see table layouts suggested by IBM UMF and by Tyree and Akerman from CapitalOne.
- Decision enactment and enforcement
- ADs are used in software design; hence they have to be communicated to, and accepted by, the stakeholders of the system that fund, deveop, and operate it. Architecturally evident coding styles [19] and code reviews that focus on architectural concerns and decisions are two related practices. ADs also have to be (re-)considered when modernizing a software sytem in software evolution.
- Decision sharing (optional)
- Many ADs recur across projects; hence, experiences with past decisions, both good and bad, can be valuable reusable assets when employing an explicit knowledge management strategy.
Introduction:
Templates:
- Documenting architecture decisions - Michael Nygard
- Template for documenting architecture alternatives and decisions - Stack Overflow
In-depth:
- ADMentor XML project - GitHub
- Architectural Decision Guidance across Projects: Problem Space Modeling, Decision Backlog Management and Cloud Computing Knowledge
- The Decision View's Role in Software Architecture Practice
- [Documenting Software Architectures: Views and Beyond])(http://resources.sei.cmu.edu/library/asset-view.cfm?assetID=30386)
- Architecture Decisions: Demystifying Architecture
See also:
- REMAP (Representation and Maintenance of Process Knowledge)
- DRL (Decision Representation Language)
- IBIS (Issue-Based Information System)
- QOC (Questions, Options, and Criteria)
- DRL (Decision Representation Language),
- IBM’s e-Business Reference Architecture Framework