In plain words
A design doc proposes how to build something, with options and trade-offs, before the work starts; an architecture decision record, or ADR, is a short note recording one decision and why it was made.
Where you see it
A new engineer asks why Harbor's deploy logs live in ClickHouse instead of Postgres, and nobody remembers. A one-page ADR from two years ago answers in a minute: the options considered, the write volume that ruled out Postgres, and what the team gave up.
What goes wrong
- Writing the doc after the decision
A doc that describes what was already built invites no real review. Write it while the options are still open, and ask reviewers to challenge the choice.
- Only one option considered
A design with one option is a plan, not a decision. List at least two real alternatives, including doing nothing, and why each lost.
- Editing old ADRs when things change
Rewriting a past decision erases the record of why it made sense. Leave the old ADR, mark it superseded, and write a new one that links to it.
What to tell your agent
Quick check
Sign in to earn +10 XP for itHarbor later moves deploy logs off ClickHouse. What should happen to ADR 014?