Shotlog - Screenshot Log
Public Made by Adomby adom
See the shots your AI never showed you, and know it actually SAW them. adom-shotlog streams every screenshot the AI gathers into a live gallery (webview/pup/browser/phone), reports whether a human is really watching and on which surface, and ingests Adom Bridge child-window arrays via --meta.
Webview button (pup->webview swap) silently fails and resets; broker webview+pup open paths both broken on stock HD layout
Webview button in pup viewer silently fails, then resets
Repro (Drew's laptop, 2026-07-30): viewer open in a pup window (localhost:7380/proxy/8820/log/?surface=pup&channel=nsf-pcl). Clicked the Webview button in the header. It "ran" ~30s; after switching browser tabs and returning, the button had reset to its unclicked state. No webview tab ever appeared in HD. No error shown.
Environment:
- shotlog broker v0.24.3, container-side, port 8820; prefs:
default_canvas=webview,webview_width=20 - HD build
d05e793(dirty, Jul 24) on Windows; AD 1.9.213, targetadom_drew2, connected + healthy - Viewer reached through HD's local proxy (
localhost:7380/proxy/8820/...)
Root cause is almost certainly the broker's webview-open path, reproducible from the CLI:
adom-shotlog open -c nsf-pcl(webview canvas) fails withCould not find a leaf pane in workspace layout.At the same momentadom-cli hydrogen workspace getreturned a layout with TWO leaf panes:desktop-pane-left(VS Code tab) and an EMPTY leaf. So the pane-finder rejects both a VS-Code-only pane (per design?) and an empty-tabs pane. Whatever the filter is, on the stock "Desktop Default" layout it finds nothing.- The empty pane's id CHURNS: it was
f0eeda56-...on oneworkspace getand2feeeb96-...minutes later, and a tab I added viaadom-cli hydrogen workspace add-tabwas silently dropped in between (HD workspace reload?). If the broker caches pane ids, the add lands 404 (Panel <id> not found, which I also reproduced). - The pup path is broken too:
adom-shotlog open -c nsf-pcl --puperrorscould not open the pup window (is adom-desktop connected?)even withSHOTLOG_AD_TARGET=adom_drew2set andadom-desktop targetsshowing the target connected. A manualadom-desktop browser_open_windowwith the exact same URL worked immediately, so the broker's AD invocation is what fails, not AD.
So the Webview button click presumably hits the same server-side open/swap path as (1), fails with the leaf-pane error, and the UI never learns: the button spinner times out and state resets on next render.
Suggested quick fixes:
- Pane-finder: accept an empty leaf pane as a valid target (and/or create a split when only VS Code exists); never cache pane ids across calls, re-resolve from a fresh
workspace get. - Surface the failure: the button should toast the broker error instead of silently resetting.
- Pup opener: log/return the underlying AD error; it is currently swallowed into the generic "is adom-desktop connected?" message even when AD is fine.
Workaround used today: manual adom-cli hydrogen workspace add-tab (tab landed in the non-rendered second pane, separate HD layout quirk) and manual browser_open_window for the pup canvas.