Files
Kamino/docs/adr/AGENTS.md
T
Defame1297 fbc9b375a6
Build / build (pull_request) Successful in 17s
Lint / lint (pull_request) Successful in 54s
Molecule / molecule (pull_request) Successful in 20m4s
docs(agents): write nested AGENTS.md for scripts, workflows, images and ADRs
Each file holds its directory's rules in full: the rule, a one-sentence
reason and how it is held (control, review or aspirational). The interim
dependency and image section of making-a-change.md moves into
scripts/AGENTS.md and images/AGENTS.md; the contributor docs point to the
new files.

Closes #182

Assisted-by: Claude Code:claude-opus-5-5
2026-11-22 15:42:51 +00:00

29 lines
2.0 KiB
Markdown

# 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`).