Rule handbook metadata

Rule
DET.THEME.FONT_STACK · lane deterministic
Page status
current
page_version
98a09642577c12bdb7970e39495209846242f7cbfe29c251149f3cc71b744a95
generated_at
2026-05-25T13:41:26Z
registry_fingerprint
aef1de6082cf0f50d463783c843dee0ffb9132fbd5ed4ea6e5bb3f031f359c72

How this rule is fixed

Pilot deterministic fixer: repo_overlay · harness mode repo_overlay, live_scenario · verify expect_rule_clean.

  • Harness: fixture includes a repo overlay tree; remediate_repo_overlay() writes catalog/repo files, then applies After HTML when present.
  • Production: repo_overlay Node adapter patches the website repository (contracts, registry JSON, CSS, Python stubs).

Detection module: docs/design/ux-audit/deterministic-design-rules.md#det-theme-font_stack. Scroll down for Before / After examples and Evidence and remediation steps.

Purpose

Bootstrap page for the DET ruleset harness. Examples are minimal Kitchen Sink markup aligned with design-rules/deterministic/generated/det-theme-font-stack.check.js.

Passing signals

  • After example satisfies the rule on audit.

Failing signals

Before example

Before (failing example)

Font stack drift

Wrong display stack

Body uses non-token font-family.

After example

After (passing example)

Approved font stacks

Display uses Forge stack

Body and labels use theme token stacks only.

Evidence and remediation

Run generator/build_rule_defect_fixtures.py and auditor-tests/invoke-det-ruleset-harness.sh --only-rule DET.THEME.FONT_STACK.