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
-
Audio-First Pipeline Gate (Step 0 Runs BEFORE Planning & Pacing):
- Strictly FORBIDDEN from estimating video duration, hardcoding
1800frames, or draftingplan.mdscene timestamps before inspecting real narration audio. - Step 0 (
agents/subtitle-sync.md) ALWAYS executes FIRST:- Hard-verify audio exists & is non-empty (ABORT IMMEDIATELY with
[goal:blocked]if missing—zero silent fallback). - (Optional Pacing Tightener) When tight editorial energy is desired, run
<skill-root>/scripts/tighten_audio.py(auto-editoror FFmpeg RMSsilenceremove) BEFORE Whisper so all cuts & timestamps lock cleanly to the tightened audio (e.g., 78s -> 64s). - Probe real duration in milliseconds (
audio_duration_ms) and computetotal_frames = Math.ceil((audio_duration_ms / 1000 + 0.5) * 30)atfps = 30. - Run
<skill-root>/scripts/transcribe.pyvia persistent<skill-root>/.venv(.venv/Scripts/python.exeon Windows,.venv/bin/pythonon macOS/Linux) with word timestamps, apply TTS Artifact & Indonesian Context Phonetic Scrubber (stripgasp/breath/chuckle+ fix homophones against script like"kopi, saya"->"kok bisa ya"), and writepublic/subtitle.json(start_ms,end_ms,start_frame,end_frame) +.agent-runs/00-audio-master.json.
- Hard-verify audio exists & is non-empty (ABORT IMMEDIATELY with
- Strictly FORBIDDEN from estimating video duration, hardcoding
-
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 reads00-audio-master.jsonFIRST and generates a richplan.mdartifact (write_filewithArtifactMetadata.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_frameacross 5 mandatory sections:- Audio Master Metrics, Narrative Script & Theme Preset (
audio_duration_ms,total_frames, activebrand_profile.jsonpresetwarm-paper/blueprint-engineering/clean-tech/dark, background atmosphere pattern/moods, language). - 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. - Verified Media & Custom Vector Asset Plan specifying required Iconify SVGs, SFX cues, custom macro SVGs,
roughjssketch accents, and UI mockups. - 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()or8–10f fade()),roughjs, and-6 dBnormalized SFX (0.45–0.65). - 9-Agent Studio Execution Schedule, Asset Bus, Auto-Packaging & RAM Budget (
--concurrency=2,blur <= 8px,out/thumbnail.png+out/caption.txt).
- Audio Master Metrics, Narrative Script & Theme Preset (
- After Step 0 writes
-
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/.jsonfiles. - Adaptive Budget (
Max Depth = 2):- Turbo / Lightweight Mode: Ultra-concise specs, max 1 dynamic child worker per Core Agent (
ui-designerSTILL spawns mandatoryEnvironment & Atmosphere Workerwhen prompt omits background details),scene-builderin 2 parallel slices. - Standard / Pro Mode: Up to 2 dynamic child workers per Core Agent (
Max Depth = 2—zero grandchildren) and 2–3 parallelscene-builderslices.
- Turbo / Lightweight Mode: Ultra-concise specs, max 1 dynamic child worker per Core Agent (
- 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
-
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 (fastSpotlightZoompush-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-amplitudeMath.sin(frame)vibrations and linear pulsing are STRICTLY BANNED. UsedampedShake(),anticipateSpring(),organicBreath(),EDITORIAL_SPRING(damping: 12–15,stiffness: 180–220,mass: 0.7),3–5fstaggers, andOrganicFloat/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 short8–10framefade()(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 insidex: 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}>(+Ton outgoing sequence or absolute<Sequence from={...}>) and bindRoot.tsxdurationInFrames={TOTAL_DURATION_FRAMES}.
- 3-Second Hook Engine (
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 deterministic48pxhorizontal safe insets (984pxcontent width insidex: 48..1032), vertical Header -> Hero -> Footer slot alignment across parallel slices,fitTextToWidth()text guards, and flow-awareDataCard/ComparisonCard/StampOverlay(flow={true}inside grid layouts). - Layout Modes (
layout_modeinside.agent-runs/project-config.json):full-bleed(Default): Hero stageY: 156..1320px+SUBTITLE_ZONE(1350–1500px).mascot-split-screen(Optional Mode): Triggered when the user requestsmascot-split-screenor supplies mascot poses. Top 60% (48–1128px,HERO_ZONE_SPLIT) houses<EditorialSceneFrame>hero visuals/diagrams/code; bottom 40% (1150–1920px) housesWordSubtitle(1350–1500px) and audio-reactive<MascotHost />(src/components/visuals/MascotHost.tsx, anchored safely belowY = 1516pxwith zero subtitle overlap and clean SVG avatar fallback).
- Format & Frame Cap: Fixed
1080 x 1920(9:16),30 fps, hard Subtitle Y-CeilingY <= 1500px,highlightMode="pill", ZERO CSStransition:rules. - Contextual Atmospheric Background (
EditorialBackground.tsx): Enriched byui-designer's mandatoryEnvironment & Atmosphere Workerchild (W1-UI-01-C1) whenever background details are omitted: (1) Stop-Motion Paper Grain shifting every4–6frames, (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 ordark-cinematicmode. Usesrembglocked strictly tou2netp(~4.7MB CPU-safe) + Pillow white sticker border (--sticker-border 6), outputting verifiedtype: "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), applies800msfade-in /1500msfade-out + FFmpegsidechaincompress(-20 dB..-22 dBbeneath voice), exportspublic/assets/bgm/bgm_ducked.wav, and registerstype: "bgm_audio"inassets-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:
- Briefing: Objective, active theme preset/mood, and upstream contract paths (
00-audio-master.json,01-pacing-beats.json,plan.md). - Dispatch & Disjoint File Ownership: Explicit exclusive target files (e.g., Child A owns
public/assets/png/cutout_*.pngviamake_cutout.py; Child B ownspublic/assets/bgm/bgm_ducked.wavviaprepare_bgm.py) so concurrent children never collide. - Execution Rules (Cross-Platform + Windows PowerShell 5.1): Use persistent
<skill-root>/.venv/Scripts/python.exeon Windows or<skill-root>/.venv/bin/pythonon macOS/Linux, lockrembgtou2netp, ban&&and multiline-e "..."on PowerShell 5.1, checkif ($LASTEXITCODE -ne 0)on Windows (orset -eon POSIX), and delete temporary_tmp_verify_<agent>.{mjs,ts}files immediately. - Handoff & Evidence: Write verification JSON +
[goal:evidence] ... PASSbefore 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 thisSKILL.md(supported identically across Antigravity App, IDE, and CLIagy):- 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)
- Global:
- 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 byasset-scoutafter runningscripts/verify_assets.py(trims audio< -40 dB, normalizes WAVs to-6.0 dBpeak, validates SVGviewBox, enforces RGBA alpha on PNGs). - Mandatory Inter-Agent Bus Rule: Every agent MUST read upstream
.agent-runs/*.jsoncontracts (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.tsxmixes normalizedassets/sfx/*.wavcues at0.45–0.65volume against1.0narration, plus pre-duckedassets/bgm/bgm_ducked.wav(preDuckedBgm={true},-20 dB..-22 dBunder voice) or custombgm.mp3capped at0.08–0.12.
4. 8GB RAM, Cross-Platform & Windows PowerShell 5.1 CLI Guardrails
- Zero Interactive Prompts (
npxSafety): Pre-installedtsxintemplates/remotion-base/package.jsondevDependencies. NEVER run barenpx <pkg>without flags. Always usenpx --no-install <cmd>(tsc,remotion,tsx) ornpx -y <pkg>. Prefer plainnodeovertsxfor JSON validation. - No Multiline
-eInline 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 withnodeornpx --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.jsoninstead 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 explicitif ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }checks. On macOS/Linux (bash/zsh), use sequential commands orset -e. - Remotion Render Concurrency:
--concurrency=2first (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 animateblur(). - Cross-Platform Persistent
.venv: Reuses<skill-root>/.venv(<skill-root>/.venv/Scripts/python.exeon Windows,<skill-root>/.venv/bin/pythonon 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)
agents/subtitle-sync.md(subtitle-sync): Probesaudio_duration_ms, computestotal_frames, runs Whisper, scrubs TTS tags & homophones, emitspublic/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-sectionplan.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:.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" }..agent-runs/00-master-brief.json(templates/master-brief.schema.json): Compact ~50-line Shared Brain compass containingnorth_star_goal,target_audience_emotion,narrative_arc(hook,conflict,mechanism,resolution),style_discipline, andscene_continuity_contracts[](entry_state -> exit_state -> handoff_to_next) so no downstream agent needs to skim prose inplan.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 anyFAILbefore 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, childrenW0-SUB-01-C{n}) -> emits00-audio-master.json&public/subtitle.json. - Phase 1 (
P1-MSTR-01): Master writesplan.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, childrenW1-AST-01-C1/C2),W1-PAC-01(pacing-director),W1-UI-01(ui-designer, mandatory childW1-UI-01-C1Environment & Atmosphere Worker). - Wave 1B (Concurrent AFTER Wave 1A completes):
W1-ILL-01(illustration-workerreadsassets-manifest.json+ui-designer.json+01-pacing-beats.json),W1-MOT-01(motion-choreographerreads01-pacing-beats.json+ui-designer.json). Eliminates Wave 1 race conditions cleanly! - Wave 1 Digest Gate (
W1-GATE-01): Master validates Wave 1A+1Bbrief_ackreceipts and compiles 1 compact.agent-runs/wave1-digest.json(templates/wave-digest.schema.json) summarizing all verified assets, exported component props, chrome tokens, andcontinuity_anchors. - Wave 2 (Concurrent AFTER Wave 1 Digest Gate):
W2-SB1-01..W2-SB3-01(scene-builderdisjoint slices reading00-master-brief.json+wave1-digest.json),W2-SFX-01(sound-designer, childW2-SFX-01-C1Auto-BGM). - Wave 3 (
W3-ASM-01):assembler-auditorrunsscripts/audit_code_hygiene.mjs --check-graph,scripts/verify_agent_graph.mjs, 3-point visual QA, and spawns isolatedW3-ASM-01-C1(Victory Auditor) auditing BOTH technical rendering ANDnorth_star_goal/scene_continuity_contractsalignment. - 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)
agents/asset-scout.md(Wave 1A): Checksassets-cache/, fetches Iconify SVGs / hybrid SFX, runsverify_assets.py, emits.agent-runs/assets-manifest.json+ rich handoff.agent-runs/asset-scout.json.agents/pacing-director.md(Wave 1A): Enforces 3-Second Hook Engine (frames 0–90), writes.agent-runs/01-pacing-beats.json(60–90fbeats),src/timeline.ts(SEG,TOTAL_DURATION_FRAMES,VIDEO_META), + rich handoff.agent-runs/pacing-director.json.agents/ui-designer.md(Wave 1A): Locks all 10 presets (brand_profile.json,design_tokens.json,LayoutZones.ts,EditorialSceneFrame.tsx), spawns mandatoryEnvironment & Atmosphere Workerchild when background details are omitted, emits rich handoff.agent-runs/ui-designer.json.agents/illustration-worker.md(Wave 1B): Consumesassets-manifest.json+ui-designer.json+01-pacing-beats.json, builds1.8x–2.5xmacro SVGs & 2.5D illustrations insrc/components/illustrations/**, emits rich handoff.agent-runs/illustration-worker.json.agents/motion-choreographer.md(Wave 1B): Consumes01-pacing-beats.json+ui-designer.json+00-master-brief.json, enforcesMotionPhysics.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)
agents/scene-builder.md(Wave 2, 2–3 Parallel Slices): Consumes00-master-brief.json+wave1-digest.jsonto build disjointsrc/scenes/SceneXX.tsxslices inside<EditorialSceneFrame>respectingscene_continuity_contracts, emits rich handoff.agent-runs/scene-builder-slice<N>.json.agents/sound-designer.md(Wave 2): Consumeswave1-digest.json+assets-manifest.json+01-pacing-beats.jsonto 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
agents/assembler-auditor.md(Wave 3):- Pass A: Verifies ALL upstream
.agent-runs/*.json(brief_ack,pre_code_reasoning,exported_contracts,selfEvaluation), wiresMainVideo.tsx(passinglayoutMode),Thumbnail.tsx+Root.tsx(VIDEO_META), runsnpx --no-install tsc --noEmitandnpx --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): Rendersout/final.mp4(--concurrency=2), inspects 3-Point QA Stills (in +8f,midpoint,out -8f), checks audio RMS, and audits narrative alignment + cross-slice continuity against00-master-brief.json. - Targeted Pipeline Rollback (
MAX_ROLLBACKS = 3): On ANY defect (roboticMath.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 generatesout/caption.txt(punchy social caption matching video language + 5–7 hashtags).
- Pass A: Verifies ALL upstream
6. Strict Disjoint File Ownership & .agent-runs/ Self-Evaluation Gate
| Stage / Wave | Agent Spec (agents/) | Exclusive Owned Paths (No Overlap) |
|---|---|---|
| Step 0 (Pre-Plan) | subtitle-sync.md | public/subtitle.json, src/components/WordSubtitle.tsx, .agent-runs/00-audio-master.json, .agent-runs/subtitle-sync.json |
| Wave 1 | asset-scout.md | assets-cache/**, public/assets/**, .agent-runs/assets-manifest.json, .agent-runs/asset-scout.json |
| Wave 1 | pacing-director.md | .agent-runs/01-pacing-beats.json, src/timeline.ts, .agent-runs/pacing-director.json |
| Wave 1 | ui-designer.md | src/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 1 | illustration-worker.md | src/components/illustrations/**, .agent-runs/illustration-worker.json |
| Wave 1 | motion-choreographer.md | src/components/motion/**, src/components/visuals/{MotionPhysics,AudioReactivePulse,FlowingPath,OrganicFloat,LottieAccent,SpotlightZoom,AnimatedPathFlow,index}.ts*, .agent-runs/motion-choreographer.json |
| Wave 2 | scene-builder.md (Slice 1..3) | Strictly disjoint subset src/scenes/SceneXX.tsx per slice, .agent-runs/scene-builder-slice<N>.json |
| Wave 2 | sound-designer.md | src/audio_cues.ts, src/components/SoundTrack.tsx, .agent-runs/sound-designer.json |
| Wave 3 | assembler-auditor.md | src/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).