Architecture Decision Records¶
The index and format of Law AI's Architecture Decision Records — the decisions that amend or deviate from the constitution.
This directory contains Architecture Decision Records (ADRs) for Law AI.
ADRs are the canonical place to record decisions that deviate from or amend docs/constitution.md — particularly tech-stack changes, security model changes, or relaxations of mandatory gates. Every spec that proposes such a deviation MUST link to an ADR here (and the ADR must be merged in or before the same PR).
Format¶
- File name:
NNNN-short-kebab-title.mdwhereNNNNis a four-digit sequence (0001,0002, …). - Required sections: Status, Context, Decision, Consequences, Alternatives Considered, Supersedes / Superseded by.
- Status values:
proposed/accepted/superseded/deprecated.
Index¶
| ID | Title | Status | Constitution clauses touched |
|---|---|---|---|
| 0001 | Adopt Django backend | accepted | §2 (tech stack), §11 (mission-drift guard) |
| 0003 | Autonomy orchestrator | accepted | §10 (autonomy level), new §12 (autonomy loop invariants) |
| 0004 | Jurisprudential stance | accepted | new §13 (jurisprudential honesty); reinforces §1, §4, §5 |
| 0005 | Claude-default LLM provider chain | accepted | §1 (product-runtime LLM policy) |
| 0006 | First-party design system | proposed | §2 (drop shadcn/ui lock), §9 (docs/ui-ux.md) |
| 0007 | xAI as a sanctioned runtime provider | accepted | §1 (product-runtime LLM policy — vendor closure), §2 (tech stack) |
| 0008 | Retire the test pillar | accepted | §12 (I5 retired); amends 0003 (Pillar A removed) |
| 0009 | Git as the record for the core-schema layer | proposed | none amended; operates inside §1, §4, §5, §12 I1 |
0002 was never assigned an ADR; the sequence intentionally jumps 0001 → 0003 rather than renumbering later entries.
Spec 035 (LangChain/LangGraph promoted to core, non-optional dependencies) was evaluated against this index's own rule and does not get an ADR: it makes no constitution amendment (§2 already sanctions LangGraph/CrewAI as tech stack; langchain-core is that same framework's substrate, not a new or competing framework choice), so docs/constitution.md §1/§2 already is the durable record.