Skip to content

Architectural decision records

Documents describing the various architectural decisions that have been made during the course of Lore development and the reasoning behind them.

When to write one

Write an ADR when a change makes a decision that is hard to reverse, or that establishes a pattern later code should follow. Most changes make no such decision. When a change does, the ADR is required: don't skip it, and don't let a ticket, spec, PR description or commit message stand in for it.

A new ADR is retrospective. It records why the decision was made, so that later contributors don't relitigate it. Write it with the code that makes the decision concrete, or after it. An ADR is never a proposal: to align on a change before it merges, write an LEP.

Once an ADR is accepted, new code follows it. A change that departs from an accepted ADR comes with a new ADR that supersedes it, in the same change.

Format

ADRs are append-only and numbered sequentially. Filename pattern: NNNNN-<slug>.md. The required header and sections are in the ADR section of the doc types.

Suggested starting points

See docs/README.md for the full docs structure.