Skip to content

Commit bc728c4

Browse files
committed
refactor(verify): consolidate VHS tapes into verification directory
- Move VHS tapes from cli/recordings/tapes/ to verification/tapes/ - Update tape Output paths to verification/output/ - Update verify.just to use new paths - Remove cli/ directory and .justfiles/cli.just (now redundant) - Update verification/.gitignore to track tapes The verification pipeline now fully owns CLI recording: - Tapes live in verification/tapes/ - GIFs output to verification/output/ - MP4s convert to verification/videos/cli/
1 parent 58f6ad3 commit bc728c4

File tree

9 files changed

+11
-114
lines changed

9 files changed

+11
-114
lines changed

.justfiles/cli.just

Lines changed: 0 additions & 69 deletions
This file was deleted.

.justfiles/verify.just

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,18 @@ videos: init
112112
echo "Recording videos..."
113113

114114
# Record CLI via VHS (if tapes exist)
115-
if [[ -d cli/recordings/tapes ]]; then
115+
if [[ -d {{verify_dir}}/tapes ]]; then
116116
echo "Recording CLI videos..."
117-
for tape in cli/recordings/tapes/*.tape; do
117+
for tape in {{verify_dir}}/tapes/*.tape; do
118118
[[ -f "$tape" ]] || continue
119119
name=$(basename "$tape" .tape)
120120
echo " Recording: $name"
121121

122-
# VHS tapes have hardcoded Output paths, so run from project root
123-
# and then convert the GIF output to MP4
122+
# Run VHS - outputs GIF to verification/output/
124123
vhs "$tape" 2>/dev/null || true
125124

126-
# Convert GIF to MP4 if it exists
127-
gif_path="cli/recordings/output/${name}.gif"
125+
# Convert GIF to MP4
126+
gif_path="{{verify_dir}}/output/${name}.gif"
128127
if [[ -f "$gif_path" ]]; then
129128
ffmpeg -i "$gif_path" -movflags faststart -pix_fmt yuv420p -vf "fps=30" \
130129
"{{verify_dir}}/videos/cli/${name}.mp4" -y 2>/dev/null && \

cli/recordings/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

cli/recordings/README.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

justfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ mod web '.justfiles/web.just'
2525
# Plugin management
2626
mod plugin '.justfiles/plugin.just'
2727

28-
# CLI recording commands
29-
mod cli '.justfiles/cli.just'
30-
3128
# Verification commands
3229
mod verify '.justfiles/verify.just'
3330

verification/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Ignore all artifacts except the report
1+
# Ignore all artifacts except config, tapes, and report
22
*
33
!.gitignore
44
!report.md
55
!snapshots.json
66
!checkpoints.json
7+
!tapes/
8+
!tapes/*.tape
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# VHS tape for vibes --help command
22
# https://github.com/charmbracelet/vhs
33

4-
Output cli/recordings/output/help.gif
4+
Output verification/output/help.gif
55

66
Set FontSize 14
77
Set Width 900
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# VHS tape for vibes sessions command
22
# https://github.com/charmbracelet/vhs
33

4-
Output cli/recordings/output/sessions.gif
4+
Output verification/output/sessions.gif
55

66
Set FontSize 14
77
Set Width 900
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# VHS tape for vibes --version command
22
# https://github.com/charmbracelet/vhs
33

4-
Output cli/recordings/output/version.gif
4+
Output verification/output/version.gif
55

66
Set FontSize 14
77
Set Width 600

0 commit comments

Comments
 (0)