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.
Molecule check: renaming MP1-MP4 in place is reported as a move, and gate stops before DRC (patch attached)
Found on a hands-on run of AM32 ESC v1, 0.2.51; the code is unchanged in 0.2.54.
What happened. The start board numbered its corner pins against the molecule rule (MP1 back-left). AI Flow's own molecule check asked for MP1 front-left, so the human renamed MP1-MP4 in the schematic: same four footprints, same positions, same rotations, new designators. From then on molecule check, gate and finish report ERROR fixed references moved since the run started: MP1 (40.00, 40.00) -> (40.00, 72.00); MP2 ..., though nothing moved.
Why it matters. gate stops on that error before it runs DRC, so the run cannot record DRC at all, and spec.molecule.fixed cannot help: MP1 is always compared with the start board. The hint ("Put them back where the start board had them") would undo the rename the rule asked for.
Fix (attached, rename-fix-0.2.54.patch). When every "moved" fixed reference now sits exactly where another moved reference sat on the start board (same footprint library, position within 0.005 mm, rotation within 0.01 deg, matched one to one), report OK N fixed references renamed in place, nothing moved: MP1 is the part that was MP3; .... A rename plus any real move still errors, and the rest of the check judges the new names (MP1 front-left) as before. A new unit test corner_pins_renamed_in_place_are_not_moved covers both cases. All 358 tests pass on the 0.2.51 base; the patch applies cleanly to 0.2.54's checks.rs. With it, this board's gate ran DRC: 0 errors, 0 unconnected.