Skip to content

Decisions — ADR Trail

This guide is split into three parts, and you are on Short info. Continue with the tutorial or browse the samples.

A decision record answers: why did we choose this approach, what did we reject, and what would make us reconsider?

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.

  • 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.

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.

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.

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”
  • proposed — under discussion, not yet decided
  • under_review — accepted in principle but with open questions
  • accepted — current decision; the rest of the system aligns with this
  • rejected — explicitly considered and not adopted
  • superseded — replaced by a later decision (carries a supersedes link)

architectural · product · spec · process — lets queries filter for “all architectural decisions in 2026”.

Stored as models/decision.json inside a .ctxbrew archive. See the decision schema page for the normative JSON Schema and committed sample files.