ADR-0017: Written principles, and how accepted ADRs may be amended#
- Status: accepted. Refines the immutability rule in ADR-0001.
- Date: 2026-11-24
Context#
The project has always had strong principles, but they lived in fragments: the README's "things that do not work" section, ADR-0001's insistence on recorded reasoning, ADR-0007's zero-dependency build, ADR-0011's public-repository standards, the conventions page's "a convention that relies on reviewer memory is a suggestion", and the radar's conditions to change. Nothing stated them together, and nothing said which one wins when they conflict.
A full review in November 2026 found the fragments being followed in spirit and broken in detail:
- Published claims had drifted from reality. The security posture page
described GitHub Actions as digest-pinned and deploys as Sigstore-attested; neither was true. The living-documentation page described a footer link that had been removed. The website's state-generated DNS table described a CAA iodef that no longer existed, because the change had been merged but never applied.
- The ADR immutability rule had been bent six times. Some edits were plainly
useful: renaming terraform to tofu after ADR-0015, and ADR-0006's "Current status" section explaining why its approval gate is not yet in force. One reversed part of a decision in place: ADR-0008 stopped publishing security.txt by editing its own Consequences. ADR-0001 offered no way to tell these cases apart.
- "Done" had no definition. Three pull requests merged after the last
apply, so the repository and the running system had quietly diverged.
Decision#
1. docs/00-principles.md is the canonical statement of the project's principles, their order of precedence, and the definition of done. It is published first in the site navigation. Changing a principle needs an ADR, as with any other decision. An ADR that knowingly breaks a principle names it.
2. Accepted ADRs may be changed in place in exactly three ways:
| Change | Allowed in place? | Example |
|---|---|---|
| Errata: renames, broken links, typos, facts that changed underneath without changing the decision | Yes | terraform plan becoming tofu plan |
| Status notes: a dated section recording whether the decision is fully in force | Yes, appended under ## Status notes, each entry dated | ADR-0006's approval gate being inactive while the repository is private |
| Status line: superseded, refined, deprecated | Yes | This ADR's effect on ADR-0001 |
| Anything that changes what was decided, or why | No. Write a new ADR that supersedes or refines it | — |
3. The principles are carried to the point of change, not left on a page: a pull request template with the definition of done, and a CLAUDE.md so AI coding sessions, which have written much of this repository, load them by default.
Past in-place edits are not rewritten. History is the record; this ADR is the correction.
Alternatives considered#
Leave the principles implicit. The status quo, and the reason for this ADR: the review found the implicit versions eroding without anyone deciding to erode them.
A CONTRIBUTING.md instead of a docs page. GitHub shows it, but the website would not, and the website is the documentation (ADR-0007). The principles are part of what this project demonstrates, not contributor admin.
Strict immutability: no in-place edits at all. Forces a new ADR for every transient status ("the gate is inactive until the repository is public"), which buries the real decisions in noise. It also discourages fixing a broken link in an old ADR, which helps nobody.
Fully mutable ADRs. Loses the record of reasoning, including reasoning that turned out wrong, which is the whole value ADR-0001 identified.
Consequences#
Positive: one page to review a change against, with a precedence order for conflicts. A definition of done that includes applied and verified, not just merged. A clear test for whether an ADR edit needs a new ADR.
Negative: another document to keep current, and principles drift into platitudes if nothing cites them. Requiring ADRs to name a principle they break, and putting the short form in the pull request template, is the mitigation. Neither is enforced by CI.
Neutral: ADR-0001's rule is refined, not reversed. The decision sections of accepted ADRs remain immutable.
Revisit when#
- Status notes start being used to change decisions in place. That is the
convention failing, and should be recorded as such.
- A second person gets write access, at which point parts of the definition of
done should move from the template into required CI checks.