Skip to content

supersedes-unaccepted

An ADR supersedes one that isn’t accepted or deprecated, such as a proposed or rejected ADR.

Severity: warning · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/adr/0002-use-kafka.md:4:14 warning supersedes-unaccepted Supersedes shop:0001, which is rejected; only an accepted or deprecated ADR is superseded

To supersede a decision is to replace one that was in force. A proposed or rejected ADR never was, yet listing it in supersedes shows it as superseded, as if it had once been the architecture.

shop/adr/0002-use-kafka.md:

---
status: accepted
date: 2026-03-01
supersedes: ["0001"]
---
# Use Kafka for events
We publish domain events on Kafka.

Remove the entry from supersedes, or point it at the accepted ADR this one replaces.

shop/adr/0002-use-kafka.md:

---
status: accepted
date: 2026-03-01
---
# Use Kafka for events
We publish domain events on Kafka.
  • hand-written-superseded: An ADR’s status is written as superseded; that status is derived once an accepted ADR lists it in supersedes.
  • superseded-twice: An ADR is superseded by more than one accepted ADR. Reported at the last of them.

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