ADR-0012 — Tiered packaging: Compose (self-host) + Helm (K8s/SaaS)

V1 Freeze (2026-06-12): Accepted (tiered). lite and standard tiers (Docker Compose) are V1. The full tier (OpenSearch + extracted workers) and Helm/K8s SaaS packaging are deferred to P3/P4.

Context

BitVault must be self-hostable (developer/small team, minimal ops) and SaaS-capable on Kubernetes — from one codebase (G6). These pull in opposite directions: self-host wants few moving parts; SaaS wants horizontal scale and the full async plane. The brief’s six stateful dependencies would be an adoption killer for self-host (Ledger). Three “deployment models” (self-host, SaaS, multi-tenant) must not become three codebases.

Decision

One artifact, two packagings, three dependency tiers.

Consequences

Positive

Negative / costs

Alternatives considered