Architecture decision records
An ADR captures one significant decision: the context, the options, the choice and its consequences. Together they explain why the system looks the way it does. They are the most useful document I hand to a team or an architecture review board.
Each record below also has an "At bank scale" section: how the answer changes in a regulated enterprise, and what stays the same.
| # | Decision | Status |
|---|---|---|
| 001 | One VPS with Docker Compose and Traefik, not Kubernetes Run every app as a Compose project behind one Traefik reverse proxy on a single 2-vCPU server. | Accepted |
| 002 | Push-to-deploy with one locked key per app GitHub Actions deploys over SSH with a key that can run exactly one command for exactly one app. | Accepted |
| 003 | Encrypted nightly backups, stored offsite Dump every database nightly, encrypt with a public key on the server, and copy offsite; the decryption key never touches the server. | Accepted |
| 004 | End-to-end encrypted sync for a home inventory app Optional multi-device sync where the server stores only ciphertext, chosen over a simpler server-readable design because of data-protection risk. | Decided, not built |
| 005 | Local-first apps with no account by default Store user data on the device unless a feature truly needs a server; no sign-up for most apps. | Accepted |
| 006 | No third-party crash or analytics SDKs in children's apps Use the store's built-in crash reports plus an anonymous first-party error endpoint instead of Crashlytics or Sentry. | Accepted |
| 007 | Self-hosted, cookieless analytics instead of Google Analytics Run Umami on the platform so visitor data never leaves my server and no cookie banner is needed. | Accepted |
| 008 | Android apps packaged from web code with Capacitor Reuse the TypeScript web app inside a thin native shell, with native code only for billing. | Accepted |
| 009 | The AI coding agent runs with least privilege The AI agent that builds the apps runs as an unprivileged user that can change code and push, but cannot touch production directly. | Accepted |
Format: a lightly extended Michael Nygard template (context, options, decision, consequences, revisit triggers).