Decisions (ADRs)
Each architecture decision record says what was decided, why, and what it costs. They're numbered in the order they were made and never deleted: a changed decision gets a new ADR that supersedes the old one. How to write one: ADR 0001.
| ADR | Decision | Status |
|---|---|---|
| 0001 | Record decisions as ADRs | Accepted |
| 0002 | Stack: Hono, Preact + Signals, Vite, D1 + Drizzle on Workers | Accepted |
| 0003 | npm workspaces for the monorepo | Accepted |
| 0004 | Plain CSS custom properties, no Tailwind | Accepted |
| 0005 | Vitest + @cloudflare/vitest-plugin, Istanbul coverage | Accepted |
| 0006 | Money is integer cents | Accepted |
| 0007 | TypeScript strictness; TypeScript 6.0 for now | Accepted |
| 0008 | Squash merge, Conventional Commit titles, release-please | Accepted |
| 0009 | Actions allow list, SHA pins, image-pinned tools | Accepted |
| 0010 | Atkinson Hyperlegible Next, Dynamic Type root font, reader settings | Accepted |
| 0011 | Workers Static Assets, strict CSP proven in CI | Accepted |
| 0012 | Accessible component kit; Vitest browser mode + gallery checks | Accepted |
| 0013 | Installable PWA: manifest + icons, no service worker yet | Accepted |
| 0014 | D1 data model: CHECKed cents and dates, archive-only, computed locks | Accepted |
| 0015 | Pages, a tiny router, and one data-source module | Accepted |
| 0016 | Page view models live in core; mock scenarios are switches | Accepted |
| 0017 | History import: local one-time tool, replace by archiving | Accepted |
| 0018 | Two roles, a route access table, token sign-in with a local stub, gated clock | Accepted |
| 0019 | Nightly backup: read through the binding, encrypt in the Worker, keep by count | Accepted |
| 0021 | Public demo: the built files only, no Worker code, database or login | Accepted |
| 0020 | The Lynx Ledger page: rem breakpoint, folded columns, mock first, own Undo | Accepted |
| 0022 | The landing page: its own script-free static site, always dark | Accepted |