Architecture
BitVault is designed as a modular monolith first (ADR-0001): all logic ships in a single bitvaultd binary in v1, with hard module seams that make future service extraction mechanical rather than speculative. Every architectural decision is evidence-driven — services are extracted only when a forcing function is demonstrated, never by anticipation.
Contents
| Document | Description |
|---|---|
| System Overview | C4 context + container diagrams, the three planes, canonical flows |
| Data Model | ER diagram, key invariants, storage strategy per layer |
| Service Boundaries | Ownership rules, per-module detail, extraction criteria |
Navigation
:::note ADR-0001 — Modular Monolith First
v1 ships as a single bitvaultd binary. The module seams are the same seams you would cut to extract services — which means extraction is a deployment change, not a rewrite. Services are created only when a specific forcing function is demonstrated (workload starvation, independent scaling, team ownership). See Service Boundaries → Extraction Forcing Functions.
:::