ADR
An Architecture Decision Record (ADR) records why a durable decision was made: the context, the options considered, and the outcome. An accepted ADR may be corrected in place while preserving the decision. A changed architectural decision is recorded through supersession.
Identity and file layout
Section titled “Identity and file layout”Each ADR carries a stable identifier of the form PROJECT-ADR-NNNN, allocated by specful new adr and never edited by
hand. ADRs live in one flat directory in every adopting repository:
docs/adr/<sequence>-<short-title>.mdFrontmatter
Section titled “Frontmatter”| Field | Meaning | Read by |
|---|---|---|
type |
Always ADR. |
validate (selects the schema) |
profile-version |
The ADR profile version this document conforms to. | validate (schema requires 1) |
id |
The allocated PROJECT-ADR-NNNN identifier. |
validate; index; show; trace |
title |
Short title naming the problem and chosen solution. | validate (H1 parity); index; show |
status |
One of proposed, accepted, deprecated, superseded. |
validate (supersession pairing); index; show |
recorded-on |
The date this record was written. | validate (schema); readers |
decided-on |
The date the decision was accepted; omit while proposed or unknown. |
validate (schema); readers |
decision-makers |
Who made the decision. | validate (schema); names the authority to reconsider |
supersedes |
Optional: the ADR identifier(s) this record replaces. | validate (reciprocity); index; show; trace |
superseded-by |
Optional: the ADR that replaced this record. | validate (reciprocity); index; show; trace |
Supersession is the one relationship stored in both directions: both the replaced and replacement records carry reciprocal links, so either document remains independently navigable, and validation treats disagreement between those links as an error.
Only an accepted ADR carries architectural authority. specful validate allows a Requirement or Design to cite a
proposed ADR in governed-by so one change can introduce a proposal alongside dependent artifacts, while that
citation remains provisional until the maintainer accepts the ADR. Citations to deprecated or superseded ADRs fail
validation.
Corrections and supersession
Section titled “Corrections and supersession”Accepted, deprecated, and superseded ADRs may be corrected and clarified in any section and factual metadata, including context, rationale, alternatives, consequences, dates, and participant names. Later knowledge must not be presented as the original reason for the decision. The identifier remains unchanged, and corrections do not change lifecycle state or supersession relationships. Date fields continue to identify the original recording and decision events; correct an erroneous date, but do not reset it when editing the record.
Implementation details and obligations that belong in a Design or Requirement may be moved out of an ADR without
supersession when the decision remains unchanged. The ADR retains the choice, its rationale, credible alternatives, and
material consequences. The destination artifacts cite the ADR through governed-by where its rationale governs them.
A change to the architectural choice, its scope, or its operative conditions is a new decision and requires supersession. The maintainer resolves uncertainty about whether an edit corrects the record or changes the decision. An authorised correction needs no renewed acceptance, special exception, or mandatory amendment log. Git preserves earlier versions. A reviewer recommending supersession identifies the decision that changes; accepted status, the section edited, and diff size are not sufficient grounds. Body and factual metadata edits do not themselves trigger a validation warning; the distinction is an authoring and review judgement rather than a mechanical conformance rule.
Sections
Section titled “Sections”specful validate checks structure, not judgement. It requires the four level-two headings through Decision outcome, in
that exact order and wording, and requires the level-three Consequences heading, but only within the Decision
outcome span: a stray top-level heading of the same name elsewhere does not satisfy it. Each required heading must
appear exactly once, in order, and carry content; a missing, duplicated, out-of-order, or empty required section is a
finding. When present, Pros and cons of the options and More information must be non-empty. Validation also
rejects foreign canonical level-two headings belonging to Requirements or Designs, Markdown task checkboxes outside
code, and any required section, Consequences, or present optional section consisting solely of bare filler
(Not applicable, N/A, NA, None, TBD, TODO, or TBA). The document H1 must match the frontmatter title,
and no template placeholder residue may remain outside a code span. The tool cannot tell whether the considered options
were the materially viable ones, whether the chosen option’s reasoning is honest, or whether a stated consequence is
real: that judgement is the author’s and reviewer’s, and the authoring skills teach it.
Through Consequences, every section is required. Pros and cons of the options and More information are optional, and are removed completely when they add no useful decision evidence, unlike a Requirement or Design section, which keeps its heading with a stated reason when not applicable: these two sections are evidence depth, not a completeness checklist.
- Context and problem statement: the decision context, the problem that requires a durable choice, and the scope of that choice, stated without narrating implementation history. May be posed as a question.
- Decision drivers: the forces, constraints, and desired qualities that govern the choice.
- Considered options: the materially viable options, named consistently with the rest of the document.
- Decision outcome: “Chosen option: {option}, because {reason it best satisfies the decision drivers}.”
- Consequences: material outcomes of the choice, including adverse trade-offs, as positive and negative bullets.
- Pros and cons of the options (optional): each considered option’s own positive, neutral, and negative points.
- More information (optional): supporting evidence, related decisions, or conditions that should trigger
reconsideration. It never restates a
satisfies,governed-by,supersedes, orsuperseded-byrelationship the frontmatter already carries;specful showrenders those edges.
An ADR outcome says “chosen option: X, because …”, never “the system MUST”. A decision whose outcome needs to bind
mints a Requirement and links it back through governed-by.
When a decision departs from an applicable external standard, name the primary standard, edition (or, for a living
standard, a dated snapshot or commit), target level where the standard defines tiers, and clause, quoting or pinning its
normative force in Context and problem statement or Decision drivers. If the primary source is unavailable, do not cite
an edition, pin, or clause number from memory; raise the gap to the maintainer or track it in the change plan, and do
not mark the record complete until the exact reference is supplied or verified. Include conforming to the standard in
Considered options only when it was both materially viable and considered for the decision. Where historical evidence
shows conformance was ruled out beforehand, record what ruled it out in Context and problem statement or Decision
drivers; if conformance was not considered at the time, record later standard findings as later knowledge rather than
original rationale. Record the resulting risk and compensating controls under Consequences, and note conditions that
should trigger reconsideration (such as a new standard edition or higher assurance target) in More information. Any
resulting binding obligation lives in a Requirement citing this ADR through governed-by, per
External standards.
Relationship to MADR
Section titled “Relationship to MADR”This profile derives from the MADR 4.0.0 complete template and is tighter than MADR on every axis it touches: a
canonical MADR record does not validate against it unchanged. Section headings are sentence case and compared exactly,
so Context and Problem Statement fails where Context and problem statement passes. Decision drivers and Consequences
are required here where MADR marks them optional. MADR’s Confirmation section is not part of this profile: a record that
still carries one validates, but the section is not read. recorded-on and decided-on (omitted while proposed or
when unknown) replace MADR’s single date field. decision-makers is a list rather than free text. MADR’s consulted
and informed participant roles are not part of this profile; a record carrying either fails validation until the lines
are deleted. status drops MADR’s rejected value. No frontmatter key outside the profile is accepted other than an
x- extension key. A MADR record joins the profile by being re-recorded, never edited in place; see
adopting into an existing repository.
Requirement versus ADR
Section titled “Requirement versus ADR”A Requirement binds the system; an ADR records a choice. A Requirement states what must be true of the system now,
observable and yes/no checkable, and is rewritten in place when it changes. An ADR records a decision event, with its
alternatives and reasoning; corrections preserve that decision, while a changed decision requires supersession. The seam
is governed-by: when a decision creates an obligation, the ADR carries the why-this-over-that and a Requirement
carries the enforceable now, linked through governed-by. Neither duplicates the other: an ADR cannot bind, and a
Requirement does not explain the road not taken.
With Design in the same picture, the triangle is complete: Requirement is what must hold, Design is how the system currently works, ADR is why the durable choices were made. Most internal technology choices produce an ADR and Design content but no Requirement at all; a Requirement exists only where something genuinely binds observable behaviour, or where an externally imposed constraint (a mandated protocol, format, mechanism, or interoperability contract) applies.
Two litmus questions settle nearly every case:
- Could tooling or a test ever check it against the system? Yes: Requirement. No, the value is the reasoning: ADR.
- If the obligation or architectural decision changed tomorrow, would its record be rewritten or superseded? Rewritten: Requirement. Superseded: ADR. Correcting the record does not itself change the decision.
The discipline that keeps the line crisp: an ADR outcome never says “the system MUST”, and whether a decision is being
followed is read from the Requirements and Designs that cite it through governed-by, not from the record itself.
See the Requirement profile and the Design profile.