| name | standards-adr |
| description | Use when creating or updating ADR files in docs/adr/. Also use when making an architectural decision to evaluate whether an ADR should be written. |
ADR Standards
When to Write
- An AI agent asked to "clean up" the codebase would break this decision.
- The decision was learned through a past incident or failure.
- If a
// WHY: inline comment alone conveys the rationale, skip the ADR.
Create
- Find the highest ID in
docs/adr/, increment by one.
- Name:
NNNN-slug.md
- Copy references/template.md and fill in content.
Update Status
Only the user decides status changes.
Permitted transitions:
Proposed → Accepted or Rejected
Accepted → Deprecated or Superseded
On supersede: Create a new ADR with old ID in supersedes. Set old ADR to Superseded.
On deprecate: Set old ADR to Deprecated.
Status is the only permitted edit to an Accepted ADR.