Skip to content

Record an ADR

An ADR records one decision in the Project that owns it, linked to the Elements, Deployment Targets and Saved Views it affects. See Decisions.

Add <project>/adr/NNNN-slug.md, numbered one past the Project’s last ADR, with status: proposed and today’s date. Link what it affects in elements and views:

payments/adr/0002-hold-payments-on-a-high-fraud-score.md
---
status: proposed
date: 2026-03-02
decision-makers: [payments]
elements: [fraud-detection, payments-service]
---
# Hold payments on a high fraud score
## Context and Problem Statement
Fraud Detection scores payments after they are initiated, but a payment can
settle before the score arrives.
## Considered Options
- Keep scoring after the fact and claw back
- Hold a payment until it is scored, when its amount is above a threshold
## Decision Outcome
Proposed: hold payments above £1,000 until Fraud Detection has scored them.

The body is yours, under one # title. A common shape is MADR’s: Context and Problem Statement, Considered Options, Decision Outcome, Consequences. A Project can keep its own template in adr/template.md, and the Workspace one in adr-template.md, for propose_adr to fill in.

Commit the ADR with any Model changes it brings, and open a pull request. Reviewers discuss the decision there, next to the change.

Before merging, set status: accepted and the date. If the decision is turned down, set rejected and merge it anyway, so the reasoning is kept.

To replace an earlier decision, list it in the new ADR’s supersedes ("0001" in this Project, or "project:0001" in another), as Big Bank’s Digital Banking Team did when it moved sign-in to the Identity Platform:

digital/adr/0002-delegate-sign-in-to-the-identity-platform.md
---
status: accepted
date: 2025-07-21
decision-makers: [digital-banking, identity]
consulted: [platform]
elements: [security-component, identity:auth-service]
supersedes: ["0001"]
---
# Delegate sign-in to the Identity Platform
## Context and Problem Statement
The mobile app, the web app and the call centre each needed customer sign-in,
and credentials in the API database could not be shared safely.
## Considered Options
- Keep credentials in the API database and expose a sign-in API
- Delegate sign-in to a central OpenID Connect provider
## Decision Outcome
Chosen option: delegate to `identity:auth-service`. The Security Component now
only validates tokens, and the API database keeps sessions, not credentials.

Leave the old ADR’s status as it is: Archidocs derives that it is superseded once the new one is accepted. Writing it by hand is refused:

shop/adr/0001-use-rabbitmq.md · fails check: hand-written-superseded
---
status: superseded
date: 2025-01-10
elements: [api]
---
# Use RabbitMQ for order events

That is hand-written-superseded: put back status: accepted, and add supersedes: ["0001"] to the new ADR.

Terminal window
archidocs check

The ADR then shows in the Element panel of each Element it links, and opens in the viewer’s ADR reader.

propose_adr writes a proposed ADR with the next free number, today’s date and the template, ready for the pull request.