LEDGERMACHINE

LM-CONTAINER-002

Audit values used only in container queries

An undeclared visual value is used exclusively inside container-query states.

What Ledgermachine reports

A value appears only in a container query

Decision, not automatic repair

Promote it when it belongs to the wider system; keep it local when the component owns the decision.

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.

Flagged source
@container card (min-width: 30rem) {
  .card { gap: 18px; }
}
One possible resolution
@container card (min-width: 30rem) {
  .card { gap: var(--space-4); }
}

Resolution workflow

Fix the source without erasing intent

  1. Inspect

    Review every reported occurrence and the established candidates Ledgermachine found in the same project.

  2. Decide

    Promote it when it belongs to the wider system; keep it local when the component owns the decision.

  3. 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