Decisions
Campfire's architectural decisions are recorded as Architecture Decision Records under docs/decisions – one file per decision, holding the context, the choice, and the trade-offs, so the reasoning survives long after the choice was made. Follow a row to read one in full. The first thirty-one were accepted together on 2026-09-15, when the skeleton was first pushed, and they are numbered in reading order rather than in the order they were drafted.
| ADR | Decision | Status |
|---|---|---|
| 001 | Record architecture decisions | Accepted |
| 002 | Organize as a single monorepo | Accepted |
| 003 | Publish the repository as open source under MIT | Accepted |
| 004 | Build on pnpm and TypeScript | Accepted |
| 005 | Pin every dependency and let new releases age | Accepted |
| 006 | Lint and format with a shared, strict toolchain | Accepted |
| 007 | Version with CalVer on a rebased history | Superseded by 034 |
| 008 | Check commits with git hooks | Accepted |
| 009 | Check and release with small GitHub Actions workflows | Accepted |
| 010 | Deliver the front-end as one web application in native shells | Accepted |
| 011 | Write every word a user reads in Swedish | Accepted |
| 012 | Run Campfire in three environments on one origin | Accepted |
| 013 | Keep the back-end services in their own repositories | Accepted |
| 014 | Build the web application on React with Vite | Accepted |
| 015 | Style the web application with plain, layered CSS | Accepted |
| 016 | Compose the web application from feature modules | Accepted – amended by 032 |
| 017 | Route and load data with TanStack Router and Query | Accepted |
| 018 | Bridge the web application and the shells with versioned messages | Accepted |
| 019 | Authenticate on the app origin through ScoutID | Accepted |
| 020 | Generate the Xcode project with XcodeGen | Accepted |
| 021 | Develop against a mock back-end | Accepted |
| 022 | Test TypeScript with Vitest | Accepted |
| 023 | Catalog the UI in Storybook | Accepted |
| 024 | Walk through the web application per module with Playwright | Accepted |
| 025 | Publish agent skills as versioned releases | Accepted |
| 026 | Publish the web application as a container image | Accepted – amended by 034 and 035 |
| 027 | Run the web beside the back-end on Scouterna's cluster | Accepted |
| 028 | Keep a software guidebook | Accepted |
| 029 | Render the guidebook with VitePress | Accepted |
| 030 | Model the architecture as C4 in Structurizr | Accepted |
| 031 | Adopt the agent-driven working process | Accepted |
| 032 | Hold the signed-in person in utils | Accepted – amends 016 |
| 033 | Recover an ended session at the query client and the gate | Accepted – amends 019 |
| 034 | Version each artifact from its own commits | Accepted – supersedes 007, amended by 038 |
| 035 | Promote the web by moving environment tags | Accepted – amends 026, amended by 038 |
| 036 | Virtualize a list that can grow to the contingent's size | Accepted |
| 037 | Draw maps on the device over OpenFreeMap's tiles | Accepted |
| 038 | Run the dev branch on dev, and every release on staging | Accepted – amends 034 and 035 |
| 039 | Read the contingent's material straight from Google Drive | Accepted |
| 040 | Read the handbook from the CMS and the FAQ from the help center | Accepted |
| 041 | Set the handbook as a PDF on the device | Accepted |
| 042 | Recover a copy its service worker left on an old build | Accepted |