{
  "surface": "Web, Chromium, Linux, 1280x800 CSS viewport, light theme",
  "setup": [
    "Start each commit with T3CODE_DEV_SEED=0 and a separate --home-dir.",
    "Run make-fixture.py with a new fixture directory; git init that directory.",
    "Use t3 project add <fixture> --title 'PNG clipboard' --base-dir <home>.",
    "Start a claudeAgent / claude-haiku-5-5 thread titled 'Inline PNG clipboard' with the prompt below.",
    "Pair the preview browser, navigate directly to the thread, and wait for the rendered HTML iframe.",
    "Install the clipboard observer below using preview_evaluate, then click the iframe image named padded using its snapshot locator."
  ],
  "prompt": "Call html_render with path images.html, title Inline PNG clipboard comparison, height 420. Do not change the file. Only render it.",
  "clipboardObserver": "(() => {window.copyProof=[];const write=navigator.clipboard.write.bind(navigator.clipboard);window.copyDone=new Promise(resolve=>{navigator.clipboard.write=async items=>{const entry={};window.copyProof.push(entry);items[0].getType('image/png').then(b=>{entry.blob={size:b.size,type:b.type}},e=>{entry.blobError=e.message});try{await write(items);entry.clipboard='copied';resolve(entry)}catch(e){entry.clipboardError=e.message;resolve(entry);throw e}}});return true})()",
  "interaction": [
    {"tool":"preview_recording_start", "arguments":{}},
    {"tool":"preview_act", "arguments":{"action":"click", "selector":"[role=\"dialog\"] img", "button":"right"}},
    {"waitMilliseconds":800},
    {"tool":"preview_act", "arguments":{"action":"click", "selector":"[role=\"menuitem\"]:has-text(\"Copy image\")"}},
    {"tool":"preview_evaluate", "arguments":{"expression":"window.copyDone"}},
    {"waitMilliseconds":500},
    {"tool":"preview_snapshot", "arguments":{"save":true}},
    {"waitMilliseconds":500},
    {"tool":"preview_snapshot", "arguments":{"save":true}},
    {"waitMilliseconds":1200},
    {"tool":"preview_recording_stop", "arguments":{}},
    {"tool":"preview_act", "arguments":{"action":"click", "selector":"button[aria-label=\"Next media\"]"}},
    {"tool":"preview_act", "arguments":{"action":"click", "selector":"[role=\"dialog\"] img", "button":"right"}},
    {"tool":"preview_act", "arguments":{"action":"click", "selector":"[role=\"menuitem\"]:has-text(\"Copy image\")"}},
    {"tool":"preview_evaluate", "arguments":{"expression":"window.copyProof"}}
  ],
  "observerNote":"The observer calls the original navigator.clipboard.write and rethrows its errors. It does not replace clipboard delivery or the app's PNG decoder."
}
