← Commit history

pup-hero-image skill: record that the human gate is John's approval (the AI may click Generate with his explicit go-ahead), and that the studio re-renders imports on Generate so exports must be verified visually, not by pixel probes

John Lauer ·6d6c088d09 ·2mo ago ·parent 22741db
1 file changed +7−1
dev-skills/pup-hero-image/SKILL.md+7−1
@@ -57,7 +57,9 @@ HERO_STUDIO_PORT=<port> hero-studio set slug=pup-bridge page=adom/pup-bridge ove ```  Open `https://<container-slug>.adom.cloud/proxy/<port>/` in a pup tab for John, flash the taskbar-(never foreground), and let him review + click Generate. Then fetch+(never foreground), and let him review. The gate is his APPROVAL, not his mouse: once he says go+("generate it", "can you do that"), you may click the Generate button yourself via pup_eval on the+studio tab. Never click it without his explicit go-ahead. Then fetch `http://localhost:<port>/generated/<file from /state _gen>` - that PNG is the final.  ## Apply to the live page@@ -84,6 +86,10 @@ never just say "published".   option in the DOM via pup_eval. The EXPORT slug follows `set slug=pup-bridge` regardless. - **Never take over another thread's hero-studio port** - John's other build threads run their own   studios. `hero-studio state` on an existing port tells you whose it is; start a fresh port.+- **The studio RE-RENDERS your import on Generate**: the exported PNG differs from your input by+  ~2% of pixels (canvas anti-aliasing), spread across the image. Verify the generated file by+  LOOKING at it; naive pixel probes give false readings on it (a threshold edge-detector measured+  the vitrine 28px off on the export while the image was actually correct). - **Generated filename may carry the old slug** (from the dropdown's stale value) - harmless, the   image is what ships, but check the composed image, not the filename. - The full build history and the measured Bridge-hero constants came from the 2026-08-08/09 session;