Closed bug report

No hint when a molecule's sources (MP1-MP4 machine pins) go onto a page of kind board

noah · ·closed by Colby Knox

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_pcb with 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.json with the tag molecule and molecule in 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 molecule adds a board file whose census (the adom.molecule-pins/2 rule 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 tag molecule.
  • In the page create --kind help, say that molecule pages 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).

1 Reply

Colby Knox marked this in progress ·
Colby Knox ·

Fixed in adom-wiki 1.8.10. repo push, pkg publish and page create now warn MOLECULE_WRONG_KIND when a hardware page of another kind gets a board with two or more of MP1 to MP4, a molecule tag, or (on create) a slug containing molecule. The --kind help explains molecule pages and points to molecule-publish.

Colby Knox closed this ·

Log in to reply.