@@ -4,43 +4,48 @@ Reproducible terminal demos for README **`demos/demo.gif`** and optional launch
44
55## Quick start (repo root)
66
7+ Use ** bash** (avoids zsh quirks with pasted ` # ` comments):
8+
79``` bash
810brew install vhs ffmpeg
9- ./demos/vhs/render .sh # README GIF (default)
10- ./demos/vhs/render .sh --doctor # preflight only
11- ./demos/vhs/render .sh --all # demos/vhs/out/*.mp4
11+ bash scripts/render_launch_demos .sh --doctor
12+ bash scripts/render_launch_demos .sh
13+ bash scripts/render_launch_demos .sh --all
1214```
1315
14- ` render.sh ` runs ` doctor.sh ` , fixes execute bits on ` demos/vhs/bin/*.sh ` , then records.
16+ Or:
17+
18+ ``` bash
19+ ./demos/vhs/render.sh --doctor
20+ ./demos/vhs/render.sh
21+ ./demos/vhs/render.sh --all
22+ ```
23+
24+ Run ** one command per line** . Do not paste trailing shell comments on the same line.
1525
1626## Common failure: theme does not exist
1727
18- VHS cannot load ` Set Theme demos/vhs/theme.json ` reliably. All tapes use ** ` Set Theme "Catppuccin Mocha" ` ** instead .
28+ Use ** ` Set Theme "Catppuccin Mocha" ` ** in ` .tape ` files (not ` theme.json ` paths) .
1929
2030## Outputs
2131
2232| Command | Output |
2333| ---------| --------|
24- | ` ./demos/vhs/ render.sh` | ` demos/demo.gif ` (~ 30s) |
25- | ` ./demos/vhs/ render.sh --all` | ` demos/vhs/out/01-install.mp4 ` ... ` 04-ship-gate.mp4 ` |
34+ | ` render.sh ` (default) | ` demos/demo.gif ` (~ 30s) |
35+ | ` render.sh --all ` | ` demos/vhs/out/01-install.mp4 ` ... ` 04-ship-gate.mp4 ` |
2636
27- After re-rendering the GIF, sync to graphtheory.xyz :
37+ After re-rendering the GIF:
2838
2939``` bash
30- ../codegraphtheory.github.io/scripts/sync_demo_gifs.sh
40+ bash ../codegraphtheory.github.io/scripts/sync_demo_gifs.sh
3141```
3242
33- ## What is real vs staged
34-
35- | Beat | Real? |
36- | ------| --------|
37- | Council plan | Yes (` team_coordinator.py ` , no API) |
38- | Swarm progress | ** Staged** (` scripts/demo_vhs_apply_fixture.py ` ) |
39- | ` swarm_watch ` UI | Yes |
40- | Ship-gate pytest | Yes (` tests/test_swarm_progress.py ` ) |
41-
42- ## Bin scripts
43+ ## Bin scripts (called from tapes)
4344
44- ` demos/vhs/bin/show-team-plan.sh ` and ` animate-swarm.sh ` source ` demos/vhs/env.sh ` themselves. Tapes invoke them with ` bash demos/vhs/bin/... ` from repo root.
45+ | Script | Purpose |
46+ | --------| ---------|
47+ | ` bin/show-team-plan.sh ` | Council plan JSON |
48+ | ` bin/animate-swarm.sh ` | Staged swarm_watch replay |
49+ | ` bin/run-ship-gate-pytest.sh ` | ` pytest tests/test_swarm_progress.py ` |
4550
4651See also: [ docs/demo-vhs.md] ( ../../docs/demo-vhs.md ) .
0 commit comments