<aside> 📘

The records of decision live in the repo at docs/adr/ (branch docs/adr-0005-mvp1-scope, not yet merged). This page mirrors them so the decisions are readable in Notion. Where an ADR supersedes or refines another, both are kept; the newer one wins. This page mirrors ADR-0001 to ADR-0039.

</aside>

Status at a glance

ADR Title Status
0001 Static SPA, no backend, local-only Superseded by 0006 / 0011
0002 Framework data layer (runtime fetch, localStorage cache) Superseded by 0006, 0011, 0022
0003 Mechanical architecture gate Accepted; extended by 0009
0004 On-device keyword/phrase matching Superseded by 0007
0005 MVP 1 scope: decode the job, not the candidate Accepted; local-save part superseded by 0011; role-generic interview points moved into MVP 2026-11-01 (T16)
0006 Three-tier architecture (Vercel + Supabase + OpenRouter) Accepted; supersedes 0001
0007 Grounded LLM matching, deterministic fallback Accepted; supersedes 0004; refined by 0010, 0014
0008 Framework data model and integrity rules Accepted; storage revised to JSONB + slices by 0022; rule 5 superseded by 0012, skills by 0017
0009 Security, resilience, quality gates Accepted; v1 defaults amended 2026-11-01 (no retry, no decode cache, cap fails closed)
0010 Framework is the source of truth; LLM recognizes wording only Accepted; refines 0007
0011 Session-only state; no saved history Accepted; supersedes local save
0012 Title maps directly to a job function; no disambiguation Accepted; supersedes rule 5 of 0008; shared titles resolved by a reviewed override list (T02)
0013 UI design system and rules (Material UI) Accepted; builds on 0006; refined by 0023
0014 Receipt, visible misses, always-on union Accepted; refines 0007, 0010
0015 Entity relationships and matching granularity Accepted; refines 0008; skills corrected by 0017; per-hat counts become a proportional score by 0039
0016 Item-to-duty resolution via RACI; "duties means activities" guard Accepted; refines 0015, 0010, 0014; roll-up narrowed to Responsible by 0021; tools drop out of hats by 0039
0017 Skills route to activities (not matched directly) Accepted; refines 0015, 0016
0018 The complete MVP 1 business logic (numbered) Accepted; consolidates; updated 2026-11-01 for 0020, 0021, 0023, 0024; steps 8-11 amended by 0039
0019 Eval harness for model selection and data-flow proof Accepted; builds on 0007; AI quotes required and baseline-first release gate (2026-11-01)
0020 Translator table (alias layer) for matching recall Accepted; builds on 0010, 0014, 0017
0021 A matched item means the poster is Responsible (roll-up) Accepted; supersedes R/A/C in 0016; edge cases amended 2026-11-01; tools no longer confer a hat by 0039
0022 Supabase JSONB + sliced snapshot data model Accepted; revises 0008 storage; slices carry skill types (0024)
0023 Show all relevant evidence per hat, not one example Accepted; builds on 0014, 0021; refines 0013; hats grouped by match level by 0039
0024 Resume and application prep, built from the hats Accepted (feature and method); ranking rules proposed; amends 0005
0025 Match against all framework items; AI-only matches need a quote and count as similar Accepted; amends 0007, 0010, 0018, 0019, 0022
0026 Concrete stack and tooling (Next 14, MUI 5, Vitest, Node 20) Accepted; pins 0006, 0013; extends the arch gate (0003, 0009)
0027 Data-tier pipeline, release sources, integrity gate Accepted; builds on 0022, 0008; one derivation shared with the eval
0028 The decode engine and the /api/decode route Accepted; builds on 0018, 0021, 0022, 0025; pure domain + thin route; screens by 0029
0029 The input and result screens Accepted; builds on 0013, 0011, 0018, 0023, 0028; grouped by match level by 0039
0030 The dependency-scan gate Accepted; builds on 0009; next/postcss waived to 2026-12-15
0031 Zero-downtime schema evolution and index safety Accepted; builds on 0022, 0027; expand-and-contract, concurrent indexes
0032 Request-path scalability (stateless snapshot reads) Accepted; builds on 0006, 0022, 0011, 0028
0033 Data-tier scalability and index discipline Accepted; builds on 0022, 0027, 0031; drops a redundant index (migration 0002)
0034 Pin GATE_REPO_ROOT on the gate discrimination-test step Accepted; CI fix; divergence from the esk-genesis workflow
0035 Decode input validation as a pure, tested domain check Accepted; builds on 0009, 0028
0036 Pin the LLM to US-based providers, data collection denied Accepted; builds on 0007, 0019
0037 Run the grounded LLM recognizer live in /api/decode Accepted; builds on 0007, 0006, 0036, 0035
0038 WCAG 2.2 AA conformance pass and focus-management pattern Accepted; builds on 0013, 0023
0039 Proportional per-hat scoring; tools excluded from hats Accepted 2026-11-04; amends 0015, 0018, 0021, 0023, 0029

The records

ADR-0001: Static SPA, no backend, local-only (Superseded by 0006)

ADR-0002: Framework data as a bundled, versioned snapshot

ADR-0003: Mechanical architecture gate

ADR-0004: On-device keyword/phrase matching (Superseded by 0007)

ADR-0005: MVP 1 scope, decode the job, not the candidate

ADR-0006: Three-tier architecture (supersedes 0001)

ADR-0007: Grounded LLM matching, deterministic fallback (supersedes 0004)

ADR-0008: Framework data model and integrity rules

ADR-0009: Security, resilience, quality gates

ADR-0010: Framework is the source of truth; the LLM recognizes wording only (refines 0007)

ADR-0011: Session-only state; no saved history (supersedes local save)

ADR-0012: Title maps directly to a job function; no disambiguation (supersedes rule 5 of 0008)

ADR-0013: UI design system and rules (builds on 0006)

ADR-0014: Receipt, visible misses, always-on union (refines 0007, 0010)

ADR-0015: Entity relationships and matching granularity (refines 0008)

ADR-0016: Item-to-duty resolution via RACI; the "duties means activities" guard (refines 0015, 0010, 0014)