diff --git a/demo/README.md b/demo/README.md new file mode 100644 index 0000000..44987a6 --- /dev/null +++ b/demo/README.md @@ -0,0 +1,17 @@ +# demo/ + +`paste-bin-demo.mp4` — 58 s silent demo of the arch-llm pipeline behind this +branch: signed `schema.arch` → `archllm build` → auto-emitted +`openapi.json` + generated `client.js` → the UI, then four real pastes +proved byte-for-byte against the live r3 backend. + +- 1920×1080 @ 30 fps, H.264, no audio track +- every id, byte count, and hex string on screen is real data from the + running backend (pastes `91868038152c4042`, `9aab1097cd934a01`, + `4cf7de63d0de495d`; the 404 card is the app's own pinned literal) +- QA record: [REVIEW.md](REVIEW.md) — `hyperframes check` green + (0 errors), 18 frame snapshots + per-composition seam strips verified +- source: HyperFrames project (`index.html` + `compositions/{hook,pipeline, + demo,proof,end}.html`), built with the app's own design tokens + +Wiki page: [FastAPI port (arch-llm pipeline)](https://git.home.ms/jarianc/paste-bin/wiki/FastAPI%20port%20(arch-llm%20pipeline)). diff --git a/demo/REVIEW.md b/demo/REVIEW.md new file mode 100644 index 0000000..11cc8c7 --- /dev/null +++ b/demo/REVIEW.md @@ -0,0 +1,68 @@ +# REVIEW — paste-bin demo (storyline #1) + +QA record for the 58 s silent demo. Tooling: `hyperframes check` (0.9.69) + +frame snapshots OCR-verified against the local Unlimited-OCR VLM, with +pixel-level geometry checks via PIL (the VLM's bounding boxes are approximate; +pixel measurement is the source of truth for positions). + +## check (final) + +`npx hyperframes@0.9.69 check --no-cache --no-browser-gpu --no-craft` + +| section | errors | warnings | notes | +|----------|--------|----------|-------| +| lint | 0 | 19 | all `gsap_repeated_fromto_without_baseline` + dense-track advisories on demo/proof beat fades — accepted (each beat fades out fully before the next fades in; verified in seam frames) | +| runtime | 0 | 0 | | +| layout | 0 | 0 | (earlier `content_overlap` + `escaped_container` errors fixed by giving stage wrappers real canvas coords and card-relative meta/actions) | +| motion | 0 | 0 | | +| contrast | 0 | 0 | (earlier 22 warnings fixed: faint `#5f6880` → `#82899b`, small accent text → `#eb526b`/`#ed637a`, Create button `#d13352` for 4.5:1 white) | +| audio | 0 | 0 | `audio_none` info — intended (silent demo) | + +**Check passed.** + +## Frame verification (18 snapshots, /tmp/opencode/hf-review/) + +| t | scene | verified | +|-------|---------|----------| +| 2 s | hook | composer with real 5-line content, 265 chars, toast `created · 201` + `91868038152c4042`, View card | +| 5 s | hook | toast gone (window ends 4.9 s), chip visible in Recent | +| 9 s | pipeline | title + schema.arch node, "signed spec / source of truth" | +| 12 s | pipeline | n1+n2, 51/51 + 92.5% landed on build node | +| 15 s | pipeline | chain to openapi.json + client.js chips, "deterministic · no LLM" | +| 24 s | demo a | id 91868038152c4042, verbatim CRLF content, meta `type text · 265 chars`, actions | +| 27 s | demo a→b | transition | +| 28 s | demo b | **pixel-verified**: stage bg center x = 960.0, teal 64×64 img center (959.5, 485.5), 256 px box — content correctly centered in the 936 px stage (earlier "off-center" reading was VLM bbox artifact) | +| 31 s | demo c | id 4cf7de63d0de495d, demo-paste.bin, 4,096 B, real hex head `c8 5e 3a d1 … c8 58` | +| 32 s | demo c | same (hex head exact) | +| 35 s | demo c→d | mid-fade (beat d fades in 12.95–13.25 local) | +| 37 s | demo d | id 0000…0000, "Paste not found", "it expired, or the id is wrong", 404 badge, meta `404 · { "error": "Paste not found" }`, caption | +| 42 s | proof | kicker `proof — r3 final build · 9 LLM calls · status ok`, 500, `GET /pastes/{id}/raw`, bug #1 line | +| 45 s | proof | 200 (500 gone — flip complete), 62/62 (count-up done), live-probe label + sub | +| 48 s | proof | 200, 62/62, 7, all 7 bug lines verified incl. crop-OCR of line 4 "stripped text content" | +| 49 s | proof | static hold (identical frame to 48 s — expected, no motion in window) | +| 53 s | end | "The spec is the project." + sub; chips not yet out (start 53.8 s) — correct | +| 55 s | end | all 3 chips: repo / branch fastapi-port / wiki FastAPI port (arch-llm pipeline) | + +## Seam / cut QA (per-composition --review) + +- demo seam-04 (beat a→b gap, 26.5 s): stage interior empty — 6 foreign px out of + ~100 k sampled. No ghosting; beat fade windows are disjoint by design + (a-out 4.32–4.50 / b-in 4.95–5.25 local, etc.). +- proof seam-03 (43.6 s): 200 alone, 500 fully faded, counter at 0/62 + (count-up starts 0.2 s later) — flip is clean, no double-number artifact + beyond the intended 0.3 s crossfade. +- pipeline + end beat sheets: nodes/chips settle on their own windows, no + layout jumps (layout section of check is 0 errors at all samples). + +## Known cosmetic notes (accepted) + +- VLM misreads "4,096" as "4,896" in one transcript — source frame is correct + (deterministic render of `4,096 B`); OCR-model error, not a frame defect. +- 19 advisory lint findings are the repeated fromTo baselines on beat fades + (each pair fades out→in with a gap; resting state is the faded-out baseline, + which is the correct visual). + +## Render + +`npx hyperframes@0.9.69 render` — 1920×1080 @ 30 fps, 58 s, silent, looks quality. +Output: `demo/paste-bin-demo.mp4` in the repo (`fastapi-port` branch). diff --git a/demo/paste-bin-demo.mp4 b/demo/paste-bin-demo.mp4 new file mode 100644 index 0000000..80fd036 Binary files /dev/null and b/demo/paste-bin-demo.mp4 differ