docs(evidence): record todo-8 demo-video-script evidence

This commit is contained in:
OmO Orchestrator committed 2026-11-20 14:51:39 -05:00
1 parent e4d722fdf8
commit 57371a5a92
1 file changed
+83
@@ -0,0 +1,83 @@
# Evidence - todo 8: write the demo-video script document
## Deliverable
`docs/DEMO-VIDEO-SCRIPT.md` created in this worktree (`/home/athapa/patriothacks-wt/first-place-overhaul-todo8`), committed as `fb934237d0622ff05f67f41b157edde5628c0cce`, pushed to `origin/first-place-overhaul-todo8`.
## Command 1: ffprobe the real video duration
The video file lives in the main checkout (not copied into this worktree), read-only, per the task's instructions. `ffprobe` itself is not on `$PATH` on this machine; the project vendors a static binary at `node_modules/ffprobe-static/bin/linux/x64/ffprobe` (the same one `buildComposition.mjs`'s own render command documents via `HYPERFRAMES_FFPROBE_PATH`), used here directly.
```
$ /home/athapa/patriothacks/node_modules/ffprobe-static/bin/linux/x64/ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 /home/athapa/patriothacks/e2e/openmotion/renders/full-v6.mp4
89.867000
```
Exit code: 0. Real duration: **89.867 seconds**.
## Command 2: file exists
```
$ cd /home/athapa/patriothacks-wt/first-place-overhaul-todo8 && test -f docs/DEMO-VIDEO-SCRIPT.md && echo EXISTS
EXISTS
```
## Command 3: section-count check (>=6 beats required)
```
$ cd /home/athapa/patriothacks-wt/first-place-overhaul-todo8 && grep -c '^## Beat' docs/DEMO-VIDEO-SCRIPT.md
6
```
6 `## Beat N` sections, meeting the ">=6 beats" acceptance criterion (plus one extra "Supporting beat" section for the Assembly clip, which is not counted toward the 6 but documents real on-screen content between beats 4 and 5).
## Command 4: cross-check every quoted caption against tour.mjs's TITLE_CARDS (prevent invented dialogue)
Every caption string quoted in `docs/DEMO-VIDEO-SCRIPT.md` as "verbatim" was grepped against `/home/athapa/patriothacks/e2e/openmotion/tour.mjs`:
```
$ grep -F -c "One shelter in the Hollow, tonight" tour.mjs -> 1
$ grep -F -c "Who do you trust when the water turns bad?" tour.mjs -> 1
$ grep -F -c "4,200 residents in this shelter, cut off from the surface. No server. No central login." tour.mjs -> 1
$ grep -F -c "A Crisis, Verified Twice" tour.mjs -> 2
$ grep -F -c "Bad water, blackouts and flooded tunnels hit the deep levels first. The Commons catches the water before anyone drinks it, splits what's left, and reroutes around the flood." tour.mjs -> 1
$ grep -F -c "Trust, Made Verifiable" tour.mjs -> 2
$ grep -F -c "No server underground to take on faith. Every balance re-checks its own signature - and any resident can ship a new mini-app, no gatekeeper required." tour.mjs -> 1
$ grep -F -c "Built in 36 hours" tour.mjs -> 1
$ grep -F -c "The Commons" tour.mjs -> 6
$ grep -F -c "Thirteen mini-apps, one signed wallet. One answer, more than one problem - every answer helps someone in the Hollow." tour.mjs -> 1
```
Every quoted caption string in the script resolves to >=1 match in `tour.mjs` - none are invented. Counts of 2 ("A Crisis, Verified Twice", "Trust, Made Verifiable") and 6 ("The Commons") reflect the string appearing both in `TITLE_CARDS` and in the file's own header comments describing the same beats - not a mismatch, a corroboration.
The script's one non-`tour.mjs` quote ("This is the single proof that a real, typed civic action moves a real number elsewhere in the app, with zero mocked steps.") is sourced from `DEMO.md`, attributed and cited as such in the script itself (not claimed as `tour.mjs` copy).
## Duration consistency check
`docs/DEMO-VIDEO-SCRIPT.md` states the video's total runtime as 89.9s (from the ffprobe result above) and every beat's "actual range" is derived independently from `e2e/openmotion/capture-manifest.json` (clip cut points + per-beat raw offsets) and `e2e/openmotion/assembly-manifest.json` (Assembly clip duration), laid out through `buildComposition.mjs`'s own `buildTimeline()` crossfade math (0.5s crossfade, `DATA_DUR=7.0`, `CH_DUR=2.6`, `WALL_DUR=7.0`). Summing that derivation independently lands at 89.86s total, within 0.01s of the ffprobe-measured 89.867s - confirming the document's stated runtime matches the real file (well within the required +/-5s tolerance).
## Commit and push
```
$ cd /home/athapa/patriothacks-wt/first-place-overhaul-todo8 && git add docs/DEMO-VIDEO-SCRIPT.md && git commit -m "docs: add the demo-video script (docs/DEMO-VIDEO-SCRIPT.md)"
[first-place-overhaul-todo8 fb93423] docs: add the demo-video script (docs/DEMO-VIDEO-SCRIPT.md)
1 file changed, 96 insertions(+)
create mode 100644 docs/DEMO-VIDEO-SCRIPT.md
$ git log --oneline -1
fb93423 docs: add the demo-video script (docs/DEMO-VIDEO-SCRIPT.md)
$ git push origin first-place-overhaul-todo8
remote: Create a new pull request for 'first-place-overhaul-todo8':
remote: https://git.ggrks.moe/yoyoyonono/patriothacks/pulls/new/first-place-overhaul-todo8
To git.ggrks.moe:yoyoyonono/patriothacks.git
* [new branch] first-place-overhaul-todo8 -> first-place-overhaul-todo8
```
Commit SHA: `fb934237d0622ff05f67f41b157edde5628c0cce`. Push succeeded (exit 0).
## Disclosed deviation
The six-beat timing archetype given in the task (0:00-0:08, 0:08-0:25, 0:25-1:10, 1:10-1:35, 1:35-1:50, 1:50-end) implicitly assumes a video of roughly 2 minutes; `full-v6.mp4` is only 89.9s. The script states this explicitly and reports each beat's real timestamp (compressed proportionally against the real 90s runtime) rather than forcing the illustrative minute-marks onto a shorter video. One beat (Beat 3, the honesty-anchor chain) genuinely sits earlier in the current cut (0:13-0:19) than its archetype slot (0:25-1:10) would suggest, because that workflow plays out inside the Act I footage rather than as its own later segment; this is called out as a named, flagged deviation in the script itself rather than silently relabeled, consistent with the task's "verify-first, not re-cut-by-default" framing for todo 9.
Only `docs/DEMO-VIDEO-SCRIPT.md` was committed to the feature branch. An untracked `.omo/plans/first-place-overhaul.md` was already present in this worktree on arrival (presumably staged by the orchestrating process for context) and was left untouched/uncommitted, since committing or modifying it is out of this todo's scope.