LM-DRIFT-003
Detect declining design-token coverage
Static token coverage drops by at least five percentage points from the comparison scan.
Fewer declarations use tokens than before
Inspect the new direct values and restore token use where the bypass was not deliberate.
Source example
What this finding can look like
The exact candidate comes from the project’s own tokens and repeated values. This example shows the shape of the issue, not a universal replacement.
.new-card { color: #1a1a1a; padding: 15px; }.new-card { color: var(--ink); padding: var(--space-4); }Resolution workflow
Fix the source without erasing intent
- Inspect
Review every reported occurrence and the established candidates Ledgermachine found in the same project.
- Decide
Inspect the new direct values and restore token use where the bypass was not deliberate.
- Verify
Make the change in your editor or coding agent, then rescan. Ledgermachine stays read-only and records whether the finding cleared.
Run it on your source
See the evidence behind this rule.
Open a folder locally, inspect the exact occurrences, and decide whether to repair or preserve the difference.
Open Ledgermachine
LEDGERMACHINE