← Vault Index
Source: frameworks/kit-case-study/04-case-study-quality.md

04 — QUALITY: Case Study Kit

Pass threshold: 90 / 100 on the weighted scorecard, AND all binary gates pass. When to run: After every Mode 1 production, before delivering the three files. Run on each artifact (V1 HTML, V2 HTML, delivery MD) and on the kit's coherence as a set.


Gate 1 — Binary Pre-Build Gate (must pass before scoring begins)

These are blocking. If any fails, halt; do not score the artifacts.

#CheckPass If
1Profession type set to a valid valueOne of: cpa, ea, cfp, ria, insurance, attorney, general
2Extraction has zero [NOT SET] valuesEvery required field has a sourced value
3CTA destination URL providedNon-empty, valid URL
4Convertri hosting flag set explicitlytrue or false, not blank
5Brand source confirmedPractice owner's design system extracted, OR AOS defaults explicitly chosen
6Story count matches extraction contentIf extraction has N stories, output has N cards
7All numbers reconcile across extraction sectionsSavings amount in card header matches Results Grid; no contradiction
8Disclaimer template selectedMatches profession type per 02-case-study-terminology.md

If any of Gate 1 fails: surface the gap, halt production, do not score, do not deliver.


Gate 2 — Convertri Compliance (binary pass/fail, applies when Convertri = true)

Convertri violations break the page on their hosting platform — these are not "lose 3 points" issues; they are blocking.

#CheckPass If
9Zero var(-- instances in V1 HTMLEvery color and design token is hardcoded as a hex value
10Zero var(-- instances in V2 HTMLSame
11Zero mailto: links in V1 or V2Only the configured CTA URL is used
12Zero separate