Lesson 8 of 9 · 21m
Architecture Decision Records That Actually Get Read
Capture context, constraints, alternatives, consequences, and review triggers in short ADRs that future engineers can trust.
The architectural decisions that hurt most were never made. They happened in a Slack thread, got merged as a workaround, and became load-bearing six months later. Architecture Decision Records are not documentation theater. They are the difference between understanding why a strange constraint exists and accidentally deleting it during cleanup.
Write the decision at the moment it is expensive
An ADR is useful when there is real ambiguity, a meaningful tradeoff, or a constraint future developers cannot infer from code. Do not write ADRs for obvious implementation details. Write them before or immediately after the decision, while the rejected alternatives are still remembered.
A practical template is short:
# ADR 0017: Keep billing state in the modular monolith
Status: accepted — 2026-11-30
## Context
Checkout requires strong consistency across cart, invoice, and payment intent.
The team is eight engineers and has no separate billing on-call ownership.
## Decision
Keep billing in the modular monolith behind the `billing` module API.
Do not extract it as a service in Q1.
## Alternatives considered
- Extract billing service: independent scaling, but introduces distributed transactions.
- Keep shared tables: fastest, but preserves hidden coupling.
- Move to event sourcing: auditability benefits, but too much operational change now.
## Consequences
Positive: checkout invariants remain transactional; deployment stays simple.
Negative: billing deployments still require monolith coordination.
Follow-up: revisit when billing deploys exceed two incidents per quarter or ownership grows.
## Enforcement
CI dependency check forbids imports into `billing.storage` outside `billing`.Notice the decision is specific enough to disagree with.
Status is part of the truth
Use honest lifecycle states: proposed, accepted, superseded, deprecated, rejected. Link superseding records both ways. Do not edit history into coherence; add the new decision and explain what changed. Architects look foolish when they pretend the system was designed in its current shape from day one.
Record forces, not just conclusions
Future engineers need the constraints. Traffic volume, regulatory exposure, team size, operational maturity, deadlines, incident history, and cloud cost all matter. Without them, every decision looks arbitrary. With them, a future team can tell whether the decision still applies.
Bad: "We chose Postgres because it is reliable."
Better: "We chose one Postgres primary because reported write volume is 40 writes/second, strong consistency is required for ledger entries, and the team has no experience operating consensus-based datastores. Revisit if write volume or region requirements invalidate those constraints."
Decision records are not design documents
An ADR should usually fit in one or two pages. Detailed protocol design, migration plans, and threat models deserve separate documents linked from the ADR. The record answers: what changed, why, what else was possible, what follows, and when to revisit.
Make review triggers operational
A decision without a revisit condition becomes doctrine. Attach measurable triggers:
revisit if:
- ledger write contention exceeds 100ms p95 for seven days
- projection lag exceeds five minutes during business hours
- checkout deploy coupling causes two incidents in one quarter
- team ownership splits into separate platform and billing groupsPut those triggers where operators see them: dashboards, incident reviews, quarterly architecture reviews. A folder of markdown nobody reads is only marginally better than no folder.
Field notes
- Number ADRs immutably. Renaming files breaks links and makes incident discussion ambiguous.
- Include the decision owner or accountable team, but do not turn the ADR into blame archaeology.
- If an ADR says "temporary," include an exit condition or deletion date.
- Rejected alternatives are valuable. They stop future teams from relitigating the same idea without new evidence.
- Keep ADRs in the repository near the code they constrain; wiki-only decisions decay fastest.
Was this lesson helpful?