ADR-0001: Record architecture decisions#

  • Status: accepted. Amendment rules refined by ADR-0017.
  • Date: 2026-07-30

Context#

This project exists to demonstrate understanding, not just working infrastructure. Terraform shows what was built. It is very bad at showing what was considered and rejected, which is the more expensive knowledge and the part that is genuinely hard to reconstruct later.

Concretely: minimum_protocol_version = "TLSv1.3_2025" is a line of configuration. That it deliberately locks out TLS 1.2 clients, that this was weighed against TLSv1.2_2021, and that the tradeoff was accepted for specific reasons — none of that survives in the code.

Decision#

Record significant decisions as Architecture Decision Records in docs/adr/, numbered sequentially, following the structure in the template.

ADRs are immutable once accepted. A decision that changes gets a new ADR superseding the old one; the old one stays, marked superseded. The record of reasoning has value even — especially — when the reasoning turned out to be wrong.

Every non-obvious choice in the Terraform carries a comment linking to its ADR, so a reader hitting a surprising line finds the reasoning instead of guessing.

Each ADR must include a "Revisit when" section. An ADR without one becomes a permanent constraint that nobody remembers how to question.

Alternatives considered#

Comments in the Terraform only. Comments explain the line they sit next to. They cannot hold a comparison of three options with costs, and they get deleted during refactors.

A single DECISIONS.md. Becomes an unreadable append-only log, and there is no natural place to mark something superseded.

Git commit messages. The reasoning exists but is undiscoverable — nobody runs git log to find out why the CSP looks like that.

Nothing. The default, and the reason so much infrastructure is archaeologically inscrutable.

Consequences#

Positive: the reasoning is discoverable at the point of confusion. Rejected options are recorded, so settled questions do not get re-litigated. The ADRs are published as part of the website, so they are part of the demonstration rather than internal notes.

Negative: real ongoing effort. ADRs that are not written are worse than no convention, because their absence implies no decision was made. There is a constant temptation to write one for trivia.

Neutral: the ADR count becomes a rough measure of how much of this was considered versus defaulted into.

Revisit when#

Never, realistically. If ADRs stop being written the convention has failed in practice, and that should be recorded — as an ADR.

Built 2026-11-25 from commit 33bfabf6a27d4baeecf228c31bd5d636a3965070. This page was generated from the same source that provisions the infrastructure it describes.