Skip to content

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.

ADRDecisionStatus
001Record architecture decisionsAccepted
002Organize as a single monorepoAccepted
003Publish the repository as open source under MITAccepted
004Build on pnpm and TypeScriptAccepted
005Pin every dependency and let new releases ageAccepted
006Lint and format with a shared, strict toolchainAccepted
007Version with CalVer on a rebased historySuperseded by 034
008Check commits with git hooksAccepted
009Check and release with small GitHub Actions workflowsAccepted
010Deliver the front-end as one web application in native shellsAccepted
011Write every word a user reads in SwedishAccepted
012Run Campfire in three environments on one originAccepted
013Keep the back-end services in their own repositoriesAccepted
014Build the web application on React with ViteAccepted
015Style the web application with plain, layered CSSAccepted
016Compose the web application from feature modulesAccepted – amended by 032
017Route and load data with TanStack Router and QueryAccepted
018Bridge the web application and the shells with versioned messagesAccepted
019Authenticate on the app origin through ScoutIDAccepted
020Generate the Xcode project with XcodeGenAccepted
021Develop against a mock back-endAccepted
022Test TypeScript with VitestAccepted
023Catalog the UI in StorybookAccepted
024Walk through the web application per module with PlaywrightAccepted
025Publish agent skills as versioned releasesAccepted
026Publish the web application as a container imageAccepted – amended by 034 and 035
027Run the web beside the back-end on Scouterna's clusterAccepted
028Keep a software guidebookAccepted
029Render the guidebook with VitePressAccepted
030Model the architecture as C4 in StructurizrAccepted
031Adopt the agent-driven working processAccepted
032Hold the signed-in person in utilsAccepted – amends 016
033Recover an ended session at the query client and the gateAccepted – amends 019
034Version each artifact from its own commitsAccepted – supersedes 007, amended by 038
035Promote the web by moving environment tagsAccepted – amends 026, amended by 038
036Virtualize a list that can grow to the contingent's sizeAccepted
037Draw maps on the device over OpenFreeMap's tilesAccepted
038Run the dev branch on dev, and every release on stagingAccepted – amends 034 and 035
039Read the contingent's material straight from Google DriveAccepted
040Read the handbook from the CMS and the FAQ from the help centerAccepted
041Set the handbook as a PDF on the deviceAccepted
042Recover a copy its service worker left on an old buildAccepted