LM-COMPONENT-002
Find visual drift from shared components
A local component’s visual signature adds or removes values compared with the shared owner of that role.
A local component differs from the shared version
Bring it back to the shared component or record why this context needs a maintained variant.
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.
function LocalButton() {
return <button className="px-[14px] rounded-[8px]" />;
}import { Button } from "@/components/Button";
<Button size="compact" />Resolution workflow
Fix the source without erasing intent
- Inspect
Review every reported occurrence and the established candidates Ledgermachine found in the same project.
- Decide
Bring it back to the shared component or record why this context needs a maintained variant.
- 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