app
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.
main
John Lauer
0.1.33: native zone refill in the gate, remote kicad-cli for containers, analyses on adopted boards, per-layer numbered Kelvin keepouts, thermal vias beside small pins; fab named generically in the docs
64820bb
7d ago
AI Flow 0.1.33
Fixes found while building the second board with AI Flow (a 12 V to 5 V, 1 A buck molecule, KiCad 10, gate run from a container through a desktop's KiCad).
- Gate: native zone refill. With a native kicad-cli,
run_drcnow runspcb drc --refill-zones, and the gate no longer adds the raster zone-fill estimate on top of it. On the buck the raster fill reported 242 phantom errors; the native refill gives 0. A stock distro kicad-cli withoutpcb drc --refill-zones(Ubuntu's KiCad 7) is no longer picked up. - Remote KiCad for containers.
adom-aiflow-kicad-cli-remote(installed with the package) implementspcb drcon a desktop's KiCad through Adom Bridge; setADOM_AIFLOW_KICAD_CLIto it. The board travels with its.kicad_proand.kicad_dru.KICAD_REMOTE_TARGETpicks the desktop. - Analyses on an adopted board.
analyze currentandanalyze thermalmerge the board's own tracks and vias into the routing plan, so a board adopted fully routed (empty plan) is analysed on its real copper instead of failing withno-copper. The failure line now lists every issue and the field screen's note. - Kelvin keepouts. Tap keepouts sit on the layer the sense segment runs on (both layers only at the tap's vias), stop short of the power pin the tap lands on, so that pin keeps its pour and heat path, and are numbered per net (KiCad Bridge refused the duplicate names).
- Thermal vias on small pins. A pin too small to hold a via gets 0.6/0.3 mm vias in the pour just outside the pad, clear of other nets, the stitch vias and the board's vias;
pourreports how many ofcountfit. The old fallback put one 0.8 mm via in the middle of a SOT-23 pad.
Acceptance: workspace tests pass; the gate, land route, land pours, measure, analyze current, analyze thermal and finish all passed on the buck board with this build.
# AI Flow 0.1.33
Fixes found while building the second board with AI Flow (a 12 V to 5 V, 1 A buck molecule, KiCad 10, gate run from a container through a desktop's KiCad).
- **Gate: native zone refill.** With a native kicad-cli, `run_drc` now runs `pcb drc --refill-zones`, and the gate no longer adds the raster zone-fill estimate on top of it. On the buck the raster fill reported 242 phantom errors; the native refill gives 0. A stock distro kicad-cli without `pcb drc --refill-zones` (Ubuntu's KiCad 7) is no longer picked up.
- **Remote KiCad for containers.** `adom-aiflow-kicad-cli-remote` (installed with the package) implements `pcb drc` on a desktop's KiCad through Adom Bridge; set `ADOM_AIFLOW_KICAD_CLI` to it. The board travels with its `.kicad_pro` and `.kicad_dru`. `KICAD_REMOTE_TARGET` picks the desktop.
- **Analyses on an adopted board.** `analyze current` and `analyze thermal` merge the board's own tracks and vias into the routing plan, so a board adopted fully routed (empty plan) is analysed on its real copper instead of failing with `no-copper`. The failure line now lists every issue and the field screen's note.
- **Kelvin keepouts.** Tap keepouts sit on the layer the sense segment runs on (both layers only at the tap's vias), stop short of the power pin the tap lands on, so that pin keeps its pour and heat path, and are numbered per net (KiCad Bridge refused the duplicate names).
- **Thermal vias on small pins.** A pin too small to hold a via gets 0.6/0.3 mm vias in the pour just outside the pad, clear of other nets, the stitch vias and the board's vias; `pour` reports how many of `count` fit. The old fallback put one 0.8 mm via in the middle of a SOT-23 pad.
Acceptance: workspace tests pass; the gate, land route, land pours, measure, analyze current, analyze thermal and finish all passed on the buck board with this build.