Decisions — ADR Trail
This guide is split into three parts, and you are on Short info. Continue with the tutorial or browse the samples.
Summary
Section titled “Summary”A decision record answers: why did we choose this approach, what did we reject, and what would make us reconsider?
When to use it
Section titled “When to use it”Use a short record for a consequential technical, product or specification choice. Start with the context, the decision and its consequences; add alternatives and affected model links. Record the uncertainty that matters. Routine reversible choices rarely need a full architecture essay.
Common mistakes
Section titled “Common mistakes”- Recording a technology name without context or consequences.
- Replacing past rationale with the latest opinion and losing the decision history.
- Treating an accepted decision as proof that the implementation conforms to it.
Background and history
Section titled “Background and history”Michael Nygard’s 2011 architecture-decision article argues for small records that preserve motivation as a system changes. ContextBrew’s decision format adds structured identity, type, status, alternatives and links to affected models. It is an archive artifact, not a dedicated entry in the implemented-model selector.
The value of a record is the reasoning available to the next reader. Include the forces present at the time, the consequences accepted and the conditions that would justify a different choice. A later decision can supersede an earlier one while preserving its context. Acceptance records a choice; it does not prove implementation or conformance. Connect a decision to a requirement or affected model when the team needs to check those obligations.
Alternatives and trade-offs
Section titled “Alternatives and trade-offs”Meeting notes and issue threads preserve conversation but make the final decision hard to locate. A design proposal supports exploration before acceptance; an ADR preserves the resulting choice. CBRL expresses an obligation that may result from the decision.
References
Section titled “References”- 2011 architecture-decision article
- Learning with models — choose a practice workflow and interpret its results.
Where it fits
Section titled “Where it fits”| Model | Captures | Use case |
|---|---|---|
| CBRL | Forward-looking requirements | “What the system must do” |
| Decision | Past and present architectural choices | “Why we built it this way” |
Status values
Section titled “Status values”proposed— under discussion, not yet decidedunder_review— accepted in principle but with open questionsaccepted— current decision; the rest of the system aligns with thisrejected— explicitly considered and not adoptedsuperseded— replaced by a later decision (carries asupersedeslink)
Type values
Section titled “Type values”architectural · product · spec · process — lets queries filter for “all architectural decisions in 2026”.
File format
Section titled “File format”Stored as models/decision.json inside a .ctxbrew archive. See the decision schema page for the normative JSON Schema and committed sample files.
