Skip to content

001: Where decisions live

Status: accepted, 2026-11-08.

Context

Design decisions of the suite were written down in planning notes that are not part of any repository, in commit messages and in code comments. A comment that keeps a rule's reason can go stale while the rule stays: the test docblocks still described a membership gate on per-site roles for months after that gate was decided against (004).

Decision

A design decision gets a record on this page set, numbered in the order it is written. Code comments state the rule and link the record for the reasons. A changed decision gets a new record that replaces the old one; the old one stays with its status set to replaced.

Consequences

  • Reviewers can check a change against a record instead of against memory.
  • A guard test that enforces a decision names its record in its docblock.

Rejected options

  • Architecture notes in each module's README: the decisions cross modules, and README files are written for site builders.
  • The issue queue: issues record the discussion, not the outcome.

Reopen when

The records stop being read: when a review finds a decision only in a comment or an issue again.

Last updated 2026-11-08