Repository navigation
Conversation
…e, open questions Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
Media core (probe/trim/concat/transcode/audio-mix over ffmpeg), Timeline schema + validator, pure compiler to dry-runnable Render plans, headless- Chromium render harness (Canvas Scene Scripts + offline Web Audio -> WAV), deliverable verifiers, and the kaaro-vid CLI (probe/new/render/verify/scene). 21 new tests incl. a full e2e render that passes all verifiers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
…ne sample Phase 5: kaaro-vid beats <library-id> converts an intelligence brief's story beats into a Timeline of beat-card generator clips (cluster-accent visuals, tension-pitched Web Audio drone, narration reveal). Phase 4 progress: session traces with per-step timings and a golden flag stamped by verify, plus the /vid Claude Code skill encoding the probe->plan->execute->verify loop. vid/samples/ holds the v0 baseline render of library/kaaro-viewer.json (102s, 6/6 verifiers, golden trace) with a progression log for tracking improvement across pipeline versions. 198 tests pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
vid/tts.mjs: pluggable narration providers (piper neural > KAARO_TTS_CMD cloud hook > espeak-ng fallback); beats --narrate synthesizes VO per card, drives card durations from measured WAV length, and lays VO on an audio track. Scenes rebuilt to the dataviz spec: beat cards render the beat's actual subgraph as an animated labeled constellation with caption-band narration and a segmented story progress bar; new closing stats card (2x2 stat tiles); title card with constellation ring and tracked-in wordmark. Cluster accents come from a 7-hue palette validated for lightness band, chroma, CVD separation, and contrast on the dark surface. 204 tests pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
340.8s 720p deliverable, 6/6 verifiers, golden trace. Committed artifacts switch to timeline + trace + 640x360 preview re-encode; full renders are reproducible from the logged commands and no longer versioned. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
…eets vid/CTDD.md brings the house cognitive-TDD format to the video surface: five CT-V tests (title, constellation, captions, stats, whole-film arc) each anchored to an embedded artifact and guarded by automation. vid/visual.mjs adds SSIM compare + contact sheets over ffmpeg (no new deps); vid/visual.test.mjs locks a deterministic golden frame per scene (KAARO_UPDATE_GOLDENS=1 to regenerate on purpose) plus a same-t-twice determinism check. Harness gains exact-time frameTimes stills. New CLI contract tests and verify unit tests close the untested modules; contact sheet embedded in SAMPLES.md v1. 219 tests pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
Narration is now synthesized per caption chunk: each chunk is its own measured WAV, so caption boundaries and VO placement are exact by construction; beat-card renders params.captions timings with the linear pacing kept as the silent-card fallback. Timeline gains a transition vocabulary (crossfade|dipblack into a clip); the compiler emits an xfade+acrossfade step when any transition is present, VO offsets account for the overlaps, and expectedDuration models them. New golden (beat-card-captions), transition/overlap/chunk-timing tests. 228 tests pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
343.4s 720p render of kaaro-viewer, 6/6 verifiers golden; duration matched the transition-overlap model to 0.045s. 38 per-chunk VO clips, 11 crossfades. Contact sheet + preview + trace refreshed; SAMPLES.md v2 entry. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
…wner decisions Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XsvMCLHDUkktvBEEeUvZqm
Fold Session-4L learnings into the /vid skill and README: Git sh + SAPI TTS on Windows, and the brief→timeline key_stats coercion contract. Add a unit test so object-shaped library stats cannot regress the end-card.
Contributor
Preview deployed🔗 https://karx.github.io/kaaroViewer/previews/pr-66/ Updates on every push to this PR. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vid/tool layer +/vidskill) with the Session-4L production fixes.key_statsobject→string coercion for end-card (vid/beats.mjs) and the Windows SAPI helper (vid/tts-sapi.ps1)./vidskill +vid/README.mdwith Windows preflight (Gitsh,KAARO_TTS_CMD) and a brief→timeline adapter table.key_stats.Test plan
pnpm exec vitest run vid/beats.test.mjs(9 passed, 1 skipped)pnpm teston a machine with ffmpeg (full media-core + CLI suite)pnpm vid beats <library-id> --dry-runthen--narratewith Windows SAPI env from skill Step 0Notes
D:\src\kaaroViewer-wt-updated-kaaro-vidon branchkaaro/updated-kaaro-vidkaaro/feat/vid-key-stats-normalize(PR Add video editing agent discovery doc: shared vocabulary, architecture, open questions #62 tip + Sep 7 fix), not rebased onto latest master (master is only ~2 commits ahead of the old merge-base)