Skip to content

ADR frontmatter

An ADR is a Markdown file named NNNN-slug.md in a Project’s adr/ folder. Its YAML frontmatter gives its status and links it to the Elements, Deployment Targets and Saved Views it affects; the body is free Markdown under one # title.

The Kitchen sink’s:

sink/adr/0001-send-receipts-from-order-events.md
---
status: accepted
date: 2026-02-03
decision-makers: [core, data]
elements: [mailer, events]
views: [place-order]
---
# Send receipts from order events
## Context and Problem Statement
The API sent receipt e-mails itself, so a slow mail server slowed checkout down.
## Decision Outcome
The API publishes `orders.placed` to Events, and Mailer subscribes to it and sends the receipt.
## Consequences
Checkout no longer waits for e-mail. A receipt can arrive a few seconds after the order.

superseded is never written by hand: list the old ADR in the new one’s supersedes. See Record an ADR.

An ADR is a Markdown file in <project>/adr/; its frontmatter links the decision to the Elements and Views it affects.

Generated from schemas/adr.schema.json, which editors use for completion, validation and these descriptions on hover. A key that isn’t listed here is an error: invalid-adr-frontmatter.

In the Type column:

  • reference: an id in the same Project, or a Qualified id, project:id, for something in another Project (^([a-z0-9][a-z0-9-]*:)?[a-z0-9][a-z0-9-]*$).
  • ADR reference: an ADR’s four-digit number in the same Project, or project:NNNN for an ADR in another Project (^([a-z0-9][a-z0-9-]*:)?\d{4}$).
  • date: a calendar date written YYYY-MM-DD.
Field Type Required Default Description
status proposed, accepted, rejected, deprecated or superseded yes Where the decision stands. proposed: awaiting acceptance in a pull request. accepted: in force. rejected: turned down, and kept for its reasoning. deprecated: no longer in force, with no ADR replacing it. superseded: never written by hand; it is derived once an accepted ADR lists this one in supersedes.
Field Type Required Default Description
date date yes The date of the last status change, as YYYY-MM-DD.
Field Type Required Default Description
decision-makers list of string Who made the decision: people’s names or Team ids. Not checked.
Field Type Required Default Description
consulted list of string Who was asked for input: people’s names or Team ids. Not checked.
Field Type Required Default Description
informed list of string Who was told of the decision: people’s names or Team ids. Not checked.
Field Type Required Default Description
tags list of string Free-form labels for the ADR.
Field Type Required Default Description
elements list of reference The Elements and Deployment Targets the decision affects, each as an id in this Project or project:id.
Field Type Required Default Description
views list of reference The Saved Views the decision affects, each as an id in this Project or project:id.
Field Type Required Default Description
supersedes list of ADR reference The ADRs this one replaces once it is accepted, each as a four-digit number in this Project or project:NNNN. Only an accepted or deprecated ADR can be superseded.

Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.