invalid-adr-frontmatter
An ADR has no frontmatter, frontmatter that isn’t valid YAML, or a field that is unknown, missing (status, date) or invalid, such as a status outside proposed, accepted, rejected, deprecated and superseded.
Severity: error · Since: v1.0.0
What check reports
Section titled “What check reports”For the failing example below, archidocs check prints:
shop/adr/0001-use-kafka.md:2:9 error invalid-adr-frontmatter Invalid value for "status": expected one of "proposed"|"accepted"|"rejected"|"deprecated"|"superseded"The frontmatter ties an ADR to the Model: status says whether the decision stands, and elements and views say what it affects. If it can’t be read, a Proposed decision can’t be told from an accepted one, and the ADR can’t be shown on the Elements it is about.
Failing example
Section titled “Failing example”shop/adr/0001-use-kafka.md:
---status: approveddate: 2026-03-01---
# Use Kafka for events
We publish domain events on Kafka.Start the file with ---, status and date (YYYY-MM-DD), then ---; use only the MADR fields and the elements, views and supersedes links.
shop/adr/0001-use-kafka.md:
---status: accepteddate: 2026-03-01---
# Use Kafka for events
We publish domain events on Kafka.Related rules
Section titled “Related rules”missing-adr-title: An ADR’s body has no#heading to take its title from.hand-written-superseded: An ADR’sstatusis written assuperseded; that status is derived once an accepted ADR lists it insupersedes.yaml-syntax: A file can’t be parsed as YAML.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.