Adom Hydrogen
Public Made by Adomby adom
The whole Adom experience as one signed native app: your editor, your AI agent, and the full electronics design toolchain, running locally on your own machine.
Log why Hydrogen exited: one [exit] <reason> line on every self-initiated close (window ×, tray Quit, restart_now, updater apply, /app/restart, panic)
John, 2026-09-08: "do we log why ah is closed cuz that is a bit scary." Today's case was an external hard kill (adom-bridge#166: another thread's hd_launch); Hydrogen's own log just stopped mid-heartbeat. ab will write the reason into Hydrogen's log before it kills (2.1.76). This issue is Hydrogen's half: every exit Hydrogen itself performs writes ONE line, [exit] <reason>, as the last thing before it goes, so the only exit left without a line is an external kill.
Paths to cover: the window × / Alt+F4 (CloseRequested on the main window), the tray Quit, restart_now (the WSL2 restart card), the updater's apply-staged relaunch, POST /app/restart and /app/relaunch-frontend (with the caller from the control API), an unhandled panic (the panic hook already exists; make sure it lands in the log, not only stderr), and the tao teardown path. Ship it as a tiny change and verify by reading the last line of hydrogen-desktop.log after each of the five user-visible exits.