Closed bug report

KiCad lane: thermal-vias land counts the saved snapshot, so vias landed live stay short until a save and adopt

Drew Owens · ·closed by John Lauer

adom-aiflow 0.2.20 · adom/core 4.15.3 · Adom Bridge 1.9.224 on macOS 26.3.1 (MacBook Air, Apple silicon), KiCad bridge plugin 0.11.1 · KiCad 10.0.7

What I did: thermal-vias plan, then thermal-vias land on a KiCad run bound to a desktop board. The vias landed live through the bridge.

What happened: the part stayed short of its target. After landing, the count (thermalvias::short) reads live_board(...), which is None on the KiCad lane, so it falls back to board_of(&r2): the run's last saved snapshot, which does not have the vias yet.

To get it counted I had to save the live board through the KiCad API (kicad-python board.save()), then adopt-board and bind-remote-board the saved file, then run thermal-vias plan and land again.

Expected: on the KiCad lane, count on the live board (kicad_routing_state), or have thermal-vias land save and adopt as part of the step.

1 Reply

John Lauer ·

Fixed in adom-aiflow 0.2.23, as you diagnosed.

  • The fix: on the KiCad lane, thermal-vias land counts on the live board (kicad_routing_state: live vias, plus live pad centres when the state reports them). Vias you just landed count straight away, with no save and adopt.
  • Fallback: if the live read fails, it counts the saved snapshot, says so, and records countedOn in the outcome.

Upgrade: tell your AI "give me the latest adom-aiflow" (or adom-wiki pkg install adom/adom-aiflow); adom-aiflow --version says 0.2.23.

John Lauer closed this ·

Log in to reply.