Browse documentation

Decision Records

Decision records preserve why code exists — the alternatives rejected, invariants discovered, and workarounds accepted — as versioned, git-native Markdown files with YAML frontmatter. They complement this book: the book is how things work; records are why this choice won.

Where records live

DirectoryOwnerOverwritten by upgrades?
.framework/decisions/frameworkyes — package-owned
custom/apps/<slug>/decisions/the app's publisheryes for DAHL-shipped apps
custom/decisions/your projectnever

How to use them

  • Before editing, read the records whose applies_to covers your files — in .framework/decisions/ and each app's decisions/. A superseded record names its replacement in superseded_by.
  • After a consequential choice, write a status: proposed record via the spine-decision-capture skill — into custom/decisions/ only (owner: customer, ids customer:NNNN-slug).
  • Never write into package-owned decisions/ dirs — upgrades replace them. To diverge from a package record, link to it from your own record.

Agent notes

  • supersedes never crosses owners; links may.
  • The validator (.framework/tests/unit/decision-records.test.ts) checks schema, ownership placement, supersedes/superseded_by reciprocity, and that accepted/proposed records' applies_to/enforced_by paths still resolve in the tree.
  • enforced_by: [] is an explicit "this rule is review-enforced only" flag, not an omission.
  • status: proposed means unreviewed proposal — context, not an approved constraint. Only accepted (and superseded, as history) carries authority; never cite a proposed record as the reason a design is right.
  • Releases ship strict: a proposed record fails the release gate unless a exceptions.yaml entry in the same dir approves it for exactly that release (record, release, approved_by, reason). Exceptions expire automatically — a stale release or an adjudicated record fails validation.
  • Team conventions — who owns custom/decisions/ vs package-owned decision dirs, and where team rules live.

Framework documentation — Verified November 6, 2026 · source revision main.

Was this page helpful? Ask a question · Report a documentation problem