Communitygithub.com

video-visual-generate

End-to-end automated 9:16 editorial motion graphics video generator powered by a 9-Agent Animation Studio Architecture (Remotion 2D/2.5D + RoughJS + Lottie + Audio-First Millisecond Whisper Sync + Asset Scout & Verifier + Normalized SFX). Use when the user asks to create a narrative motion video, explainer short, TikTok/Reels visual story, or automated subtitle-locked Remotion animation from narration audio or brief.

What is video-visual-generate?

video-visual-generate is a Claude Code agent skill that end-to-end automated 9:16 editorial motion graphics video generator powered by a 9-Agent Animation Studio Architecture (Remotion 2D/2.5D + RoughJS + Lottie + Audio-First Millisecond Whisper Sync + Asset Scout & Verifier + Normalized SFX). Use when the user asks to create a narrative motion video, explainer short, TikTok/Reels visual story, or automated subtitle-locked Remotion animation from narration audio or brief.

Works with✓Claude Code~Codex CLI~Cursor✓Antigravity✓Gemini CLI
npx skills add https://github.com/irhamkaraman/skill-video-visual-generate-antigravity/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Video Visual Generate (9-Agent Animation Studio Architecture)

INTERNAL LANGUAGE POLICY: All internal agent directives, gates, and scripts below are in crisp English. ALL user-facing chat replies, Plan Artifact (plan.md) descriptions, subtitles, social captions (out/caption.txt), and on-screen video copy MUST strictly match the language of the user's brief and narration audio.


1. Non-Negotiable Core Guardrails

  1. Audio-First Pipeline Gate (Step 0 Runs BEFORE Planning & Pacing):

    • Strictly FORBIDDEN from estimating video duration, hardcoding 1800 frames, or drafting plan.md scene timestamps before inspecting real narration audio.
    • Step 0 (agents/subtitle-sync.md) ALWAYS executes FIRST:
      1. Hard-verify audio exists & is non-empty (ABORT IMMEDIATELY with [goal:blocked] if missing—zero silent fallback).
      2. (Optional Pacing Tightener) When tight editorial energy is desired, run <skill-root>/scripts/tighten_audio.py (auto-editor or FFmpeg RMS silenceremove) BEFORE Whisper so all cuts & timestamps lock cleanly to the tightened audio (e.g., 78s -> 64s).
      3. Probe real duration in milliseconds (audio_duration_ms) and compute total_frames = Math.ceil((audio_duration_ms / 1000 + 0.5) * 30) at fps = 30.
      4. Run <skill-root>/scripts/transcribe.py via persistent <skill-root>/.venv (.venv/Scripts/python.exe on Windows, .venv/bin/python on macOS/Linux) with word timestamps, apply TTS Artifact & Indonesian Context Phonetic Scrubber (strip gasp/breath/chuckle + fix homophones against script like "kopi, saya" -> "kok bisa ya"), and write public/subtitle.json (start_ms, end_ms, start_frame, end_frame) + .agent-runs/00-audio-master.json.
  2. Native Planning Mode (Audio-Locked 5-Section Zero-Compression Blueprint + Hard Stop):

    • After Step 0 writes .agent-runs/00-audio-master.json, the Master Orchestrator reads 00-audio-master.json FIRST and generates a rich plan.md artifact (write_file with ArtifactMetadata.RequestFeedback = true) followed by an explicit Hard Stop waiting for user approval.
    • Zero-Compression Mandate: Preserve 100% of the user's brief and anchor EVERY Scene (S1..SN) and 2–3s Micro-Visual Beat to its exact spoken trigger phrase + start_ms / start_frame & end_ms / end_frame across 5 mandatory sections:
      1. Audio Master Metrics, Narrative Script & Theme Preset (audio_duration_ms, total_frames, active brand_profile.json preset warm-paper / blueprint-engineering / clean-tech / dark, background atmosphere pattern/moods, language).
      2. Full Millisecond-Locked Beat-by-Beat Storyboard (2–3s / 60–90f) listing the mandatory 3-Second Hook (frames 0–90) Pattern Interrupt, trigger words, start_ms..end_ms, start_frame..end_frame, camera choreo, hero metaphor, non-overlapping card slots, and SFX cues.
      3. Verified Media & Custom Vector Asset Plan specifying required Iconify SVGs, SFX cues, custom macro SVGs, roughjs sketch accents, and UI mockups.
      4. Studio Motion Physics, Audio-Reactive Micro-Motion & Sound Spec mapping MotionPhysics.ts (dampedShake, anticipateSpring, organicBreath), AudioReactivePulse.tsx (@remotion/media-utils), EDITORIAL_SPRING, @remotion/paths, @remotion/shapes, @remotion/lottie, @remotion/noise, @remotion/transitions (slide() or 8–10f fade()), roughjs, and -6 dB normalized SFX (0.45–0.65).
      5. 9-Agent Studio Execution Schedule, Asset Bus, Auto-Packaging & RAM Budget (--concurrency=2, blur <= 8px, out/thumbnail.png + out/caption.txt).
  3. Zero Direct-Coding Lock & Turbo-Safe Enforcement:

    • Even in Turbo Mode or lightweight fast models, the Master Orchestrator is strictly an Architect, Dispatcher, Auditor, and Gatekeeper—NEVER directly writing scene/component/timeline/audio .tsx/.ts/.json files.
    • Adaptive Budget (Max Depth = 2):
      • Turbo / Lightweight Mode: Ultra-concise specs, max 1 dynamic child worker per Core Agent (ui-designer STILL spawns mandatory Environment & Atmosphere Worker when prompt omits background details), scene-builder in 2 parallel slices.
      • Standard / Pro Mode: Up to 2 dynamic child workers per Core Agent (Max Depth = 2—zero grandchildren) and 2–3 parallel scene-builder slices.
  4. Retention-First 3s Hook, Organic Motion Physics, Anti-Clipping & Zero Transition Drift:

    • 3-Second Hook Engine (frames 0–90): Opening 3 seconds MUST deliver a high-impact Pattern Interrupt (fast SpotlightZoom push-in, bold kinetic typography reveal, or immediate visual contrast/metaphor) synced to the opening narration beat. Slow, static, or empty intro screens are strictly forbidden (firstVisualImpactFrame <= 6).
    • Organic Motion Physics (src/components/visuals/MotionPhysics.ts): Raw, constant-amplitude Math.sin(frame) vibrations and linear pulsing are STRICTLY BANNED. Use dampedShake(), anticipateSpring(), organicBreath(), EDITORIAL_SPRING (damping: 12–15, stiffness: 180–220, mass: 0.7), 3–5f staggers, and OrganicFloat / FlowingPath.
    • Audio-Reactive Micro-Motion (AudioReactivePulse.tsx): Use @remotion/media-utils (useAudioData + visualizeAudio, numberOfSamples: 16, 3-frame smoothing) to drive subtle voice waves, speaker rings, or ambient glow intensity from real narration amplitude.
    • Crisp Scene Transitions: Prefer slide() (10f) or short 8–10 frame fade() (9f) between large hero illustrations so outgoing and incoming drawings never look muddled/stacked mid-fade.
    • Canvas & Anti-Clipping: 1080 x 1920 (9:16), 30 fps, overflow: "visible" on SVGs, clampSpotlightPan() keeping active labeled cards inside x: 40..1040px.
    • Card Mutual Exclusion & Zero Drift: Floating toast/amount banners NEVER render on top of active result cards (DataCard, ComparisonCard, StampOverlay). Compensate <TransitionSeries.Transition durationInFrames={T}> (+T on outgoing sequence or absolute <Sequence from={...}>) and bind Root.tsx durationInFrames={TOTAL_DURATION_FRAMES}.

2. Lazy-Loaded Modular Style Registry (styles/) & mascot-split-screen Mode

To avoid context bloat, agents NEVER read all theme files at once. Master checks compact styles/STYLE_INDEX.json (warm-paper, blueprint-engineering, clean-tech, dark-cinematic, swiss-motion, risograph, data-storytelling, ink-wash, pop-comic, isometric-tech), writes the chosen style into .agent-runs/project-config.json, and downstream agents lazy-read ONLY the single active styles/<id>.md file (style_file_path). Default remains warm-paper unless the user names another style. All 10 styles resolve natively in src/design_tokens.json, src/brand_profile.json, getThemeTokens(), and getCardChromeStyle() (zero silent fallback).

  • Unified 3-Slot Scene Grid (<EditorialSceneFrame />): All scenes MUST wrap inside <EditorialSceneFrame layoutMode={layoutMode} theme={theme}> (src/components/EditorialSceneFrame.tsx), enforcing deterministic 48px horizontal safe insets (984px content width inside x: 48..1032), vertical Header -> Hero -> Footer slot alignment across parallel slices, fitTextToWidth() text guards, and flow-aware DataCard / ComparisonCard / StampOverlay (flow={true} inside grid layouts).
  • Layout Modes (layout_mode inside .agent-runs/project-config.json):
    1. full-bleed (Default): Hero stage Y: 156..1320px + SUBTITLE_ZONE (1350–1500px).
    2. mascot-split-screen (Optional Mode): Triggered when the user requests mascot-split-screen or supplies mascot poses. Top 60% (48–1128px, HERO_ZONE_SPLIT) houses <EditorialSceneFrame> hero visuals/diagrams/code; bottom 40% (1150–1920px) houses WordSubtitle (1350–1500px) and audio-reactive <MascotHost /> (src/components/visuals/MascotHost.tsx, anchored safely below Y = 1516px with zero subtitle overlap and clean SVG avatar fallback).
  • Format & Frame Cap: Fixed 1080 x 1920 (9:16), 30 fps, hard Subtitle Y-Ceiling Y <= 1500px, highlightMode="pill", ZERO CSS transition: rules.
  • Contextual Atmospheric Background (EditorialBackground.tsx): Enriched by ui-designer's mandatory Environment & Atmosphere Worker child (W1-UI-01-C1) whenever background details are omitted: (1) Stop-Motion Paper Grain shifting every 4–6 frames, (2) Topic-Relevant Parallax Watermarks (4%–8% opacity: hex-matrix, topo, finance-arcs, blueprint, star-grid, editorial-dots), and (3) Mood-Reactive Ambient Glows.
  • Standardized Visual Modules (src/components/visuals/): EditorialSceneFrame, MixedHeadline (*editorial serif* inline contrast), IsometricBlock, IsometricArchitecture (2.5D SVG + @remotion/paths, zero WebGL), KineticStatCard, EditorialProgressCard, MiniTerminalBlock, BeforeAfterPill, StaggeredChecklist, BentoVisualGrid, MockDeviceFrame, FloatingCallout, RoughEditorial, FlowingPath, OrganicFloat, LottieAccent, MotionPhysics, AudioReactivePulse, CutoutStage, MascotHost.

Optional Additive Expansion: Storytelling 2.5D Cutout & Mood-Adaptive Auto-BGM

  • Storytelling 2.5D Cutouts (scripts/make_cutout.py + CutoutStage.tsx): Triggered cleanly when user briefs request Storytelling / What-If / Real-World Photo Cutouts or dark-cinematic mode. Uses rembg locked strictly to u2netp (~4.7MB CPU-safe) + Pillow white sticker border (--sticker-border 6), outputting verified type: "cutout_png" entries into .agent-runs/assets-manifest.json.
  • Mood-Adaptive Auto-BGM (scripts/prepare_bgm.py + SoundTrack.tsx): Triggered when BGM is requested or Storytelling mode is active. Uses zero-API-key sourcing (assets-cache/bgm/<mood>.* -> Internet Archive -> Wikimedia Commons -> offline Python ambient pad), applies 800ms fade-in / 1500ms fade-out + FFmpeg sidechaincompress (-20 dB..-22 dB beneath voice), exports public/assets/bgm/bgm_ducked.wav, and registers type: "bgm_audio" in assets-manifest.json.

Native Child Sub-Agent Delegation Playbook (invoke_subagent)

Parent Core Agents delegating specialized subtasks (TypeName: "self", Max Depth = 2—children NEVER spawn grandchildren) MUST emit this 4-part English specification:

  1. Briefing: Objective, active theme preset/mood, and upstream contract paths (00-audio-master.json, 01-pacing-beats.json, plan.md).
  2. Dispatch & Disjoint File Ownership: Explicit exclusive target files (e.g., Child A owns public/assets/png/cutout_*.png via make_cutout.py; Child B owns public/assets/bgm/bgm_ducked.wav via prepare_bgm.py) so concurrent children never collide.
  3. Execution Rules (Cross-Platform + Windows PowerShell 5.1): Use persistent <skill-root>/.venv/Scripts/python.exe on Windows or <skill-root>/.venv/bin/python on macOS/Linux, lock rembg to u2netp, ban && and multiline -e "..." on PowerShell 5.1, check if ($LASTEXITCODE -ne 0) on Windows (or set -e on POSIX), and delete temporary _tmp_verify_<agent>.{mjs,ts} files immediately.
  4. Handoff & Evidence: Write verification JSON + [goal:evidence] ... PASS before returning.

3. Shared Asset Bus, Antigravity Paths & Verified Media Pipeline (assets-cache/ + scripts/verify_assets.py)

  • Antigravity Skill Root (<skill-root>): Resolve <skill-root> dynamically from the directory containing this SKILL.md (supported identically across Antigravity App, IDE, and CLI agy):
    • Global: ~/.gemini/config/skills/video-visual-generate (macOS/Linux $HOME/.gemini/config/skills/video-visual-generate, Windows $HOME\.gemini\config\skills\video-visual-generate)
    • Workspace: <workspace>/.agents/skills/video-visual-generate (plus .agent/skills/ and legacy ~/.gemini/antigravity/skills/ compatibility)
  • Persistent Shared Cache: <skill-root>/assets-cache/ (sfx/, svg/, png/). Checked BEFORE any API call or synthesis.
  • Asset Bus Contract (.agent-runs/assets-manifest.json): Written ONLY by asset-scout after running scripts/verify_assets.py (trims audio < -40 dB, normalizes WAVs to -6.0 dB peak, validates SVG viewBox, enforces RGBA alpha on PNGs).
  • Mandatory Inter-Agent Bus Rule: Every agent MUST read upstream .agent-runs/*.json contracts (00-audio-master.json, 01-pacing-beats.json, assets-manifest.json, ui-designer.json, illustration-worker.json, motion-choreographer.json, etc.)—never guess paths, colors, or frame timings.
  • Audible SFX & Auto-Ducked BGM Mixing: SoundTrack.tsx mixes normalized assets/sfx/*.wav cues at 0.45–0.65 volume against 1.0 narration, plus pre-ducked assets/bgm/bgm_ducked.wav (preDuckedBgm={true}, -20 dB..-22 dB under voice) or custom bgm.mp3 capped at 0.08–0.12.

4. 8GB RAM, Cross-Platform & Windows PowerShell 5.1 CLI Guardrails

  • Zero Interactive Prompts (npx Safety): Pre-installed tsx in templates/remotion-base/package.json devDependencies. NEVER run bare npx <pkg> without flags. Always use npx --no-install <cmd> (tsc, remotion, tsx) or npx -y <pkg>. Prefer plain node over tsx for JSON validation.
  • No Multiline -e Inline Scripts (Windows PowerShell/cmd Safety): STRICTLY FORBID multiline code strings inside -e "...". Write .agent-runs/_tmp_verify.mjs (or agent-scoped .agent-runs/_tmp_verify_<agent>.{mjs,ts} during concurrent waves), execute with node or npx --no-install tsx, and delete the temp file immediately after verification. On Windows --props, pass a UTF-8 (no BOM) file --props=.agent-runs/props.json instead of inline JSON strings.
  • No && Command Chaining (PowerShell 5.1) & POSIX Equivalents: On Windows PowerShell 5.1, STRICTLY FORBID &&; run commands sequentially OR separate with ; after $ErrorActionPreference = 'Stop' and explicit if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } checks. On macOS/Linux (bash/zsh), use sequential commands or set -e.
  • Remotion Render Concurrency: --concurrency=2 first (npx --no-install remotion render Main out/final.mp4 --concurrency=2), auto-fallback to --concurrency=1.
  • Anti-Blur Cap: Never exceed backdropFilter: "blur(8px)"; never stack blurred layers or animate blur().
  • Cross-Platform Persistent .venv: Reuses <skill-root>/.venv (<skill-root>/.venv/Scripts/python.exe on Windows, <skill-root>/.venv/bin/python on macOS/Linux), auto-bootstrapped from <skill-root>/requirements.txt (numpy<2 + faster-whisper + Pillow + pydub + rembg + onnxruntime).

5. Audio-First 9-Agent Studio Pipeline, Self-Evaluation & Rollback

Step 0 — Pre-Plan Audio Probe, Transcription & Scrubbing (RUNS FIRST)

  1. agents/subtitle-sync.md (subtitle-sync): Probes audio_duration_ms, computes total_frames, runs Whisper, scrubs TTS tags & homophones, emits public/subtitle.json + .agent-runs/00-audio-master.json + self-evaluated .agent-runs/subtitle-sync.json.

Phase 1 — Dual-Layer Native Plan (plan.md + 00-master-brief.json) & Shared Config

  • Master reads .agent-runs/00-audio-master.json + styles/STYLE_INDEX.json, drafts 5-section plan.md (RequestFeedback = true), and HALTS for user approval.
  • Right after Plan Approval, scaffold the project from templates/remotion-base/ AND write TWO machine-readable shared contracts:
    1. .agent-runs/project-config.json: { "active_style_id", "style_file_path", "layout_mode": "full-bleed | mascot-split-screen", "enable_cutout", "enable_bgm", "bgm_mood", "target_quality_gates" }.
    2. .agent-runs/00-master-brief.json (templates/master-brief.schema.json): Compact ~50-line Shared Brain compass containing north_star_goal, target_audience_emotion, narrative_arc (hook, conflict, mechanism, resolution), style_discipline, and scene_continuity_contracts[] (entry_state -> exit_state -> handoff_to_next) so no downstream agent needs to skim prose in plan.md.
  • Every Core Agent (W{wave}-{AGENT}-{SEQ}) and Child Sub-Agent (...-C{n}) MUST be dispatched with a Mandatory 5-Block Briefing Envelope ([NORTH STAR], [YOUR SCOPE], [SIBLING & UPSTREAM MAP], [REQUIRED PRE-CODE REASONING], [EXIT HANDOFF SPEC]), and MUST record Rich Contract Handoff fields in .agent-runs/<task_code>.json (brief_ack, pre_code_reasoning, exported_contracts, continuity_notes, selfEvaluation) auto-fixing any FAIL before returning.

Directed Acyclic Execution Graph (W0 -> Phase 1 -> Wave 1A -> Wave 1B -> Wave 1 Digest Gate -> Wave 2 -> Wave 3):

  • Wave 0 (Step 0): W0-SUB-01 (subtitle-sync, children W0-SUB-01-C{n}) -> emits 00-audio-master.json & public/subtitle.json.
  • Phase 1 (P1-MSTR-01): Master writes plan.md (approval gate), .agent-runs/project-config.json, and .agent-runs/00-master-brief.json.
  • Wave 1A (Concurrent, zero inter-dependencies): W1-AST-01 (asset-scout, children W1-AST-01-C1/C2), W1-PAC-01 (pacing-director), W1-UI-01 (ui-designer, mandatory child W1-UI-01-C1 Environment & Atmosphere Worker).
  • Wave 1B (Concurrent AFTER Wave 1A completes): W1-ILL-01 (illustration-worker reads assets-manifest.json + ui-designer.json + 01-pacing-beats.json), W1-MOT-01 (motion-choreographer reads 01-pacing-beats.json + ui-designer.json). Eliminates Wave 1 race conditions cleanly!
  • Wave 1 Digest Gate (W1-GATE-01): Master validates Wave 1A+1B brief_ack receipts and compiles 1 compact .agent-runs/wave1-digest.json (templates/wave-digest.schema.json) summarizing all verified assets, exported component props, chrome tokens, and continuity_anchors.
  • Wave 2 (Concurrent AFTER Wave 1 Digest Gate): W2-SB1-01..W2-SB3-01 (scene-builder disjoint slices reading 00-master-brief.json + wave1-digest.json), W2-SFX-01 (sound-designer, child W2-SFX-01-C1 Auto-BGM).
  • Wave 3 (W3-ASM-01): assembler-auditor runs scripts/audit_code_hygiene.mjs --check-graph, scripts/verify_agent_graph.mjs, 3-point visual QA, and spawns isolated W3-ASM-01-C1 (Victory Auditor) auditing BOTH technical rendering AND north_star_goal / scene_continuity_contracts alignment.
  • On Defect Ticket (failed_task_code, responsible_agent, target_file, frame_number, exact_defect), Master triggers Surgical Rollback ({failed_task_code}-FIX1, max 3 loops) ONLY to that offending agent and file.

Wave 1A & Wave 1B — Assets, Pacing, UI/Theme, Illustrations, Motion (DAG Ordered)

  1. agents/asset-scout.md (Wave 1A): Checks assets-cache/, fetches Iconify SVGs / hybrid SFX, runs verify_assets.py, emits .agent-runs/assets-manifest.json + rich handoff .agent-runs/asset-scout.json.
  2. agents/pacing-director.md (Wave 1A): Enforces 3-Second Hook Engine (frames 0–90), writes .agent-runs/01-pacing-beats.json (60–90f beats), src/timeline.ts (SEG, TOTAL_DURATION_FRAMES, VIDEO_META), + rich handoff .agent-runs/pacing-director.json.
  3. agents/ui-designer.md (Wave 1A): Locks all 10 presets (brand_profile.json, design_tokens.json, LayoutZones.ts, EditorialSceneFrame.tsx), spawns mandatory Environment & Atmosphere Worker child when background details are omitted, emits rich handoff .agent-runs/ui-designer.json.
  4. agents/illustration-worker.md (Wave 1B): Consumes assets-manifest.json + ui-designer.json + 01-pacing-beats.json, builds 1.8x–2.5x macro SVGs & 2.5D illustrations in src/components/illustrations/**, emits rich handoff .agent-runs/illustration-worker.json.
  5. agents/motion-choreographer.md (Wave 1B): Consumes 01-pacing-beats.json + ui-designer.json + 00-master-brief.json, enforces MotionPhysics.ts, AudioReactivePulse.tsx, MixedHeadline.tsx, IsometricBlock.tsx, emits rich handoff .agent-runs/motion-choreographer.json.

Wave 2 — Disjoint Scene Slices & Audible Sound Track (Concurrent after Wave 1 Digest Gate)

  1. agents/scene-builder.md (Wave 2, 2–3 Parallel Slices): Consumes 00-master-brief.json + wave1-digest.json to build disjoint src/scenes/SceneXX.tsx slices inside <EditorialSceneFrame> respecting scene_continuity_contracts, emits rich handoff .agent-runs/scene-builder-slice<N>.json.
  2. agents/sound-designer.md (Wave 2): Consumes wave1-digest.json + assets-manifest.json + 01-pacing-beats.json to wire normalized <Audio> SFX cues (0.45–0.65) and optional ducked BGM, emits rich handoff .agent-runs/sound-designer.json.

Wave 3 — Zero-Drift Assembly, Continuity Audit, Targeted Rollback & Auto-Packaging

  1. agents/assembler-auditor.md (Wave 3):
    • Pass A: Verifies ALL upstream .agent-runs/*.json (brief_ack, pre_code_reasoning, exported_contracts, selfEvaluation), wires MainVideo.tsx (passing layoutMode), Thumbnail.tsx + Root.tsx (VIDEO_META), runs npx --no-install tsc --noEmit and npx --no-install remotion compositions src/index.ts.
    • Pass B1: Programmatic Audio Coverage, Hygiene & Agent Graph Validation (node <skill-root>/scripts/audit_code_hygiene.mjs --project . --check-graph & node <skill-root>/scripts/verify_agent_graph.mjs --project .), & Trigger-Word Sync audit (<= 300ms / 9f).
    • Pass B2–B3 (Victory Auditor): Renders out/final.mp4 (--concurrency=2), inspects 3-Point QA Stills (in +8f, midpoint, out -8f), checks audio RMS, and audits narrative alignment + cross-slice continuity against 00-master-brief.json.
    • Targeted Pipeline Rollback (MAX_ROLLBACKS = 3): On ANY defect (robotic Math.sin, flat/empty background, missing 0–90f hook, visual clipping, card overlap, broken audio/SFX, sync drift), emits a precise Defect Ticket and rolls back directly to the guilty Wave 0/1/2 agent, then re-verifies until [goal:evidence] ... PASS.
    • Auto-Packaging (Post-Audit): Renders out/thumbnail.png (npx --no-install remotion still Thumbnail out/thumbnail.png --concurrency=2) and generates out/caption.txt (punchy social caption matching video language + 5–7 hashtags).

6. Strict Disjoint File Ownership & .agent-runs/ Self-Evaluation Gate

Stage / WaveAgent Spec (agents/)Exclusive Owned Paths (No Overlap)
Step 0 (Pre-Plan)subtitle-sync.mdpublic/subtitle.json, src/components/WordSubtitle.tsx, .agent-runs/00-audio-master.json, .agent-runs/subtitle-sync.json
Wave 1asset-scout.mdassets-cache/**, public/assets/**, .agent-runs/assets-manifest.json, .agent-runs/asset-scout.json
Wave 1pacing-director.md.agent-runs/01-pacing-beats.json, src/timeline.ts, .agent-runs/pacing-director.json
Wave 1ui-designer.mdsrc/brand_profile.json, src/design_tokens.json, src/design_tokens.ts, src/LayoutZones.ts, src/components/{EditorialBackground,EditorialSceneFrame,DataCard,ComparisonCard,StampOverlay,SafeZoneOverlay}.tsx, .agent-runs/ui-designer.json
Wave 1illustration-worker.mdsrc/components/illustrations/**, .agent-runs/illustration-worker.json
Wave 1motion-choreographer.mdsrc/components/motion/**, src/components/visuals/{MotionPhysics,AudioReactivePulse,FlowingPath,OrganicFloat,LottieAccent,SpotlightZoom,AnimatedPathFlow,index}.ts*, .agent-runs/motion-choreographer.json
Wave 2scene-builder.md (Slice 1..3)Strictly disjoint subset src/scenes/SceneXX.tsx per slice, .agent-runs/scene-builder-slice<N>.json
Wave 2sound-designer.mdsrc/audio_cues.ts, src/components/SoundTrack.tsx, .agent-runs/sound-designer.json
Wave 3assembler-auditor.mdsrc/MainVideo.tsx, src/Thumbnail.tsx, src/Root.tsx, src/index.ts, out/**, GATE_STATUS.md, .agent-runs/assembler-auditor.json

Every agent MUST run a self-evaluation against its quality checklist, record selfEvaluation + [goal:evidence] inside .agent-runs/<agent>.json before handoff, and clean up any .agent-runs/_tmp_verify*.{mjs,ts} helper immediately after running it. Every agent follows Briefing → Dispatch → Progress → Handoff with up to 2 runtime-invented specialist children (Max Depth = 2—zero grandchildren).

Related Skills