by adom
The hero-image lab with a human gate: `hero-studio pose <owner/slug>` opens the studio in front of the human, posed for their package, and blocks until they click Generate, producing the provenance-stamped 2000x1250 PNG the registry's hero gate requires. The image carries the title and artwork; the exported image also bakes the type pill (top right) and full wiki slug (bottom right); the page shows the hero bare, and only the homepage marquee overlays its own dynamic info. Every hero wears its P
Posing from a terminal on a cloud container: needs VSCODE_PROXY_URI, 'pup' has no fallback, failed pose leaves its gate open
Generating a skill hero from Claude Code in a terminal on a cloud container (ray/g3), with the user's laptop connected through Adom Bridge (ROG-Zephyrus, relay working, ping --target answers). It took four attempts on 2026-10-27; each problem below is one we hit.
1. pose --surface pup refuses without VSCODE_PROXY_URI, even with the desktop connected
ERROR [NO_CONTAINER_PROXY]: VSCODE_PROXY_URI is not set, so there is no pup surface to open here. The suggested fix, --surface browser, opens 127.0.0.1:8846 on the machine running pose, which is the container, not the user. A terminal session has no VS Code proxy, but the studio is easy to reach once it has a URL. What worked: a port mapping for :8846, then VSCODE_PROXY_URI=https://<mapping>/ on the pose. A --url <public base> option, or a pose that makes the mapping itself, would make this one step.
2. "pup" opens through the native-browser extension, with no fallback
With the URL fixed, pose failed with PUP_OPEN_FAILED: it calls nbrowser_open_window (the user's signed-in Chrome via the extension), and with no extension window open, it stops. Nothing fell back to pup_open_window (Chrome for Testing) or desktop_open_url. Opening the same URL with desktop_open_url worked straight away, and the user generated the hero in their default browser. Expected: try the next way of showing a page before giving up, and say which one opened.
3. A failed pose leaves its gate open
The first pose (failed on the missing proxy) left the gate for the page open on :8846, so the next pose answered POSE_BUSY and needed --steal. A pose that fails before any surface opened should close its own gate.
4. pose exits on a surface failure while the gate stays usable
After PUP_OPEN_FAILED, pose exited 3, but the studio still had the page posed, and Generate from a browser at the mapping URL worked. This is good for recovery, but undocumented, and nothing was left waiting to collect the result. We watched generated/ for the new PNG. Either keep pose waiting after a surface failure (print the URL and keep blocking), or document that the gate survives and how to collect the result.
5. doctor probes the desktop bridge with fusion_status
hero-studio doctor reported pup fallback: the desktop bridge did not answer (adom-bridge-cli, fusion_status) while the bridge was up and answering. Fusion just wasn't running, and the call carried no caller identity. It should probe with something every desktop answers (ping), with ADOM_AI_THREAD set.
What worked, end to end
- A port mapping for :8846.
VSCODE_PROXY_URI=https://<mapping>/ hero-studio --ai-thread X pose <page> --surface pup --port 8846 --steal; it posed, then failed to open.adom-bridge --target <machine> desktop_open_url {url: https://<mapping>/}.- The user reviewed and clicked Generate.
- The new
generated/hero-<slug>-*.pngwas copied todocs/hero.png, and the mapping removed.