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-07-05 · 67 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.

93%
Token coverage
2549 var() refs · 200 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.
312
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/modalities/index.astro 35
  2. src/pages/modalities/lineages/psychedelic.astro 10
  3. src/pages/modalities/lineages/trauma.astro 9
  4. src/pages/modalities/lineages/attachment.astro 8
  5. src/pages/modalities/lineages/behavioral-cognitive.astro 8

Inline style=

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

Modality field coverage

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

  • m_number 150/150 · 100%
  • category 150/150 · 100%
  • subcategory_tag 16/150 · 11%
  • tldr 0/150 · 0%
  • advisory 0/150 · 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.