docs: add ADR-106 matter data model [ADR-1179]

Story 1179Epic None3 files · +498/−0

PR #148 · pramaan-io/pramaan-docs · merged 2026-06-10

Why this matters

When provenance and live data share one column, the matter's birth certificate is lost.

STORY nine-eighty-eight

Mixed storage = no provenance, no queries, no enforcement.

The fix — Snapshot the birth, live the work, never mix the two.

How it flows

sequenceDiagram
  autonumber
  participant clerk as Clerk (template)
  participant file as Case File (junctions)
  participant register as Team Register
  clerk->>file: Snapshot template → JSON
  file->>file: Add parties, proceedings (FK)
  register->>file: Assign lead_counsel
  file->>file: Vocab evolves, old archives

Files changed (3)

File±
docs/decisions/adrs/ADR-106-matter-data-model.md ★+442
docs/decisions/adrs/ADR-REGISTRY.md ★+1
docs/decisions/adrs/adr-registry.json ★+55