Long Arc documentaries and Monica's daily bulletins run on separate pipelines I built myself. Same operator, different clocks — one is a fifteen-stage documentary line, the other a nine-stage daily news line.
Twelve to twenty dated, attributable facts, each with a source. No fact reaches the script without one — every number that appears on screen has to trace back to something real, because the validator will reject it otherwise.
<topic>_research.mdThe research becomes a beat sheet of twelve to fourteen movements, each one narration plus a list of shots. This is where editorial judgement lives: what the argument is, where the turn comes, and which beats can stand alone as a Short.
SEQ (movements + shots)Every shot gets a prompt. The house rule runs through all of them: the subject is modern, the treatment is archive. A single shared style prefix states the look once, so it can never drift between episodes.
IMAGESStills are generated at 1536×1024 with a pinned high-quality model setting. Generation is resumable: anything already on disk is skipped, so a failed batch never costs the whole run.
images/*.pngStills become moving shots at 720p, with the model chosen per shot: premium where a face is on screen, cheap where there are no people. Anything ambiguous goes premium — a mangled face costs more than thirty-five cents. Where motion is refused or capped, the shot falls back to a slow Ken Burns push. The film never blocks on a clip.
clips/*.mp4Scripted narration, synthesised a movement at a time and paced deliberately slow. The engine reports the exact duration of every movement, and those numbers drive all the timing further down the line.
audio/mv_*.mp3 + durations.jsonAn original bed, a sting and a motif per episode. The bed is mixed low and ducks under the narration, so the voice always sits on top.
music/score_*.mp3Shots are assembled into segments and the archive grade is applied — saturated, unstable tape with blooming highlights, chroma bleed and crawling grain. The look lives in one shared module, so the whole channel stays visually consistent.
seg/ + timeline.jsonThe audio-driven timing pass: every movement's voice-over is fitted to its visual span, with the overrun spread across shots rather than dumped on the last one. It runs on every ratio, which is what keeps the three masters identical in length.
Segments, narration and score are muxed into the 16:9 master with a consistent mix and a lead-in before every movement.
<TOPIC>.mp4 (1920×1080)The same film is rendered natively at 1080×1080 and 1080×1920 — cards and typography are regenerated for each shape, not letterboxed. All three masters must report the same duration before anything ships.
_1x1.mp4, _9x16.mp4Each master is compressed under the messaging limit, decode-verified with zero errors, and delivered with an idempotency marker so nothing can be sent twice.
Archival title cards, not YouTube furniture: one image, one short phrase, one colour decision, and a small plain wordmark. Judged at 320×180 — if the phrase is unreadable at that size, it gets simplified.
thumbs/thumb_{16x9,1x1,9x16}.pngStandalone vertical cuts assembled from the episode's own narration — never a random trim. The beats that survive cold, with their own opening and a line that lands, are recorded in a spec and rendered by a tool.
shorts/*.mp4 + manifestFilm and Shorts are pushed to YouTube, the poster is set and then verified against the live CDN image rather than assumed, and every upload is recorded in a ledger so a re-run can never duplicate it.
Monica is the daily bulletin: one story, 35–90 seconds, built fast but through the same fact discipline. The line is shorter because the clock is shorter — nine stages from discovery to a verified two-ratio master.
One story with a named public figure and a clear contradiction. No story-count commentary; Australia is capped at one story per fortnight.
stories/<date>.jsonTwo sources minimum. Every fact, quote and number is dated and attributable. The economics RAG is for framing only, never for facts.
35–45 seconds, dry and cynical, with a unique sign-off and no banned closers. The spec declares the studio shots, map, KPI, named figure and cutaways before anything is built.
reels/<date>.jsonThe planner and builder require a map, a KPI, a named figure and at least two distinct animated cutaways. Every named person and key location must appear; missing footage fails the build rather than shipping a studio-only bulletin.
monica_plan.py PASS + builder gateThe Katie voice is rendered per line, then lip-synced on the frontal Monica plate. Exact sample durations — not container estimates — drive every visual span.
audio/ + studio segmentsNative 16:9 and 9:16. Maps zoom to the story’s own geography with strong land/ocean contrast and relief; KPIs and typography are rebuilt for each shape. No world map for a national story.
gfx/The animated figure is spliced into its span. The master is cut on the full final speech plus a 0.15s tail, then a 0.65s held-frame and silence beat is inserted at title→body and body→promo.
body_16x9.mp4, body_9x16.mp4A cable-news globe bumper opens the film. One continuous score starts at the title, runs through the body and continues under the promo, ducked beneath the voice.
16:9 and native 9:16 are compressed under the messaging limit, decode-verified, and delivered with message IDs recorded. A file existing is not evidence that it plays.
At least two distinct animated cutaways. The planner and the builder both refuse a bulletin with fewer — a studio-only spec cannot render.
Every named public figure and key location in the script gets a visual. People must match the story’s country and ethnic mix; no US voter footage or flags in a non-US story.
Frames are checked before use. A clean 2026 bulletin does not inherit a pandemic-era crowd shot by accident.
Zoom to the story, keep land and ocean distinct, and add relief. A world map for a national story is a failure, not a neutral choice.
The voice never starts or ends on a cut. Named figures move; if the video model is restricted, the restriction is disclosed rather than a push passed off as animation.
Generated stills for the latest film, before motion and grade. These become moving shots in stage 5, then get the archive treatment in stage 8.
Maps are real geography with real place names, never invented diagrams. Charts must state their units and trace every number to a dated source — an unlabelled axis is treated as a bug, not a style choice.
The grade and the thumbnails aim at one thing: a lost documentary found in an archive, rather than something generated last week.
The same story ships in three aspect ratios, each rendered natively so the typography is rebuilt for the shape rather than cropped into it. The film goes to the big screen, the feed, and the phone.
The parts that stop the pipeline quietly shipping something wrong. Every one of these exists because it caught a real failure.
Runs before any render. Fails the build if a chart title is meaningless, an axis has no units, or infographic cards take more than a quarter of the running time. Footage is the meal; cards are the garnish.
Every shot with people in it must name the local population — and the validator fails the build if it doesn't. A film about a place has to show that place's people.
Named figures are generated from a real reference photograph and then compared back against it before anyone is named on screen. No identity is asserted without a visual check.
Every deliverable is decoded end to end and must report zero errors before it is sent. A file existing is not evidence that it plays.
The pipeline is metered as it runs, per service, and the model routing decisions in stage 5 were chosen on measured cost rather than taste. Where a premium model is only needed for faces, the rest of the film uses a cheaper one — that single routing change cut one episode's motion cost by roughly half without losing a face.