No hint when a molecule's sources (MP1-MP4 machine pins) go onto a page of kind board
No hint when a molecule's sources go onto a page of kind board
What happened (adom-wiki 1.8.9, 2026-11-03). An AI created adom/am32-esc-2s6s-molecule with page create --type hardware --kind board. It then pushed:
- a
.kicad_pcbwith MP1 to MP4 MachinePinLargeShort footprints and 11 MachineContact footprints; - the board STEP;
- a GLB it converted itself, bound to
component.parts.model_3d; - a
page.jsonwith the tagmoleculeandmoleculein the slug.
None of these writes printed a hint that this is a molecule. Nothing said that a molecule page is kind molecule, that the registry builds its model, footprint and symbol from the sources, or that publishing goes through adom/molecule-publish. The page now has buildsThisPage: false and no registry model, so Hydrogen cannot import it with attach points. The user caught it.
Suggested change
- When a write to a hardware page that is not kind
moleculeadds a board file whose census (theadom.molecule-pins/2rule the CLI's contract already carries) finds machine pins MP1 to MP4, print a hint. For example: "this board has Adom machine pins: it is a molecule. Publish it as kind molecule with adom/molecule-publish (adom-wiki pkg install adom/molecule-publish) so the registry builds its model, footprint and symbol." Print the same hint when such a page carries the tagmolecule. - In the
page create --kindhelp, say thatmoleculepages publish sources only and the registry builds the GLB, and point to molecule-publish.
Related: adom/molecule-publish#174 (auto-tag molecules and boards), adom/hydrogen-bootstrap#9 (molecule-publish missing from the bootstrap).