{
  "surface": "Web dev app, built-in Chromium preview browser",
  "viewport": {"width": 1440, "height": 1000, "deviceScaleFactor": 2},
  "theme": "light",
  "setup": [
    "Run seed.py to write the three synthetic RTF files.",
    "In each commit's separate checkout, install with vp i and start T3CODE_DEV_SEED=0 T3CODE_ENVIRONMENT_LABEL=Scenario T3CODE_ENVIRONMENT_MACHINE_KIND=laptop vp run dev.",
    "Register the fixture directory with t3 project add <fixture-directory> --title rtf-preview --base-dir .t3.",
    "Run t3 thread start <fixture-directory> Start --title 'RTF Unicode preview' --provider devReplay --model multi-turn --wait --json --base-dir .t3.",
    "Pair the browser using the startup pairing URL and navigate directly to the returned thread."
  ],
  "actions": [
    {"action": "click", "selector": "button[aria-label='Toggle thread details panel']"},
    {"action": "click", "selector": "button[aria-label='Toggle right panel']"},
    {"action": "click", "role": "button", "name": "Files F"},
    {"action": "click", "selector": "[role='treeitem'][aria-label='unicode.rtf']"},
    {"action": "waitAndCapture", "selector": "iframe[title='unicode.rtf: Page 1']", "label": "unicode"},
    {"action": "click", "selector": "[role='treeitem'][aria-label='plain-u.rtf']"},
    {"action": "waitAndCapture", "selector": "iframe[title='plain-u.rtf: Page 1']", "label": "control"},
    {"action": "click", "selector": "[role='treeitem'][aria-label='ansi-only.rtf']"},
    {"action": "waitAndCapture", "selector": "iframe[title='ansi-only.rtf: Page 1']", "label": "ansi"},
    {"action": "upload", "selector": "input[type='file'][multiple]", "file": "unicode.rtf"},
    {"action": "click", "selector": "[aria-label='File attachment, unicode.rtf, 1 KB']"},
    {"action": "waitAndCapture", "selector": "[role='dialog'] iframe", "label": "attachment"}
  ],
  "captureProcedure": "Wait for each iframe, read its srcdoc body, take two screenshots at least 500 ms apart, require zero differing pixels with ImageMagick compare -metric AE, then retain the second screenshot. Inspect every retained screenshot before upload.",
  "observedBase": ["caf?", "café", "ANSI fallback", "caf?"],
  "observedHead": ["café", "café", "ANSI fallback", "café"]
}
