Architecture decision records¶
Each record captures one decision: the context that forced it, the options considered, and the consequences we accepted. Records are immutable once accepted; a changed decision gets a new record that amends or supersedes the old one. Proposals that precede decisions live in ../rfcs/.
| ADR | Title | Status |
|---|---|---|
| 0001 | Docker Compose first, with profiles | Accepted, amended by 0023 |
| 0002 | Local Supabase, through its CLI | Accepted, amended by 0019 |
| 0003 | The observability and gateway services | Accepted, amended by 0016 and 0028 |
| 0004 | The application template | Accepted |
| 0005 | Ports and adapters for the stack | Accepted |
| 0006 | Networks and published ports | Accepted, amended by 0044 |
| 0007 | How telemetry reaches the backends | Accepted |
| 0008 | Langfuse and its services | Accepted |
| 0009 | Local Supabase as the database adapter | Accepted, amended by 0016 |
| 0010 | The LLM gateway | Accepted, amended by 0047, 2026-10-27 and 2026-10-31 |
| 0011 | The application template, in detail | Accepted; partly superseded by 0013, 0015 and 0018, and amended by 0016, 0019 and portalr's 0086 |
| 0012 | The documentation site, and publishing it from main | Accepted, amended by 0014, 0016 and 0017 |
| 0013 | How the template pins the libraries | Superseded by 0018 |
| 0014 | One docs build | Accepted, amended by 0017 |
| 0015 | Telemetry, mirrors, shutdown and namespaces in the template | Accepted; how mirrors start amended |
| 0016 | stackr in lattice | Accepted, amended by 0018 |
| 0017 | One site for lattice | Accepted |
| 0018 | The template pins the libraries at its own commit | Accepted |
| 0019 | Access with grantr in the template | Accepted |
| 0020 | One tenant attribute, and prom-label-proxy | Accepted |
| 0021 | The bridge in the template | Accepted |
| 0022 | Row-level security in the template | Accepted |
| 0023 | OpenTofu for AWS, now | Accepted |
| 0024 | Rules from chat in the template | Accepted |
| 0025 | What the Floci spike found | Accepted |
| 0026 | The single host | Accepted |
| 0027 | The single host's backups | Accepted, amended by 0031 |
| 0028 | Local Supabase on the loopback | Accepted, amended by 0045 |
| 0029 | The AWS modules, and tier 1 | Accepted, amended by 0034 |
| 0030 | The incident experiment, and its postmortem | Accepted |
| 0031 | ClickHouse's admin, apart from Langfuse | Accepted, amended by 0044 |
| 0032 | The edge, the services, and the state host | Accepted, amended by 0034 and 0037 |
| 0033 | The combined system, proved in CI | Accepted |
| 0034 | The stack on AWS | Accepted, amended by 0035 |
| 0035 | The thin images | Accepted |
| 0036 | Tier 2, against Floci | Accepted, amended by 0037 |
| 0037 | The state host's ClickHouse backups | Accepted |
| 0038 | portalr in the template | Accepted, amended by 0042 |
| 0039 | The task trackers' recipes, their checker, and the template's question | Accepted |
| 0040 | Forms and dashboards in the template | Accepted, amended by 0041 |
| 0041 | Integrations switched per workspace in the template | Accepted |
| 0042 | A generated application as a local product: one origin, a first run, and the tailnet | Accepted, amended by portalr 0084 |
| 0043 | Native files in the template: a worker for each app, with no route out, and its editor on a loopback origin | Accepted, amended by 0046 and portalr 0084 |
| 0044 | ClickHouse, a profile of its own, and portalr's analytics users | Accepted, amended by 0048 |
| 0045 | Local Supabase only where Docker keeps it on the loopback | Accepted |
| 0046 | Native files: a relay, a slimmer worker, Blender, and the editors at the edge | Accepted |
| 0047 | An upstream gateway for the model groups | Accepted, amended by 0054 |
| 0048 | Grafana's ClickHouse data source and the adoption dashboard | Accepted, amended by 0051 and 2026-10-31 |
| 0049 | The diagrams worker: Excalidraw in headless Chromium, behind a relay | Accepted |
| 0050 | Umami, a profile for operators' journeys, on the postgres adapter | Accepted |
| 0051 | Build-time fetches, bounded and tried again | Accepted |
| 0052 | Diagrams tended every hour: the sweep, thinning and collection | Accepted |
| 0053 | Run everything together | Accepted, amended by portalr 0084 |
| 0054 | Prompt-cache breakpoints at the gateway | Accepted |
To add a record, copy lattice's ADR template to the next number and add a row above.