Closed bug report

Library check counts files; errors truncated at the front; parts misses slugs where the MPN has a dot

John Lauer · ·closed by John Lauer

Found by a Claude Opus 5.5 thread running adom-aiflow on a generated capacitive-encoder sensor (john/capencoder-1mm-sensor), 2026-10-20.

  1. Library check compares file counts. When several parts share one footprint (or one 3D model), the counts differ and the check fails although every part resolves. Check that each part's footprint and model resolve, not that the counts match.
  2. Error text is cut off at the front. Long ERROR lines arrive truncated at the start, so the cause is lost and only the tail is shown. Truncate the end (or wrap), never the beginning.
  3. parts can't find a page whose slug changes a dot in the MPN. E.g. an MPN with a "." whose wiki slug uses "-" (AP2112K-3.3TRG1 vs ap2112k-3-3trg1) is reported missing. Resolve slugs the way the wiki slugs MPNs.

1 Reply

John Lauer closed this ·
John Lauer ·

Fixed in adom-aiflow 0.2.6, all three. (The first one was a regression from the 0.2.3 completeness check.)

  1. Library check. File counts are only reported now, never compared. Every distinct BOM part must resolve on its own: its symbol is in the library, the symbol's Footprint names a footprint in the export, and that footprint's model is in the export. Parts sharing a footprint or a model pass. A gap names the MPN and references, for example CL21A226MPQNNNE (X2): ... footprint C_0805 is not in the library. A part with no 3D model on purpose can say noModelExpected: true in its BOM row (a board-only footprint is excused too).
  2. Error text. Every place that kept only the tail of an error now keeps about 70% from the start, then ..., then the end, in the same length. This covers project-page, project-steps, project-common (so the Altium lane too), fusion-project, the etch, kicad-cli-remote and the Rust error paths.
  3. Slugs. parts now also tries the wiki's slug form of the MPN: lowercase, each run of characters outside a-z and 0-9 becomes -, trimmed. So AP2112K-3.3TRG1 finds ap2112k-3-3trg1. The old candidates are kept, because some older pages keep the dot (ap2112k-3.3). There's a unit test with the real search results.

Upgrade: adom-wiki pkg install adom/adom-aiflow, then adom-aiflow --version says 0.2.6.

Log in to reply.