verify_token_inheritance
Audit a web component for token-inheritance defects including helix alias renames, cascade gaps under overlays, and raw color literals where tokens exist. Run before shipping or migrating across major versions.
Instructions
Audit a component for token-related defects across helix R8/R11/R14/R32 alias renames, cascade gaps under dark / high-contrast overlays, and raw color literals where tokens exist. Findings reference defect-corpus classes 01, 02, 03, 14. Use this BEFORE shipping an extending component or migrating across helix major versions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagName | Yes | Custom element tag name (e.g. "hx-button"). | |
| cssSourcePaths | No | Optional CSS source paths (relative to projectRoot). When provided, the color-literal scan runs across them. Without this, only the CEM-declared cssProperties surface is checked. | |
| overlays | No | Optional pre-computed CSS-prop key sets per theme overlay. Used by the cascade-gap check. | |
| libraryId | No | Optional library ID for multi-library workspaces (resolved by the dispatcher). |