System health

Documented, not marketed.

Live drift and coverage metrics for the design system and data layer. Regenerated on every build — no PR can hide drift behind silence. The number is the number.

Last regenerated 2026-05-16 · 66 files scanned

Token coverage

What share of CSS color and font references cite a design system token via var() versus a literal hex code or font-family name? Higher is more conformant.

90%
Token coverage
2359 var() refs · 256 literals
0
Legacy --t-* refs remaining
Aliased to --tax-* tokens; cleanup deletes them as templates migrate.
1
Legacy font refs (Cormorant / Source Sans)
Self-hosted Newsreader / Inter / JetBrains Mono are canonical.
325
Inline style= attributes
Components ship the patterns; sweep replaces these as templates migrate.

Drift hotspots

Where the migration work is concentrated. Files appear here until they cite tokens instead of literals.

Inline hex codes

  1. src/pages/essays/the-diagnosis-problem/interactive.astro 49
  2. src/pages/modalities/index.astro 33
  3. src/pages/modalities/compare.astro 12
  4. src/pages/modalities/lineages/psychedelic.astro 10
  5. src/pages/modalities/lineages/trauma.astro 9

Inline style=

  1. src/pages/essays/the-diagnosis-problem/interactive.astro 136
  2. src/pages/modalities/index.astro 23
  3. src/pages/modalities/compare.astro 15
  4. src/pages/modalities/lineages/reichian.astro 9
  5. src/pages/modalities/lineages/behavioral-cognitive.astro 8

Modality field coverage

Schema fields populated across the 151 modality records. Some fields are author-backfilled (TL;DR, advisory) and grow over time.

  • m_number 151/151 · 100%
  • category 151/151 · 100%
  • subcategory_tag 16/151 · 11%
  • tldr 0/151 · 0%
  • advisory 0/151 · 0%

Vignette content advisories

Per A17, every vignette describing trauma, abuse, suicidality, or graphic clinical detail leads with a labelled advisory. This is editor work, not engineer work — the field exists, the audit pass remains.

  • v.advisory 0/22 · 0%

How this page works

On every build, scripts/build-system-health.mjs walks src/ and counts CSS color references, inline style attributes, legacy token references, and modality field population. The result is written to src/data/system-health.json and rendered here. The CI gate at .github/workflows/design-system-audit.yml additionally enforces that tokens.css stays in sync with docs/design-system.html; no PR can land if drift is detected.

This page is intentionally public. The friction of seeing the number is the lever that finishes the migration.