<aside> 🧭

Current architecture (updated 2026-11-01). The sections below are the original client-only plan, kept for history; where they conflict, this callout and the repo ADRs win. The canonical decision log is the Architecture Decision Records page, mirroring docs/adr/ in the repo.

<aside> 🔒

MVP 1 scope, LOCKED (decided by Morgan, 2026-10-31)

MVP 1 decodes ONE pasted job posting and explains THE JOB. It never asks the person anything about themselves and gives no candidate-specific advice. This section governs: where any requirement or priority below conflicts with it, this wins. The matching record is ADR-0005 in the repo.

In MVP 1 (about the job): resolve the title to a job function, handling ambiguous and not-covered honestly; the three hat sets; match score and title-honesty verdict; over-scope and under-scope flags; plain-language meaning per hat; role-generic resume highlights, hidden hats first, then matched, then non-standard (ADR-0024); all relevant evidence quotes for every claim (the complete breakdown per hat, not just one example); resume and application prep including role-generic interview points (ADR-0024); no account, session-only state (ADR-0011).

Not in MVP 1 (deferred, not dropped): anything about the candidate (personal fit, go / stretch / no-go for the person, gaps to close first, compare to the seeker's level, "which skills I already have") since MVP 1 collects no experience; a true seniority read (needs a seniority model); a shortlist or comparison of several postings (one at a time in MVP 1); interview practice, feedback, and generated question lists (FR-11 and the interview item in build Phase 3 below). Role-generic interview points and cover letter points moved into MVP 1 on 2026-11-01 (ADR-0024).

Note on NFR-1 below: MVP 1 now sends the pasted posting to our server and to an AI service (OpenRouter). The earlier "nothing leaves the device" wording is superseded; this is a three-tier app, and the matching approach and hosting will be recorded in their own ADRs that supersede ADR-0001 and ADR-0004.

</aside>

Product: Hat Check · Prepared for: engineering / coding agent + ADR authoring · Date: October 2026 · Scope: MVP #1, client-only web app, job-seeker audience, roles the Skills & Practices Framework currently covers.

<aside> ⚠️

Decision (October 31, 2026): interview prep is Phase 2, not MVP #1. FR-11 and the interview-prep item in build Phase 3 below are kept as written in the source, but are out of MVP #1 scope. Amended 2026-11-01: role-generic interview points and cover letter points are now in MVP 1 (ADR-0024, T16); practice, feedback, and generated question lists stay Phase 2.

</aside>

1. Context & scope

Hat Check decodes a single job description against a standard baseline for the role, drawn from Tech Fleet's Skills & Practices Framework. The engine ("Hat Check") maps the posting's duties ("hats") to the framework, compares them to what the title should require, and returns: a match percentage, the written / unwritten / out-of-scope hats, evidence quoted from the posting, and resume + interview guidance.

In scope (MVP #1): one JD + title at a time; the framework's current role coverage (digital-product/tech roles, ~11 Job Functions, ~18 Duties); client-only execution; no accounts; local persistence.

Out of scope (MVP #1): accounts/auth, server-side user data, mock-interview practice with feedback, salary benchmarking, multi-JD comparison dashboards, roles the framework does not yet cover, seniority scoring.

The Hat Check pipeline

  1. Input: user provides JD text and the job title.
  2. Parse: extract the posting's stated responsibilities, activities, skills, tools.
  3. Title resolution: map the user's title to a framework Job Function (synonym translation across companies).
  4. Vocabulary normalization: translate the JD's terms and jargon to the framework's vocabulary (skills, activities, duties).
  5. Hat matching: match the JD's activities/tasks to framework tasks → their parent Duties (hats).
  6. Hat classification: produce three sets:
  7. Match score: how closely the JD matches the title's standard baseline.
  8. Evidence: quote all the relevant JD lines that justify each hat (the complete breakdown, not a single example), and name what's implied or left unsaid.
  9. Outputs: breakdown view + resume highlights (skills/tools/tasks/deliverables per hat) + interview questions + prep strategy.

2. Architecture overview