Closed bug report

land pours: ownedZoneIds outlive a KiCad crash after the commit; every later landing refuses 'owned ID ... is not a live zone'

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: land pours. kicad_apply_zone_plan committed 13 zones (reply committed: true, DRC clean). Seconds later KiCad 10.0.7 crashed while repainting (filed separately on adom/kicad-bridge), before anything was saved.

What happened: the run kept the 13 returned item IDs in ownedZoneIds. After KiCad was restarted, those zones existed neither live nor in the saved file, and the next land pours refused:

owned ID 8d093357-4b00-4e87-8115-8e7a13801264 is not a live zone

No command drops ownership of zones that are gone, so I edited run.json by hand and wrote down why (a note file in the run directory). It happened twice, after each crash.

Expected: when an owned ID is missing from both the live board and the saved board, land pours (or a zones forget --why verb) should drop it and record that, instead of refusing every later landing.

1 Reply

John Lauer ·

Fixed in adom-aiflow 0.2.23.

  • Where the refusal comes from: "is not a live zone" is the KiCad bridge's answer, but AI Flow kept sending the dead IDs.
  • Automatic cleanup: before landing, land pours drops an owned ID only when it is missing in all three of the live board, the run's snapshot and the desktop file (pulled fresh). It records the drop as zoneOwnershipDropped, with the IDs, the time, the reason "missing live and saved after commit", and what it read.
  • By hand: zones forget --id <id> or zones forget --missing --why "..." does the same and records your reason. No more editing run.json.
  • What is never dropped: an ID that still exists live or saved. If the live read or the file pull fails, nothing is dropped and the hint points to zones forget.

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.