Decisions
Architectural decision records (ADRs), dated, one file per decision. Read these when you need to know why the code is shaped the way it is — the reasons rarely live in comments, and the git log rarely gives enough context.
How to use this directory
- Before changing a system: grep for the system name (e.g.,
voice,stripe,rag). If there's a recent ADR, read it — the decision usually has constraints that aren't obvious from the code alone. - Before adding a new ADR: use
_template.md. Filename isYYYY-MM-DD-<topic>.md. Include: context, options considered, what we picked, consequences (good + bad), date, and — if the decision is later reversed or refined — asuperseded-by:pointer in the frontmatter. - Never delete an ADR even if superseded. The superseded record is the evidence of why the new path was chosen.
Most-referenced decisions (start here)
2026-04-14-stripe-webhook-inbox.md— the inbox pattern that replaced inline webhook provisioning. Shipped after a silent customer-loss incident. Every new Stripe flow must conform.2026-04-14-critical-path-gate.md— the CI gate that blocks unverified merges on customer-money flows. Seeknowledge/tests/registry.yamlfor the live registry.2026-04-24-knowledge-sync-gate.md— the enforcement contract for keeping docs in sync with code (CLAUDE.md rule #16 → CI-enforced).2026-04-11-pricing-overhaul.md— the April 2026 tier restructure + annual pricing introduction.2026-04-21-multi-vertical-tenant-architecture.md— how FuneralWiseAI (and future verticals) share the platform viatenant_*tables with averticalcolumn.pro-website-decouple-2026-04-18.md— Pro Website moved from PewSearch to canonical ChurchWiseAI. Canonical plan key iscwa_pro_website;ps_pro_websitepersists only for legacy demos.
Chronological (newest first)
Full list is auto-discovered; grep / sort by filename for the date. The 17 ADRs here span March–April 2026. Each is self-contained; read only the ones relevant to your current question.
Related
- Processes — long-form process docs (some reference the ADRs that govern them)
- Architecture — system design docs (ADRs are the "why"; architecture is the "what")
DECISION_LOG.mdat repo root — rolling session-by-session journal. Short entries, high volume. This directory is the curated long-form version.