LEDGERMACHINE

LM-CONTAINER-001

Find duplicate container-query breakpoints

Container-query widths are within a narrow range.

What Ledgermachine reports

Two container thresholds are very close

Decision, not automatic repair

Merge them if the component changes in the same way; keep them when separate internal layouts truly need both.

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 (min-width: 479px) { … }
@container (min-width: 480px) { … }
One possible resolution
@container (min-width: 30rem) {
  /* One component transition. */
}

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

    Merge them if the component changes in the same way; keep them when separate internal layouts truly need both.

  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