Skip to content

hand-written-superseded

An ADR’s status is written as superseded; that status is derived once an accepted ADR lists it in supersedes.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/adr/0001-use-rabbitmq.md:2:9 error hand-written-superseded `superseded` is derived, never written: give this ADR the status it had, and list it in the new ADR's `supersedes`

An ADR is superseded once an accepted ADR lists it in supersedes; Archidocs derives it. Written by hand, the status could disagree with those lists, so deriving it keeps the record of what replaced what in one place.

shop/adr/0001-use-rabbitmq.md:

---
status: superseded
date: 2025-01-10
---
# Use RabbitMQ
We publish domain events on Kafka.

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

---
status: accepted
date: 2026-03-01
---
# Use Kafka for events
We publish domain events on Kafka.

Give the old ADR back the status it had (usually accepted), and declare supersedes on the new ADR instead.

shop/adr/0001-use-rabbitmq.md:

---
status: accepted
date: 2025-01-10
---
# Use RabbitMQ
We publish domain events on Kafka.

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

---
status: accepted
date: 2026-03-01
supersedes: ["0001"]
---
# Use Kafka for events
We publish domain events on Kafka.
  • supersedes-unaccepted: An ADR supersedes one that isn’t accepted or deprecated, such as a proposed or rejected ADR.
  • 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.