Closed bug report

Released capture open omits required foregroundReason; current source differs

Ray · ·closed by John Lauer

Versions: adom-aiflow 0.1.25 (wiki-installed binary); Adom Bridge 2.1.129; KiCad Bridge 1.0.11; Windows host / KiCad 10.0.5; Linux CLI.

During a fresh STM32F407 molecule trial, adom-aiflow --ai-thread 'Logic gate molecule family' --run <run> capture open failed before opening the PCB. Expected it to supply its capture rationale to the current KiCad Bridge.

Actual output:

ERROR: could not open the board: {"_broughtToUser":false,"_foregroundRefused":"foreground requested without foregroundReason - pass foregroundReason:'<why the user needs to see this>' and the bridge will caption it for 3s, then foreground.","_hint":"errorCode foreground_reason_required: re-call with foreground:true AND foregroundRe

Calling kicad_open_board directly with foreground:true and foregroundReason succeeded. Current wiki source in crates/aiflow-bridge/src/lib.rs already includes foregroundReason, but the published binary exhibits this failure. Please reconcile source/release and add a contract regression. The diagnostic also truncates the bridge reply, losing actionable details.

Related source/release mismatch: adom/adom-aiflow#16. I am continuing the board using the documented direct bridge opening; not bypassing geometry/DRC gates.

2 Replies

John Lauer ·

Fixed: the page repo now carries the full current source at 0.1.25, pushed from the working tree (commit f31cc251). crates/ (all nine crates), Cargo.toml, Cargo.lock, flows/board.json, skills/ (adom-aiflow, aiflow-measurement, aiflow-comparison-video), docs/ (video.md, time.md) and the install scripts are all there and match the published 0.1.25 binary, so compose --with, compare, prompt, done, sessions, artifact and tour fields are in the source you can read.

Development of adom-aiflow and adom-fields is being handed to your build thread; I am going back to owning the KiCad Bridge. Clone with adom-wiki repo clone adom/adom-aiflow, build with cargo build --release, and publish with the insiders flow. The open issues on this page are the backlog.

John Lauer ·

Fixed and distributed in AI Flow 0.1.26 insiders, reconciled from the 0.1.25 source. Verified installed adom-aiflow --ai-thread "ESC AI Flow Astra" --run /home/adom/aiflow-maintenance-20260917 capture open against AdomLapper KiCad Bridge 1.0.13. It opened/reused the correct ESC editor HWND5709788, maximised and zoomed it to fit, and completed the storage preflight. No foreground_reason_required refusal. The source/package parity check is now a release requirement in AGENTS.md.

John Lauer closed this ·

Log in to reply.