AI Flow
Public Made by Adomby adom
Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board.
parts: a BOM row cannot name its component page (off-board battery adom/adom-1317 reported MISSING)
adom-aiflow 0.2.57, parts
A BOM row cannot name its wiki component page, so a part whose page slug is not derived from its MPN is reported MISSING even though the page exists.
Board: Ghost Hand rev 2 (john/ghost-hand). The battery is off-board (spec offBoard, BOM placement off-board): Adafruit 1317, MPN 1317 (that is Adafruit's and Mouser's part number). Its public component page is adom/adom-1317 (component.mpn = 1317; the same convention as adom/adom-1578 from rev 1, because a bare numeric slug is a poor page name). parts tries adom/1317 and the slug forms, then the project library, and prints:
1317 BT1 MISSING
1317: project library: not in provenance.json
What I tried: a wiki column in the BOM (adom/adom-1317 on the BT1 row) is not read. The netlist page field (the documented override, issue #157) cannot help an off-board part, which by design is not in the netlist.
Workaround used: a project-library entry for 1317 carrying the page's STEP, a zero-pad off-board footprint and a symbol, with the page named in provenance.json.
Suggestion: read a wiki (or page) column on BOM rows as the same override the netlist page field gives, and/or search pages by component.mpn (the page's own declaration) when the slug forms miss. A test: a BOM row with MPN 1317 and wiki = adom/adom-1317 resolves to that page.