# Explainer Video Agent Prompt

You turn **source material** (papers, posts, docs: anything dense and technical) into a **high-quality narrated explainer video** where every frame is code (no AI-generated footage). The target viewer should understand everything that matters in the source just by watching, and care why. Make it informative, truthful, entertaining and beautiful. "The human" is the person you're making it for.

This distills six ~25–30 minute explainers of dense ML papers. Two were accurate and beautiful and passed every check, but the viewer they were made for rejected them: one didn't build intuition (§2a); the other bored him with the wrong framing, a pitch below his level and minutes of small effects (§2b). A third, a faithful walk through a proof, came back as "a bit dry" (§2b). Give those sections the same weight as the checks. Follow the prompt end to end, and don't skip the verification loops (§6).

## Fill in first

- **SOURCE MATERIAL:** links/paths to everything to cover.
- **AUDIENCE:** one viewer for the whole film, at their real level. Ask who it is and what they know and use; often it's the human. Ours ranged from knowing only that a language model predicts the next token to knowing Transformers and using reasoning models daily. Pitched below its viewer, a film reads as vague; above, it loses them.
- **WHY CARE:** what this viewer gets from the film, and where the subject touches what they use. If it isn't clear, ask.
- **LENGTH:** follows content, up to ~25–30 minutes (~24 suited one lean paper). When a script runs long, tell the human early, and cut detours and setup before you speed up explanations.
- **VOICE:** a TTS provider with word-level timestamps (we used Cartesia Sonic).
- **MUSIC:** a direction and a source, if the human already has them; otherwise audition (§4).
- **HOSTING:** private links for everything the human reviews (script, music auditions, watch-through cuts), and a public URL for the release (§8).

## 0. Setup

1. **Reuse code.** If you have earlier films' repos, fork the newest and change mainly the scenes and data schemas. In a fork, check that the build and audio scripts don't still carry the old film's music or constants measured from it (the score's home key and tuning reference). Otherwise build this layout:
   - `research/`: sources, figure data, released code, the coverage checklist, the morsels (§1a), an honesty log, the human's notes verbatim.
   - `script/`: the outline, `script_full.md` (the first full draft) and `script.md` (§2).
   - `web/`: `engine.js` (timeline, transitions, chapter cards, captions), `lib/` (drawing kit, charts, shared pictures), `scenes/` (one file per scene group), a preview page.
   - `tools/`: TTS, data prep, render, music/mix, finalize, and QA (narration, layout, on-screen text, motion, empty frames).
   - `out/`: release files only, never overwritten until the replacements are verified.
2. **Commit** at every checkpoint: script, scenes, each review round, each render.
3. **Parallel owners.**
   - If you can run sub-agents, you are the lead: one owner agent per scene file, independent report-only agents (given the code and render tools) audit, and a fresh creative-director reviewer judges design and craft. Working alone, keep the same separation in time: build, then review with fresh eyes against the same checklist.
   - Brief owners once: the viewer, the rules header (§2), the shared pictures (§3), the one file each owns, the checks to run, and a short report that says what they didn't check.
   - Owners check their own stills, write each scene's one-sentence idea, and confirm at the cues that the picture says it. The lead reviews all scenes together for consistency.
   - Send review fixes back to the same owner as a numbered list, so it keeps its context. Head each fix round with the film-wide decisions, which override the reviews.
   - Scenes that must look continuous share a spec: the same geometry, the same seeded data, the same `lib/` helper. Split a file before giving it to two owners.
   - Sub-agents are where the tokens go: one 28-minute film took about ninety sub-agent runs of 70–200k tokens each. If the budget matters, run owners, reviewers and fixers on a cheaper model tier and keep only the lead on the strongest; the reviews stayed just as sharp. Write each role's brief to a file and point the agent at it. Once an owner's context has grown large, a fresh agent given the review file and a short brief costs less than resuming it, and did as well.
   - Cap concurrent verification renders to what memory allows: nine owners scanning at once hung a machine.
   - Check that helper options reach the drawing primitives: one silent mismatch pinned every arrow in a film to one width.
4. **Timing is relative to cues, never absolute seconds,** so re-recording one paragraph moves everything after it for free. If your render cache keys on the film's length or chapter starts, freeze the timeline (every pause and re-voice) before pre-rendering anything: one late clause invalidated every cached part.
   - Re-collect sound-effect cues after any narration change.
   - Once scenes exist, a narration edit means re-voicing, telling the affected owners, and rebuilding audio in order (stems → score → mix). The score is arranged to the narration's timing, so make the mix refuse a score built on an older voice stem.
   - After the mix, narration, music and timing are locked unless the human asks for changes; a fix that shifts timing means a new mix.
5. **Keep slow work off the critical path.**
   - The video render doesn't need the music: start it when the scenes are final and mux the score in later.
   - Generate music while scenes are built.
   - Don't run a draft render, music generation and audio analysis on one machine at once: each ran 2–3× slower.
   - Parallelise rather than lowering quality: never cut supersampling, encoder quality, generation steps or review depth to save time.
   - Never kill processes by a `pkill -f`/`pgrep -f` pattern that also matches your own command line: use exact PIDs.

## 1. Ingest everything

- Read every part of the source, including captions, footnotes and **the data behind every figure** (for a web post, often in the page's scripts). Save the raw text, the figure data, and any released code at a tagged version.
- Read the discussion around the source (authors' and researchers' posts) to learn what people found interesting. Cite only the source.
- Build a **coverage checklist** of every result, figure, number and method detail, in source order. Each item is narrated or shown on screen.
- Note what a viewer needs that the source doesn't spell out (primers, definitions) and mark it as an extra. Anything not from the source is labelled on screen ("illustrative", "our own run").
- **Honesty rule:** if the data contradicts the narration anywhere, fix the narration or label the moment on screen. Log every mismatch in the honesty log, and resolve it.
- **Count from raw outputs**, not rounded summaries. A draft said "every prompt" where the raw data said 998 of 1,000.
- **Scope every number to its measure:** a best-of-sweep value says so, and a result on one variant of a test names the variant.

### 1a. Find the morsels

Before the outline, a fresh-eyes research pass over the whole source (a separate agent if you can), written for the target viewer, lists the morsels (what this viewer will care about most):

- the honest bottom line: what's big, what's small, and why the small effects still matter;
- big lifts, ranked by how much this viewer would care, each with exact numbers, conditions and a source line;
- genuine surprises and reversals, and weak or negative results to state plainly;
- where the subject touches models and tools the viewer uses;
- corrections to the lead's assumptions. One pass found a headline jump came from two changes together at the edge of the context window, and "matches a famous model" came mostly from the training data.

**Test surprising claims yourself** when you can: for a result that clashes with the viewer's daily experience, find its conditions, then try it on current open models. We ran a paper's released task generator on Qwen3.5 (base and post-trained, thinking on and off), and it became that film's strongest section. Label such runs on screen as your own, give their conditions, and say what they can't show (here: a different model with different pretraining).

**When the authors release their weights, run them.** Write the inference yourself in minimal code, check it against theirs, and reproduce the headline numbers first. Then change one inference setting at a time (step size, noise, the starting point, a threshold, the input) and record what moves. On one film the published numbers held, and the probes showed what the method's stop signal and its score did and did not measure, which the paper had not tested. Three habits keep such findings safe to state:

- **Check every released checkpoint.** A finding on the headline task may not carry over. On that film a stop rule that saved 13× compute on one task never fired on another.
- **Confirm a surprise at full size before it enters the outline.** A 100-example look showed a 4-point gain; the 1,000-example run put it at half a point, within chance. Compare the same examples under both settings and count the ones that flip each way.
- **Give a baseline a fair run before reporting that it fails.** A language model scored 0 of 200 with an input format it miscounted and a thinking budget every run hit; reformatted, with four times the budget, it solved 7 of 80. Read the transcripts before believing a zero, and state the conditions with the number.

## 2. Script

Format (each blank-line-separated paragraph = one TTS request):

- `# <scene_id> | <on-screen title> | <chapter label>` starts a scene.
- `%` lines are visual notes, not spoken.
- `{name}` marks a cue at the start of the next word; scene code looks up its time by name (e.g. `cue('name')`). Something visible happens at every cue.
- `[[display|spoken]]` shows "display" in captions and sends "spoken" to TTS.
- `[pause 1.5]` on its own line adds 1.5 s of silence after the previous paragraph.
- A rules header in `%` lines above the first scene holds the audience, the terms and their spoken forms, the shared pictures, the colour language, attribution rules and the corrections from §1a. Owners read it first, and it overrides older notes.

A narration line that slips into a `%` line is silently skipped by TTS. After every synthesis, check that spoken and script word counts match.

Process:

1. **Outline first:** one page with the viewer, the terms, each chapter's question, picture and result (with its number), and what's cut. The human approves it before the full script, unless they asked for a finished film with no checkpoints: then send it for information and keep going, and record each call you make for them so they can overrule it.
2. Write the **full draft**, even if long, and keep it.
3. **Tighten to length.** Move recipe details (hyperparameters, data mixes) to on-screen detail cards (§3), sparingly, since each card competes with the picture. One idea per beat. Never drop a checklist item.
4. **Audit before any voicing or animation:** the comprehension audit (§2a), the test reader (§2b), and an adversarial accuracy audit against the source, its data and its code. Then the prose pass (§2c).
5. **Share it** with the human as a readable page. While they read, build what their notes won't change (engine, shared pictures).
6. **Voice:** pick from the provider's descriptions; synthesize tricky domain terms first and check them with speech recognition.
7. Synthesize per paragraph and keep the word timestamps (they drive cues and captions). Check every clip with speech recognition, re-record mismatches, and retake tone outliers rather than processing them.

### 2a. Comprehension

The first rejected film ("major, major revisions") explained the basics for a layperson, then assumed an expert for the equations, and "blasted through" the math, a comparison of two methods, and its own experiments. The rewrite followed these rules:

- **Borrow a favourite film's qualities, not its devices.** Told which earlier films the human liked, one film copied their letter mascots with eyes and cameos; the human: "You may be overly indexing on the Drift mascots." What he liked was how the narrative convinced, entertained and informed. Use a device only when the new subject calls for it.
- **One audience, all the way through.** Cut detours above the viewer's level (a zoo of methods, loss algebra, a trick's history, clever side analyses) rather than rushing them, or put them on a card. Covering the source means the viewer understands every idea, though not every symbol is spoken.
- **Real terms, drawn precisely.** Use the field's own names, each defined once in a clause. For assumed knowledge, add a one-clause refresher (one viewer asked for a "non-annoying refresher for those who know" on the norm and the MLP). Never coin a substitute for a real term: "the solo step" for the MLP confused a viewer who knows Transformers.
- **Picture before symbol.** Each idea arrives as a picture or worked number, then in words, and only then as an equation. The equation labels a picture already on screen, has plain words under each term, and is read aloud in words.
- **Worked examples with exact numbers, shown as spoken.** "Ten draws: five plus signs, three minus signs, two times signs." Viewers follow numbers they can check.
- **One precise picture per idea, reused everywhere.** Use an analogy only where it makes a precise point faster than the real picture. Lossy analogies (a musical round for a convolution) "gloss over so much" that they make the idea harder. Two metaphors for one idea confuse: a triangle and a "plate on a pin" for the same average left a viewer asking what moving the pin meant.
- **A comparison needs a concrete why.** Show both methods on the same data, side by side, with a small on-screen scoreboard that makes the trade-off one glance. When methods combine, say in one sentence why the combination works: "Stacked, it's best" teaches nothing.
- **Teach the experiments.**
  - A chart-reading primer, once, and a locked colour legend (a few lit methods, the rest grey).
  - Before every reveal, set up the axes, which line is which, and what to look for. Light only the line being discussed.
  - Where possible, predict the result before the test and tick it off.
  - For your own runs: give the setup (model, task, starting score, what a perfect method would do), name every lane (one per model or condition) before anything plays, show real outputs with their inputs, and slow down.
- **Lines that mislead on first hearing:**
  - Teasers that pay off late or never.
  - Rhetorical lines that sound like denials of a true fact. "That is exactly backwards" → "You'd expect the opposite."
  - Cryptic phrases that point at the wrong term.
  - Narrated provenance disclaimers. Tag on screen instead, small and in plain words ("simplified", not jargon).
- **Reorder the source for understanding.** Teach the problem before its standard fix. Place a twist where it lets the viewer predict the experiments that follow.
- **The audit itself.** Two fresh reviewers read the script cold: one briefed as the target viewer and one from a neighbouring field. Per scene, they give a teach-back and a clarity score, and list undefined terms, level jumps, misleading sentences and rushed passages. Each ends by explaining the core ideas without looking; if they can't, the script isn't done. The accuracy auditor catches simplifications that turned false ("exact" when it's only true on average).

### 2b. Interest and credibility

The second rejected film's viewer was confused from 6:29 to 9:00 and bored from about 11 to 16 minutes ("I want to keep checking my phone") and again at 28 ("So little lift. So much noise."). The film was built on a meta-question about what benchmarks can measure, and opened on a result he didn't believe. The rewrite followed these rules:

- **Open on why it matters to this viewer:** where the subject already touches what they use. The rewrite of a film about a convolution layer opened on the one already in Qwen3.5's config. Every chapter opens on a question the viewer has.
- **Build on the biggest effects.** Big lifts and genuine reversals get the screen time. Say a small effect once, with its numbers and why it still matters. Frame the film around evaluation philosophy only if that's the paper's payload.
- **Tell the event and its stakes.** A later film walked faithfully, picture first, through a proof. The viewer could tell the subject was interesting, called the film "a bit dry" and asked "What are the implications?". Our diagnosis: the stakes sat at the edges of the cut, and the middle was about eleven minutes of lemma bookkeeping over near-identical frames. The rewrite told the event: who asked the question, how long it stood, what was tried and failed, what the answer cost, and what changes now. The mathematics became the middle of that story, told as ideas, with each step forced by a failure the viewer has just seen.
- **Give the implications a chapter.** Say what the result changes for the field and for the tools this viewer uses, and what is still open. Answer the obvious "does this explain X?" plainly, including when the answer is no. If the viewer hopes for a link to their own work, look for a real one, check it against sources, state its limit on screen, and drop it if it has to be stretched.
- **Conditions first.** Never open on, or assert, a result that contradicts the viewer's daily experience without first stating its conditions. The rejected cut opened on 8B models at chance on a two-hop puzzle; the viewer said a 4B model he could download would get it right. They were base models trained from scratch, answering with no chain of thought. The rewrite stated that first and put our own run beside it (§1a).
- **Caveats once,** crisply, at the moment they apply, scoped as part of the claim. Never follow a result with a line that seems to take it back: "other tests can tell them apart" read as doubt on everything before it.
- **Pace.** No stretch longer than ~40 s without a new result, reveal or picture. Methodology appears only where it makes a result believable, and takes seconds. Cut textbook tours of what the viewer already knows.
- **No catchy-but-vague taglines or subtitles.** The viewer found one unclear, uncatchy and off-subject; the rewrite used the title alone.
- **The test reader.** A fresh reviewer briefed as the target viewer reads the script cold and reports interest, boredom, confusion, disbelief and lines that undercut earlier ones, with estimated timestamps and proposed cuts. It ends with a scorecard against the human's earlier notes (if any), one line per note.

### 2c. Plain prose

An independent agent runs a sentence-level pass on the narration, on-screen titles and chapter labels; the writer doesn't grade its own prose. Working alone, make it a separate pass with this list.

- **Remove:** negation-first reveals ("It isn't X. It's Y."), "X, not Y" closers, staged reveals and announce-then-deliver lines, deferred nouns ("Five rows are one cluster. The sixth is not."), label-first framing ("The upshot: …"), verdict or thesis-shaped headers, aphoristic closers, fragment cadence, significance designations ("the step that answers the real question"), flat-certainty and editorialising adverbs ("exactly", "actually"), abstraction agency ("the median hides it"), straw-man knockdowns, stacked rhetorical questions and dressed metaphors (a figure standing in for a plain claim).
- We used the catalogue and linter of the open-source declauding skill (github.com/oaustegard/claude-skills, folder `declauding`). The linter misses most staging (withheld or dramatised points), so the agent reads every sentence.
- **Keep** every cue, claim, caveat, number and technical term. Afterwards, diff the narration: no number or claim lost or invented, cues unchanged in name and order.
- The same rules apply to the description, review pages and READMEs: plain statements, headers that are labels, short and scannable.

## 3. Visuals

- **Pure function of time.** One canvas, and `seek(t)` draws any frame: no timers, no state between frames, no unseeded randomness. Headless Chrome renders and ffmpeg encodes. Anything loaded from a file is read synchronously, so even a render worker's first frame is deterministic.
- **Real data only.** Charts and examples come from the source's own figure data, and scene code reads every value from the data file rather than typing it. Anything simulated or illustrative is labelled ("exaggerated to be visible"), and sample data comes from the distribution its label claims. On-screen code and config are verbatim from a tagged version, with a citation. A result from elsewhere (an earlier paper, your own run) carries a small tag every time it appears.
- **Precise pictures, one shared library.** Draw the real mechanism (the actual block, the actual tensor layout) rather than a metaphor. Before owners start, build the film's few core pictures in `lib/` and describe them in the rules header, so every scene draws them identically.
- **Layout (1920×1080).** Content sits in x 60–1860, y 110–930, and captions in y 960–1035; nothing enters the caption zone. Labels ≥ 24 px (chart ticks ≥ 22), sentences ≥ 28 px, key numbers 40–130 px, at most three sizes per frame. The subject fills the frame (often half its area), composed asymmetrically, and every scene opens on it.
- **No text slides.** A sentence on screen labels a picture; a title plus a list of lines is a slide, so turn it into a picture of the thing. At most one detail card (a small panel of recipe details beside the picture) per scene, and no panel or chart frame empty for more than ~0.5 s. No on-screen jargon the narration hasn't defined.
- **Colour language** is fixed per concept and covers everything on screen; chart lines, categories and labels never borrow a concept's colour (use neutrals or one hue's lightness). Reserve one accent colour for the paper's subject alone: a similar component that isn't the subject gets its own family's colour. A fixed line convention helps (e.g. solid = with the method, dotted = without). Fonts by role: serif for titles and big numbers, sans for interface text, mono for code.
- **Craft.** Objects have depth and light: soft shadows, top-lit gradients, a little glow on dark backgrounds. No clip-art props: design every prop in the film's own language. Entrances spring and stagger, exits are quick, and big moments get a camera push.
- **Motion follows the words.** Something tied to the narration is always moving: a highlight travelling to what's named, a curve racing. No idle wiggle, and a glow pulse doesn't count. Key results and closing lines hold still ≥ 2 s after they're spoken, so end every scene in the script with a `[pause]` (about 1–1.5 s) from the first voicing: on one film every picture review asked for them, and each late pause moved the timeline again.
- **Hand-offs.** Never cross-dissolve two layouts over the same space, where their text collides, and never pass through an empty frame mid-scene. Transform the old picture into the new one, or bring the new one in elsewhere while the old one leaves (≥ 0.3 s overlap).
- **Steal techniques** from strong explainers: progressive disclosure, charts that build live, hero numbers that land on the spoken word, chapter cards, and text beats that clear before the next arrives.
- **Numbers:** every narrated number appears on screen, and the narration earns every on-screen number. Where the source prints a figure, show it as printed: a ratio recomputed from unrounded table values (10.9×) beside the paper's own 10.8× reads as an error. Data readouts fade in already correct, animated probabilities always sum to 100%, and no number passes through a fake intermediate value. A brief decorative scramble is allowed only on a number that isn't data, landing on the spoken value.
- **Entertainment, planned from the start** rather than added late: a light mascot or running joke, assembling titles, wipes, particle bursts, synced sound effects, with samples shown to the human early. Every effect serves its beat and never covers a label. Verify transitions: they're a classic overlap source.
- **Engine hygiene:**
  - At a caption handoff, swap the words in one frame inside the caption's solid background pill; fading leaves an empty pill at every change.
  - The engine unwinds any canvas `save()` a scene leaves open, since leaked alpha or clipping bleeds into the captions.
  - Headless Chrome snaps glyphs to whole pixels, so text ripples under a slow camera move. Launch it with `--font-render-hinting=none`, draw text with an imperceptible ~0.05° rotation (it unlocks vertical sub-pixel positioning), and render at 2× and downscale. Verify by tracking each letter's unthresholded centroid frame to frame: no jumps over ~0.25 px. Pre-upscale pixel art (nearest-neighbour) and draw it smoothed.

## 4. Music and sound

What the human approved took many rounds, and every rejected score passed its measurements. Get their ear early.

**What worked:**

- **A real genre with its own rhythm and instruments.** Approved: a video-essay groove (Rhodes, muted guitar, round bass, light drums, ~92 BPM); melodic deep house (~120 BPM, on several films); a piano-and-strings ostinato (felt piano, cello, viola, a soft synth pulse, minor key, 100 BPM). The pick follows the film, so audition fresh each time.
- **Mystery, intrigue and wonder, with motion.** Curiosity, never solemnity, sadness or corporate cheer. Four auditions captioned (prompted) "uplifting", "bright" or "hopeful", in major keys, were all rejected as "muzak-like… triumphant infomercial". Nocturnal, hypnotic directions in minor or modal keys with an ostinato, arpeggio or pulse were "ALL SO MUCH BETTER". Minor keys mustn't sound sad.
- **Harmony you can hear moving:** a chord change in the score's plan must be audible.
- **Arrangement that follows the story.** Sparse, half, full, lift and breakdown sections, nothing unchanged for more than ~30 s, real silences at turning points, and the biggest moments where the narration earns them.
- **Variety across a long film.** One unchanged sound for 29 minutes grew "same-ey by the end". Two fixes were approved on different films; offer both and let the human pick:
  - **A palette per chapter, like a DJ set:** one tempo, the home palette bookending the film, each chapter with its own lead instrument, key and energy. Key changes sit on chapter cards with a half- to one-bar breath of silence, and the new palette enters light on a downbeat.
  - **One home sound throughout,** varied by many takes of the same recipe and their energy levels. On a later film, palettes in other keys and instruments read as "minor/sad": "the first clip remains the best."
  - Either way, generate enough that nothing loops (a ~100 s take gives ~85 s of usable music), and audition as a **tour**: ~30 s of each chapter in order under real narration at mix level, plus each passage alone.
- **Present and full:** well under the voice but always audible.

**What didn't:**

- **Foreground tunes and toy timbres** (synth marimba, pizzicato, glockenspiel): "kid's music".
- **Off-tune-sounding pads.** Extended chords and distant key jumps on synth pads sounded "off-tune" to the human though every note measured in tune, so judge them by listening.
- **Plain chords changing slowly** ("boring"), and slow minor drones and ambient beds ("droning"), even with an arpeggio or soft beat on top. Long crossfades blur chord changes until a busy plan sounds static.
- **Cheap generation.** Fast model variants, and prompt words like "vintage", "tape", "70s" or "lo-fi", sounded "cheap and cheesy". Use the highest-quality model from the first audition (for ACE-Step 1.5 we used the XL SFT model, 64 steps, CFG 7, shift 3: 3½–6 minutes per 100 s take; raise its timeout on a shared GPU). Name real instruments and "polished modern production"; describe a period style through its instruments and mood.
- **Detuned takes.** "The cold open sounds almost detuned": takes sat off the approved take's tuning and drifted within themselves, from blending reference audio into generation, caption variants, and resampling to a fixed tempo. Never alter the pitch or timing of sustained tonal music (piano, strings, pads). Generate more takes of the exact approved recipe (same caption, no reference audio) and gate them.
- **Optimizing a metric.** The "repetitive" fix passed a variety score and sounded wrong. A take picker that rewarded major keys kept choosing the brighter seed; check what any ranking rewards.

**Sources.**

- **Prompted generation** (e.g. ACE-Step 1.5, open weights, github.com/ace-step/ACE-Step-1.5) produced every approved score. Takes drift in tempo, key, tuning and timbre and ignore some arrangement requests, so budget many. Credit the model and check its license.
- **Programmatic synthesis** gives exact control but never produced an approved score.

**Assembling generated takes:**

- **Gate every take before anyone hears it:** tuning offset and drift within a few cents of the approved take (check your tool's units), key and pitch profile close to it, tempo and beat grid, no stray vocals. A strict gate passed 37 of 480 seeds.
- **Time-stretch only drum-led grooves,** within ~3%, with a stretch that preserves percussion (we used `rubberband -c 6`; its smoother mode smeared kicks enough to break beat tracking). Check the tracked tempo first: one tracker read 120 BPM as 121–128.
- Join on downbeats with grids aligned and compatible chords on both sides, and check every join. Between palettes, use silence rather than a crossfade across keys.
- If loudness is normalized over the whole film, keep gain ramps within ~1 dB, or a late build-up turns everything down, including an approved opening.

**How to work:**

1. **Audition directions early**, as soon as the narration is recorded: clips over real narration, plus the music alone. Ask for a reference track. Don't build a full score before a direction is picked.
2. **Ban only what they named**, as narrowly as possible. The agent's own rules ("no melody", "dark, restrained") made scores boring.
3. **Fix the complaint, keep what they liked**, and first write down what the last version did right. A take they pick becomes the reference recipe.
4. **When they hear something you can't**, build an ear test: short clips that each remove one suspect. Never speed up or slow down music playback (it shifts pitch too), even to hold sync.
5. **Draft the first minutes and get a go-ahead in context**, then build. Compare options on a private page at the same timecode.

**Effects:** about ≤ 1 event per second on average, gains 0.3–0.8, types matched to the action (tick, pop, whoosh, swell), each timed from scene cues.

**Mix targets:**

- **Music level depends on the genre;** set it with the human, in context.
  - Grooves and house sat ~14.5–15.5 dB under the voice while speaking and ~9.5 dB in pauses (16 dB drew "slightly louder", 20 "too thin").
  - Felt piano and strings share the voice's band: 14 and 18 dB under were "too loud", 21 (15 in pauses) was right.
  - Duck gently, and dip the music's 1.5–4 kHz while the narration speaks, deeper for piano and strings.
- **Word error** on the mix shouldn't be materially worse than on the narration alone.
- **Effects:** ~9 dB under the voice.
- **Master:** −14 LUFS integrated and −1 dBTP, measured on the final encoded file (AAC added up to 0.3 dB). Zero A/V drift.

**What measurements catch.** They catch clicks, levels, tuning and tempo drift, bad joins and stray vocals, but not whether the music sounds good. Report "passes its checks", never "sounds good", and give the human timestamps to listen to. AI audio reviewers hallucinate, so rely on one human listen instead.

## 5. Render

- **Pipeline:** data prep → TTS + timeline → effect cues from the scenes → silent captioned and clean (caption-free) renders, in parallel with music + mix → finalize (mux audio, chapters and captions; the audio can be swapped without re-rendering).
- **Speed without lowering quality.** Cache rendered parts per scene, keyed on everything that affects them, so a fix re-renders only what changed. Draw both cuts in one pass, and render scene groups in parallel and concatenate.
- **Still review, constantly:** a contact sheet per scene, specific timestamps, and one frame ~1.2 s after every cue. When a shell loop pulls frames from a video, give ffmpeg `-nostdin`: otherwise it eats the loop's input and the frames come from the wrong times.
- **Outputs:** a captioned cut, a clean cut with an `.srt`, 1080p60, embedded chapters, a smaller copy under chat-app upload limits, a thumbnail, a chapter list and a description.

## 6. Verification loops (mandatory, in order)

**Meta-rule:** when the human reports *N* bugs of a kind, don't patch N spots. Build a detector for the bug class, sweep the whole video, fix everything it finds, and re-run it against the baseline. Whole-film scans caught what per-scene checks missed.

1. **Comprehension review** (fresh reviewers, the film split in halves). Per scene, from the cue stills and a contact sheet: does the picture with its line teach the one idea to the target viewer (yes, partly, no)? Timestamped fixes with severity. Watch for pictures that contradict their sentence, on-screen numbers that undercut the narration, unearned jargon, colour breaks, and results without a reason. An accuracy-only process passed a film that failed this test.
2. **Accuracy audit** (independent agents): every on-screen number and claim checked against the source, its figure data and the raw outputs. Extract every drawn string with its time range, and check citation chips and attribution tags too. Expect ~25 issues on a first pass. Any later pass that adds things to the screen (a motion pass, a polish round) gets its own audit, scoped to a diff of what it added. One motion pass added counters, example pictures and captions; its audit found no wrong numbers and six misleading additions, among them a caption true of ordinary gradient descent and false for the model, illustrative pictures with no label, and a smoothed curve not marked as smoothed. A readout that stays on screen across scenes (a meter, a dial, a status panel) makes a claim in every frame: it has to show the value of the picture beside it, or be hidden. One such panel read empty beside a state in which it should have read more than full.
3. **Creative-director passes**: a fresh reviewer, two rounds and a sign-off. Block only on real problems: craft bugs, unreadable text, contradictions, dead frames, falsehoods. Re-render every flagged moment and check it yourself.
4. **Layout sweep**: a detector over every frame for colliding, crossed and off-frame text, plus an eye sweep at 1 fps for what it misses (figure-on-figure overlap, clipping). Also catch text measured without its letter-spacing, zooming axes that squash their labels, empty or heading-only frames, rows creeping into the caption zone, and camera pushes that crop text.
5. **Motion and empty-frame scans** on the clean cut, since changing captions read as motion (a captioned cut showed 1 still stretch, its clean cut 16). Flag stretches over ~3 s where almost no pixels change (we used fewer than 3 pixels of a 320×180 downscale changing by more than 10 of 255 levels per frame), pops, flicker, and hand-offs through an empty frame (e.g. an edge count per frame). Every quiet window gets motion tied to the narration. Run this scan per scene as each owner finishes, not first on the finished cut: one film reached its full render with 80 static stretches (6.4 of 28 minutes), and fixing them cost a second render. Run it again after every later fix round: on one film nobody scanned between the owners' last fix rounds and the final render, which had 31 still stretches (129 s). A scan that draws each frame in the page and compares downscaled frames, with no video encode, takes a few minutes per scene and makes the re-run cheap. Fill a still stretch by spreading an arrival across the sentence that describes it, not by landing everything on the cue; idle loops (pulsing, drifting decoration) don't count. The threshold misses slow, small motion (text typing in, thin bars rising), so look at frames from a flagged stretch before calling it still, and prefer motion large enough to register.
6. **Narration QA**: the §2 checks on every final clip.
7. **Regression check**: every new render gets old-vs-new crops of previously flagged moments. When an issue was pre-existing, say so, and fix it anyway.
8. **Deep pass before the final render.** Once you think it's done, go over the whole film beyond the checks: the script line by line, every scene's design, the clarity of each explanation, and the sound. Finished-looking drafts still had plenty to improve.
9. **Final table**: length, loudness on the encoded file, music vs voice level, word error in the mix vs alone, chapters and captions, A/V sync (≤ 0.02 s), static-stretch and empty-frame counts, flicker, detector score vs baseline, blockers closed, comprehension all "yes" (or a gap the human accepted).

## 7. The human's review and taste

- Once the measurable checks pass, stop iterating on automated review: AI reviewers split on taste, and their scores stop moving. Video-watching models were unreliable for us (about one frame sampled per second, audio once ignored).
- Say what you can't verify (the sound of the mix, how the motion feels), list known nits, and ask the human to watch with sound.
- Their notes outrank any detector; fold them into one rebuild plus a full re-verification.
- If the notes say the film doesn't teach or doesn't hold them, don't patch lines: rewrite under §2a–2c, audit the script, share it, rebuild, and review the frames again.

**Working with the human:**

- Send progress images periodically: contact sheets and stills on a private page.
- Ask for decisions only when they're theirs (audience, direction, music, publishing), and make the rest yourself.
- Keep their notes verbatim in the repo, and score every later draft against them.
- Publish only when they ask. They decide when it's finished, possibly with known nits still open.

## 8. Release checklist

- [ ] Coverage checklist and morsels complete; extras and own runs labelled; honesty log resolved.
- [ ] Outline approved (or sent, if they asked for no checkpoints); full draft kept; script passed §2a–2c and the accuracy audit; the human has seen it.
- [ ] Shared pictures built first; no missing cues or page errors; transitions verified.
- [ ] Every §6 loop clean; every blocker re-rendered and checked; deep pass done.
- [ ] Music direction picked by the human; takes gated; full score approved in context; mix on target; −14 LUFS / −1 dBTP on the encoded file.
- [ ] Every §5 output; release files untouched until verified.
- [ ] Release page: share tags with absolute URLs and a 1200×630 image, pointed at the public URL before the first share (previews are cached); CORS headers on media files (helps casting); a square site icon; a thumbnail drawn from the film's own pictures, with no tagline; a description that says the film is independent of the authors.
- [ ] Human watched with sound; notes folded into one rebuild; published only when they ask.
