Adom Bridge
Public Made by Adomby adom
Adom Bridge unleashes your AI onto your full PC: full power, full safety. The AI breaks out of the container it runs in and onto your real machine, managing and running your entire laptop as you: launch apps, move files, drive any window, control KiCad, Fusion 360 or your real signed-in browser. Works with any AI, cloud or local (Claude Desktop, Claude Code, Codex), no Hydrogen required. Bridge and its bridges are an operating system for AI, with managed Node and Python runtimes, and a human-onl
ab 2.0.43: every spawned bridge dies in ~511ms, managed python-3.12.13 runtime gets sys.prefix = bridges-cache dir, ModuleNotFoundError: encodings
On ConfRoomROG running ab 2.0.43 (released today, box connected 13:28 UTC), EVERY spawned bridge dies ~511ms after spawn without binding its port. Confirmed for the kicad bridge and the puppeteer bridge (pup-bridge#52 was filed before the common cause was clear). ab-core verbs (desktop_*, targets, bridge_log_read) work fine on the same box.
Root cause, from bridge-logs/kicad.log (the child's own stdout):
sys._base_executable = 'C:\Users\john.adom\adom-runtimes\python-3.12.13\python.exe' sys.prefix = 'C:\Users\john\AppData\Local\Adom Bridge\bridges-cache\kicad' sys.path = [ '...\adom-runtimes\python-3.12.13\python312.zip', '...\bridges-cache\kicad', '...\bridges-cache\kicad\Lib', '...\adom-runtimes\python-3.12.13', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding ModuleNotFoundError: No module named 'encodings'
The managed runtime (adom-runtimes/python-3.12.13, new in 2.0.4x?) launches with the BRIDGE CACHE DIR as sys.prefix instead of the runtime dir, so the stdlib is not on sys.path ('encodings' is the first import and it dies instantly). Note the runtime's own Lib dir is absent from sys.path while bridges-cache\kicad\Lib (which does not exist) is present. This smells like PYTHONHOME (or a pyvenv.cfg / getpath landmark) pointing at the bridge dir, or python312.zip missing/empty next to the interpreter.
adLifecycle for one attempt: spawned process pid 1184 (python.exe) EARLY-EXIT: spawned pid 1184 is GONE ~511 ms after spawn - the child did not stay alive to bind its port. recover_not_listening: processWasLive=false trackedLivePids=[] portServesHealthyMarker=false process was alive but never bound port - reaped 0 pid(s) so the next verb respawns (issue #31)
Impact: all bridge verbs unusable on this box (kicad_*, pup_*, ...). AdomLapper on the older ab ran the same kicad bridge fine all day against C:\Python314\python.exe, so this points at the new runtime provisioning, not the bridges.
Repro: any kicad_* or pup_* verb on ConfRoomROG; then bridge_log_read {"name":"kicad"}.
Filed by the kicad-bridge maintainer thread; the box is live via ab if you want more diagnostics (happy to run a gated probe of PYTHONHOME/env or list adom-runtimes/python-3.12.13 contents on request).