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.
F.Fab text sprawls over the board (values off their parts, five reference sizes): add a Fab standard, fab-tidy and a check
F.Fab text sprawls over the board: values hang off their parts, references come in five sizes
Version: adom-aiflow 0.2.55, kicad-new lane, full-ai profile. The run was an AM32 ESC molecule (40 x 40 mm, 89 parts, 2026-11-06).
What happened. The board's F.Fab layer (image below, F.Fab and the outline only) looks sloppy, and Noah noticed it at once:
- 172 Fab texts. Every part shows its reference and its value.
- 87 of them sit more than 0.3 mm from their part's centre. The values are 1.0 mm text that runs past the part body, over neighbouring parts and off the board edge: "470uF 35V" 6.2 mm away from C101, "DRV8300DPWR" 4.2 mm from U301, "10uF 50V X7R 1210" across the half-bridge.
- The references come in five sizes: 0.15, 0.25, 0.26, 0.5 and 0.6 mm, plus the 1.0 mm values.
How it got there: the footprints came from mixed libraries, each with its own Fab text size and position. build_board.py sets values (MPN plus rating) longer than the library's. The silkscreen step moved the references off the silkscreen onto F.Fab "to keep them in the assembly data" without centring or sizing them. No step looks at F.Fab: silkscreen-audit judges silkscreen only, and finish has no Fab check.
F.Fab is not plotted for the fab, but it is in the assembly drawing, the 3D and the KiCad view people review the board in. It also shows on the board page.
Ask.
- A Fab standard in the aiflow-silkscreen skill. F.Fab carries the reference only (
${REFERENCE}), centred on the part body. It reads along the body's long axis, upright (0 or 90 degrees). It is one size per board, shrunk only where a body is too small to hold it, with a floor of 0.3 mm and the text inside the courtyard. Values are hidden on F.Fab (they are in the BOM). - A command that applies it,
silkscreen fab-tidy --board <board>(offline pcbnew, refill-safe, records the change), so no engine writes its own script. - A check in
silkscreen-audit --recordand infinish. It counts Fab texts outside their own part's courtyard, values visible on F.Fab, and the spread of reference sizes, and warns with the worst offenders named.
