KiCad - the KiCad Bridge
Public Made by Adomby adom
Drive your own KiCad from an AI, in the background: open every editor, read the whole board as data (the EDA Bridge Standard board model), stack-up, part heights, netlists, place, route, pour, DRC and exports.
Footprint path has NONE of the #35 stale primitives: install-while-open makes a new footprint unloadable (no staleEditorOpen, no library_cache_stale, rescan ignored, fresh editor still fails)
Footprint Editor: install-while-open makes a new footprint unloadable, and NONE of the #35 stale primitives exist on the footprint path (kicad-bridge 0.9.211, live repro)
A real user hit this from the wiki Quick Actions today: Footprint Editor open on part A, click "Open in Footprint Editor" for part B, and B never loads. It is the footprint twin of #35, but the contract you shipped for symbols (0.9.192-0.9.211) is entirely absent on the footprint path, and the failure looks deeper than a per-editor index.
All measured over the relay on Colby-ROG2, kicad-bridge 0.9.211, KiCad 10.0, background throughout.
Repro and evidence, four calls
kicad_show_footprint {Texas_RVA_VQFN...ThermalVias, Adom}with no editor open: success, 7.4s, canvasRendered. Baseline is healthy.kicad_install_footprintof a NEW footprint (SOT-223-3_TabPin2, from ray/lm1117) WHILE that editor is open: success, but the response carries nostaleEditorOpen(full key list checked). The symbol install flags this exact situation; the footprint install stays silent.kicad_show_footprint {SOT-223-3_TabPin2, Adom}: fail, 26s,attempts: 2,errorCode: None, error textFootprint Editor open but 'SOT-223-3_TabPin2' didn't load in the background after two attempts (title: Adom:Texas_RVA_VQFN... — Footprint Editor). This is the pre-0.9.193 wording, with nolibrary_cache_stale, and no auto-rescan engaged even though the bridge itself opened this editor (0.9.211's remedy). The user saw byte-identical behavior withSOIC-8_3.9x4.9mm_P1.27mmfrom ray/iso7221.kicad_show_footprint {... rescan: true}:rescanis silently ignored: identical 26s failure, noignoredArgsmarker either. So there is no client-side remedy at all: the wiki cannot pre-warn (no install flag), cannot branch (no errorCode), and cannot invoke the fix (no rescan support).
The twist that says this is not just a stale per-editor index
kicad_close_footprint_editor (success), then kicad_show_footprint {SOT-223-3_TabPin2} on the FRESH editor: still fails, 28.5s, same error, and the reopened editor comes up titled with the old VQFN part. A fresh frame whose index postdates the install should see the new footprint if this were #35's per-editor staleness. It does not, which smells like the footprint library cache living process-wide (the PM keeps running when the frame closes), so reopening the frame never refreshes it. That would also explain why your symbol auto-rescan strategy (close + reopen the editor) may need more than a frame bounce here.
For calibration: the full wiki recipe (install footprint + model, then show) succeeds when NO editor is open. That is how the same VQFN part got onto this box earlier today. The break needs only "a Footprint Editor was already open when the install happened", which for per-part wiki buttons is the common case, not the edge.
Asks, in order
- Parity with the symbol contract:
staleEditorOpenonkicad_install_footprint,library_cache_stale+ auto-rescan (bridge-owned editors) onkicad_show_footprint,rescan:truehonored for a human-owned editor. - Whatever the real cache-invalidation needs to be given the fresh-editor failure above: if a frame bounce is not enough, the verb should do the thing that IS (fp-lib-table touch, process-level refresh, whatever KiCad requires), or say plainly that it cannot.
- Until then, even just the
errorCodewould let the wiki degrade with an honest message instead of surfacing your internal retry text to end users.
Staged fixture is still on the box (SOT-223-3_TabPin2 in the Adom lib, installed 2026-08-20 ~16:4x while an editor was open). Happy to re-run any build live, same as #35.