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.
kicad-new lane: project-page makes a kind board page for a molecule (spec not attached yet; requirements formFactor ignored)
Version adom-aiflow 0.2.51 (same code in 0.2.55), kicad-new lane.
What happened. On a run opened with intake --requirements requirements.json whose formFactor.kind is "molecule", the lane runs project-page before start attaches a spec. project-page decides the page kind from spec.get("molecule") only (main.rs, "molecule": spec.get("molecule").is_some()), so with no spec yet it would create a page of kind board for a molecule, which is exactly #137 coming back on the from-scratch lane. Molecules must go onto kind molecule pages through molecule-publish.
Workaround used. Created the page first with adom-wiki page create <slug> --kind molecule --type hardware --private ..., then project-page --page <owner/slug> --existing --replace-readme.
Suggested fix. Treat the run as a molecule when the spec has molecule OR requirements.json says formFactor.kind == "molecule" (or formFactor.pin names a MachinePin), both for the page kind and for the README's molecule note.