Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Architecture Decision Records

An architecture decision record (ADR) writes down one decision that shapes the whole codebase: what was decided, when, what forced it, and what it costs. Each record here was written after the fact, in November 2026, from the repository’s own history: the commits that made the change, the rules in AGENTS.md and agents/, the cross-cutting specs in spec/, and CHANGELOG.md. Every claim of fact names the file or commit it comes from. Where the history does not record why something was chosen, the record says so instead of supplying a reason.

#DecisionDateStatus
1Write Vix in Rust2026-06-08Accepted
2Build the terminal UI on ratatui and crossterm2026-06-08Accepted
3Forbid unsafe code2026-06-09Accepted
4A Cargo workspace of focused crates under a thin App shell2026-07-10Accepted (the third layout; supersedes a single crate of modules)
5Optional capabilities as default-on Cargo features2026-10-18Accepted (reverses “wired in means always compiled”)

Format

Each record has the same parts:

  • Status: Accepted, Superseded or Reversed, with the record or commit that changed it.
  • Date: the date of the first commit that put the decision into the tree.
  • Context: what the project looked like and what pushed for a decision.
  • Decision: what was decided, in the words of the files that enforce it.
  • Consequences: what followed, good and bad, including later changes.
  • Enforced by: the files and checks that keep the decision true today.

Commit hashes are abbreviated; git show <hash> shows the full change.

Adding a record

Add a record when a change sets a rule every later change must follow, or reverses one. Number it after the last record, add it to the table above and to docs/SUMMARY.md, and cite the files and commits it rests on. Do not edit an accepted record’s Decision to describe a new one: write a new record and set the old one’s Status to Superseded.