by adom
Publish molecule sources to the Adom wiki (STEP, board, schematic, <slug>-fab.zip, export.json); the wiki's 3D model registry builds the GLB, footprint and symbol. Checks the bundle the way the registry does, publishes private, waits for the build, sets the hero from the built model, then makes the page public. Board mode still converts plain boards. Also writes APM render assets and component dependencies. Companion to adom-wiki model import.
Dependency gate has no pending state, plan ignores the schematic's MPNs, and the first publish needs a hero
Dependency gate has no pending state, plan ignores the schematic's MPNs, and the first publish needs a hero
Seen publishing adom/am32-esc-2s6s-molecule (molecule-publish 3.0.0, 2026-11-03).
1. A pending component page fails the gate. The completion checklist says "every referenced component page exists (Stage 2.6), or is flagged pending with what it needs". component_graph.py gate has no pending state, though. Here the board's six NTMFS5C410NLT1G MOSFETs have no wiki page yet: the page is held for a person's footprint review (part request 1240). So the gate fails with "6 electrical part(s) are NOT covered by any dependency", although the other 53 parts resolve to 16 existing pages. The options left are:
- publish anyway against "GATE FAILED - do not publish";
- create a second, unreviewed page for the part, which goes around the review;
--allow-no-components, which says something false about this board.
Suggested: a plan status pending with a required reason and reference, for example {"status": "pending", "why": "page in footprint review", "ref": "part request 1240"}. The gate would then pass with a warning that names it, and fail again once the page exists and the dependency is still missing.
2. plan reads MPNs only from the board's footprint fields. plan <board> --sch <schematic> accepts --sch, but parse_bom reads only the board. A KiCad board whose footprints lack the MPN field flags every passive as "value string ... is a property", while the schematic beside it carries the real MPNs. KiCad's own parity check reports exactly this ("Missing symbol field 'MPN' in footprint"), and it happens whenever the board was never updated from the schematic after the MPN fields were added. Suggested: when --sch is given, take the MPN by reference from the schematic's symbols, and say which source each MPN came from.
Here the MPNs were filled into the plan by hand from the run's Mouser BOM, by reference.
3. The hero is required on the first package publish of an existing private page. Stage 2 says "No hero block: ... a component package publishes without one (the hero is required only when the page goes public)". adom-wiki pkg publish --private --wait (adom-wiki 1.8.9) on this private page was refused with HERO_REQUIRED ("a hero is required: every package needs a hero"). The page had been created earlier with page create and so had only a billboard and no package version. A plain 16:10 hero.path image in package.json got it through; Stage 4 then replaces it. Either the skill or the server rule should change, so that a first molecule publish does not need a hero before the model exists.