The 2026-11-07 video honestly showed scripts/verify-live.php hitting a real, disclosed production capacity limit mid-run (503 temporary_capacity) before scribase_memory_task's forget path could be captured green. That path is now fixed (previous commit) and re-confirmed live on 4 separate fresh production runs, so re-recorded demo/raw/02-verify-live.cast against a fresh run showing the full 9-step suite passing end-to-end, including store/recall/search/scope-isolation/forget and a real copy-on-write branch create+discard. Also fixed the end card's stale github.com/caelum0x URL to the real Rithub URL, and replaced the "hit a real production limit" caption with "3 real bugs found live, fixed, re-verified" to match what the new footage actually shows. Old partial-capacity-hit cast kept as a .bak rather than deleted. New video: 60.3s (was 52s), same 1920x1080 H.264 pipeline (demo/build.sh, ffmpeg-skill + asciinema/agg), no AI-generated or staged footage. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
74 lines
3.7 KiB
Bash
Executable File
74 lines
3.7 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Rebuilds demo/final/scribase-mcp-php-demo.mp4 from the real terminal
|
|
# recordings under demo/raw/*.cast.
|
|
#
|
|
# Nothing here is staged or scripted dialogue: raw/01-tests.cast and
|
|
# raw/02-verify-live.cast are asciinema recordings of `vendor/bin/phpunit`
|
|
# and `php scripts/verify-live.php` actually running against production;
|
|
# raw/03-mcp-server.cast is the real `bin/scribase-mcp-server` stdio MCP
|
|
# server actually answering a real `initialize`/`tools/list` JSON-RPC
|
|
# handshake; raw/04-code.cast is `sed` printing real source lines from
|
|
# src/ScribaseTools.php and examples/symfony-ai-agent-demo.php. Title/caption
|
|
# cards are plain generated text-on-colour, not footage.
|
|
#
|
|
# Requires: agg, ffmpeg, and the ffmpeg-skill scripts
|
|
# (~/.claude/skills/ffmpeg-skill/scripts) used below.
|
|
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
FFSKILL="${FFSKILL:-$HOME/.claude/skills/ffmpeg-skill/scripts}"
|
|
BG=0x0d1117
|
|
|
|
mkdir -p gif mp4 cards
|
|
|
|
# 1. Render each .cast to a GIF (dracula theme, idle time capped so the
|
|
# ~200s poll loop in verify-live.php doesn't bloat the video; --speed
|
|
# slows playback so on-screen text is readable).
|
|
agg --theme dracula --font-size 22 --idle-time-limit 1.5 --speed 0.7 raw/01-tests.cast gif/01-tests.gif
|
|
agg --theme dracula --font-size 22 --idle-time-limit 1.0 --speed 1.0 raw/02-verify-live.cast gif/02-verify-live.gif
|
|
agg --theme dracula --font-size 22 --idle-time-limit 1.5 --speed 0.8 raw/03-mcp-server.cast gif/03-mcp-server.gif
|
|
agg --theme dracula --font-size 22 --idle-time-limit 2.0 --speed 0.8 raw/04-code.cast gif/04-code.gif
|
|
|
|
# 2. GIF -> 1920x1080 H.264 mp4 (youtube preset handles scale/pad/colour tags).
|
|
for name in 01-tests 02-verify-live 03-mcp-server 04-code; do
|
|
python3 "$FFSKILL/export.py" "gif/$name.gif" --preset youtube --pad-color "$BG" -o "mp4/$name.mp4" --overwrite
|
|
done
|
|
|
|
# 3. Title/caption cards: solid background + centered + bottom-caption text.
|
|
make_card() {
|
|
local name="$1" duration="$2" line1="$3" line2="$4"
|
|
python3 "$FFSKILL/background.py" -o "cards/${name}_bg.mp4" --duration "$duration" --width 1920 --height 1080 --color "$BG" --overwrite
|
|
python3 "$FFSKILL/overlay.py" "cards/${name}_bg.mp4" --text "$line1" --position center --font-size 56 --font-color 0xe6edf3 -o "cards/${name}_l1.mp4" --overwrite
|
|
if [ -n "$line2" ]; then
|
|
python3 "$FFSKILL/overlay.py" "cards/${name}_l1.mp4" --text "$line2" --position bottom --margin 110 --font-size 32 --font-color 0x7d8590 -o "cards/${name}.mp4" --overwrite
|
|
else
|
|
cp "cards/${name}_l1.mp4" "cards/${name}.mp4"
|
|
fi
|
|
}
|
|
make_card "a-intro" 3 "Scribase MCP Server for PHP & Symfony" "Symfony AI & MCP Hackathon 2026"
|
|
make_card "b-tests" 3 "Real test suite" "17 tests, 37 assertions, phpunit"
|
|
make_card "c-verify" 3 "Real, live verification" "against production api.scribase.com"
|
|
make_card "d-capacity" 4 "3 real bugs found live, fixed, re-verified" "lint-invisible policy, permissive RLS, a silently-ignored confirm gate"
|
|
make_card "e-server" 3 "The real MCP stdio server" "boots, speaks JSON-RPC, lists all 5 tools"
|
|
make_card "f-code" 3 "The 5 tools as real PHP attributes" "plus the Symfony AI Agent bridge"
|
|
make_card "g-end" 4 "git.ereboslab.com/caelum0x/scribase-mcp-php" "code-complete - MIT - live-verified against production"
|
|
|
|
# 4. Join in order, hard cuts (no transition), normalised to 1920x1080@30.
|
|
python3 "$FFSKILL/join.py" \
|
|
cards/a-intro.mp4 \
|
|
cards/b-tests.mp4 \
|
|
mp4/01-tests.mp4 \
|
|
cards/c-verify.mp4 \
|
|
mp4/02-verify-live.mp4 \
|
|
cards/d-capacity.mp4 \
|
|
cards/e-server.mp4 \
|
|
mp4/03-mcp-server.mp4 \
|
|
cards/f-code.mp4 \
|
|
mp4/04-code.mp4 \
|
|
cards/g-end.mp4 \
|
|
--transition none --width 1920 --height 1080 --fps 30 \
|
|
-o scribase-mcp-php-demo.mp4 --overwrite
|
|
|
|
echo "wrote scribase-mcp-php-demo.mp4"
|