Skip to content

Decision records

A decision record is one short Markdown file that says what we chose, what else we considered and why, and what the choice costs. Records follow MADR (Markdown Architectural Decision Records), cut down to the parts we use. They’re written for the next person, or agent, who asks “why is it like this?”, so they can find the answer without digging through pull requests and the build diary.

When to write one

Write a record for any choice that is expensive to reverse, or that people will ask “why?” about: a language or framework, where data lives, a name, an identifier that ends up on people’s devices, a URL others will share, a format in spec/, or a working rule such as how pull requests are verified. A choice that one pull request makes and the next can undo doesn’t need one.

Write it when the decision is made, in the same pull request if there is one. Use the date the decision was made, not the date the file was written.

How

  1. Copy 0000-template.md to NNNN-short-title.md, with the next free number.
  2. Fill in the front matter (title, description, status, date) and the five sections: Context and problem, Options considered, Decision, Consequences (good and bad), and More information (pull requests, issues and diary days).
  3. Keep it to 250–500 words, in plain words. Be honest about the downsides.
  4. Add a row to the index below.

The shape of a record:

---
title: "The choice, in a few words"
description: "One sentence: what we chose."
status: accepted # proposed | accepted | superseded by NNNN
date: YYYY-MM-DD
---
## Context and problem
## Options considered
## Decision
## Consequences
**Good** and **Bad**, as lists.
## More information

A record isn’t edited to change its decision. When a decision changes, write a new record, and set the old one’s status to superseded by NNNN. Status is one of proposed, accepted or superseded by NNNN.

Index

Number Title Status Date
0001 Reflex-style: no shared production code, one shared spec accepted 2026-11-18
0002 Rust for the rules engine, the game server and the web engine accepted 2026-11-18
0003 Plain Postgres, with the server verifying Apple and Google sign-in itself accepted 2026-11-18
0004 A web client running the Rust engine as WebAssembly accepted 2026-11-19
0005 Local verification as the gate while GitHub Actions is down accepted 2026-11-19
0006 Homefelt is the suite; Canasta is its first game accepted 2026-11-22
0007 One app per game, with the architecture ready for one Homefelt app accepted 2026-11-22
0008 Per-game web routes and a Homefelt home on play.homefelt.io accepted 2026-11-22
0009 Decks as data, with two-letter Spanish suit codes accepted 2026-11-24
0010 One string catalog for every platform, and codes instead of prose accepted 2026-11-24
0011 Spanish from Spain first, the web game first, and the language follows the device accepted 2026-11-24
0012 Host the game server on Fly.io and its database on Neon accepted 2026-11-25
0013 Date versions for the apps, semantic versions for the APIs accepted 2026-11-25
0014 Build purchases on StoreKit 2 and Play Billing, without RevenueCat accepted 2026-11-25
0015 One network layer per platform, one client per service accepted 2026-11-25
0016 A game id in the protocol before the first store release accepted 2026-11-25
0017 One machine until the load says otherwise, and a $25 monthly ceiling accepted 2026-11-25
0018 Guest seats from invite links, with tokens scoped to one table accepted 2026-11-26