latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

ADR-0001 accepted

Write down the reasoning behind every big decision

  • Status: Accepted
  • Date: 2026-09-30

Context

Every cloud environment is full of choices that look odd from the outside. Why this service and not the obvious one? Why is this step done by hand? Six months later nobody remembers, often not even the person who made the call. Then the choice gets undone by someone who doesn't know the reason, or kept forever by someone afraid to touch it.

HKB is built to be reviewed by people who weren't there. A reviewer should be able to ask "why not X?" about any unusual choice and find the answer written down next to the code.

Decision

Write a short record, like this one, for each big decision: one that goes against an AWS default or a well-known alternative, would be hard to undo, or would make a reviewer ask "why not X?". Each record says what the situation was, what was decided, what it costs and what else was considered.

Small choices get one line in the decision log instead.

Consequences

  • Every big choice has its reasoning on record, including the options that lost.
  • Records take time to write, so they are kept for the decisions that need them.
  • The earliest records were written after the fact, from the one-line log.

Alternatives considered

  • One line per decision, and nothing more. Cheaper, but it loses the rejected options, which are what a reviewer most wants to see.
  • A wiki or chat history. Not stored with the code, so it drifts and can't be checked against it.
LLMs look here
  • Records D47 and D48. The decision log (D-numbers) is the complete index; ADRs are the curated subset with full reasoning.
  • Format: docs/adr/NNNN-title.md, trimmed MADR (Status, Context, Decision, Consequences, Alternatives considered), citing the D-numbers recorded. Since DQ-245 the body is plain language and the precise record (role and stack names, D/DQ numbers, step IDs) goes in this last section, which the site renders collapsed.
  • ADRs 0001 to 0018 were planned on 2026-09-30 and drafted from the log; 0019 onward were written as decisions landed.
  • Mapping each ADR to NIST CSF 2.0 or 800-53 control IDs was planned (D47). The mappings live in controls/crosswalk.yaml instead, control by control, and passed the F15 spot-check against the official catalog (2026-11-07). The records carry no control IDs.

Page information

Owner
Platform Engineering
Status
accepted From the decision record.
Generated from
docs/adr/0001-record-architecture-decisions.md
Linked from
Decisions