Skip to content
joinery / docs

Overview

452 words · updated yesterdaydocs/decisions/README.md

🧭 Decisions

The answer to an architectural question, once it's answered. One file per decision, <NNNN>-<slug>.md. The issue holds the question; the file holds the answer.

Write one only when a fork was really open, or a later ticket builds on what was found. One spike gets one report. A choice that copies existing precedent gets a line in a report, or just the PR. The decision-report skill writes them.

Structure

Copy TEMPLATE.md: frontmatter, then five short sections.

SectionAnswers
ContextWhat was in tension, in the spike issue's own framing
ResultThe outcome, as a fact found, not a recommendation
Options consideredTable: option, why it lost
ConsequencesWhat it unlocks, what it forecloses, what would reopen it
ConfirmationA command, check or test that fails if the decision stops holding

While status: to-implement, the report must let someone with no context do the work: file paths and lines in Result, order and tripwires in Consequences, a runnable check per claim in Confirmation. 0018 is the calibration.

Numbering

The number is consecutive, not the issue's: the next free NNNN, zero-padded to four digits. The issue goes in the issue: field. Two reports may share an issue.

The five sections are a record, never edited afterwards. Two exceptions: a labelled template migration of every report at once, and repairing a link whose target moved (0011 has why).

Status and decision

The frontmatter is the only part that changes after filing:

---
issue: 106
status: to-implement
decision: accepted
---
FieldAxisValues
statusHas the work landed?to-implement — the decision is made, the work isn't in the repo yet · implemented — it is · wont-implement — decided against, deliberately, not a report waiting on follow-up
decisionDoes the decision still hold?accepted — the default · superseded — a later report overturned it; see 🔁 Superseding a decision

Whoever lands the follow-up work flips status in the same PR. Nothing is commented on the issue; the PR references it.

The developer portal builds its Decisions page from these fields and flags a bad filename, unknown value, reused number or dangling supersededBy: on its Overview. It blocks nothing (0025).

Superseding a decision

A reversal is a new report. The old one's sections stay as they were:

  1. The new report is filed as usual, decision: accepted.
  2. The old report's frontmatter — and only its frontmatter — changes: decision: superseded and supersededBy: <new-file>.md.