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.
Hands-on: capture open with screen hands-off still brings a newly launched KiCad to the front
Found while running hands-on AI Flow (PR #59 build, 0.2.44 base) with the profile "Noah's Flow" (screen: hands-off) on a real KiCad board, on Windows 11 with KiCad 10.0.4 and Adom Bridge 2.1.185.
What happened. capture open with no KiCad running launched pcbnew for the run's board. Its window came up at z-order 0, above Hydrogen, both times (hwnd 789650 and later 725320). open_board is called with may_raise false, but Windows hands a new process's first window the foreground anyway. The human's screen was taken by AI Flow even though the profile says hands-off.
Workaround used. desktop_send_to_bottom {hwnd} straight after capture open. Window capture still records the covered window (on a locked session the take comes out flat; that is separate).
Suggested fix. In hands-off mode, record the foreground window before launching. After open_board returns, if the new editor is in front, send it to the bottom (or restore the previous foreground window). Better still, launch pcbnew with SW_SHOWNOACTIVATE / STARTF_USESHOWWINDOW through the bridge. Report in the step answer what was done, so the AI does not need to.
Board: adom/am32-esc-v1 (private), run aiflow/run of 2026-11-03.