README
Type
External
Status
Published
Created
Jul 4, 2026
Updated
Jul 4, 2026
Source
View

Architecture Decision Records#

Architectural decisions for MagStacker (the Next.js/Bun web app), captured as they happen. See template.md for the format.

ADRTitleStatusDate
0004Ordinal column on the magazine↔firearm join for deterministic link orderaccepted2026-06-20
0007Enforce the Magpul label constraint in the domain/UX layer, not the databaseaccepted2026-07-01
0008Store magpulMode as a Better Auth additionalFields flag on useraccepted2026-07-01
0009Better Auth organization plugin for onboarding/branding; hybrid sharing over per-item grantsaccepted2026-07-01

Note on numbering. ADRs 0001–0003, 0005, and 0006 were a vendored, read-only snapshot of decisions from the original Avalonia/.NET MagStacker project. They were removed during the web re-platform because they described .NET/EF/MVVM or desktop constructs that don't exist here. 0004 is retained — its decision (the join ordinal column) still holds in the web schema. Numbers are permanent identifiers, so the gaps are intentional; new ADRs continue from the highest number.