Skip to content

Architecture Decisions

Sergey Gerasimov edited this page Oct 22, 2026 · 1 revision

Architecture Decisions

The durable decision log is maintained in docs/adr/ in the repository. This page is the navigable summary.

ADR Decision Status
0001 Local-first, deterministic demo Accepted
0002 Backtrader + synthetic option chain Accepted
0003 Optional LLM with deterministic fallback Accepted
0004 README story, Wiki manual, ADR log Accepted
0005 GHCR delivery and quality gates Accepted

Why ADRs?

A README explains what the project is. An ADR explains why a significant choice was made, what it costs, and which alternatives were rejected. That matters when a future contributor asks:

  • “Why synthetic options instead of real chains?”
  • “Why local models by default?”
  • “Why both GHCR and Streamlit?”
  • “Why is the Wiki separate from the README?”

Process

  1. Copy the structure of an existing ADR.
  2. Use the next four-digit number.
  3. Include Status, Context, Decision, Consequences, and Alternatives.
  4. Add it to docs/adr/README.md.
  5. Link it from the relevant page.
  6. Run python scripts/validate_docs.py.

ADRs are append-only. Supersede a decision with a new ADR instead of rewriting history.

See Documentation Infrastructure.

Clone this wiki locally