# ADR rules Every rule for the architecture decision records in `docs/adr/`, in full. Each gives its reason (*Why*) and how it is held (*Held*): a control names its check; review means a person other than the author sees the change before it merges; aspirational means nothing checks it. - **An ADR only for a decision that is hard to reverse, surprising without context, and the result of a real trade-off** (all three). Anything else is a rule in the contributor docs or a directory's `AGENTS.md`, or a commit message. *Why:* an ADR is read as binding, so one per small choice buries the few that matter. *Held:* review. - **Status is `accepted` or `superseded by NNNN`, nothing else.** A proposal lives in an issue or a pull request and is never committed as "proposed". *Why:* a committed ADR is either in force or replaced; a draft in the tree reads as a decision. *Held:* review. - **An ADR is accepted on the maintainer's approval of its pull request, which sets status `accepted`.** *Why:* an ADR binds every contributor, so the maintainer decides it. *Held:* control: the `CODEOWNERS` entry for `docs/adr/`, which requires the maintainer's code-owner approval. - **One screen at most:** context, decision and reason first; considered options only when a rejection is not obvious. *Why:* a decision nobody reads to the end does not guide anyone. *Held:* review. - **No infrastructure detail:** no hostnames, addresses, runner sizing, account or secret names. *Why:* this repository is public, and an ADR outlives the infrastructure it would name. *Held:* review. - **An accepted risk is an entry in the "Accepted risks" section of [SECURITY.md](../../SECURITY.md)** (risk, why accepted, trigger, planned reduction), not an amendment to an ADR; a later decision that accepts a risk adds an entry there. *Why:* one register shows every risk the repository carries, and an accepted ADR stays as decided. *Held:* review (`SECURITY.md` is under `CODEOWNERS`).