Pipeline & Architecture
High-level overview of the 10-stage pipeline, parallel branches, and quality gates.
Shotrunner executes 10 discrete stages with dual parallel branches to maximize throughput while preventing wasted compute.
Parallel Execution Model
After Stage 02 completes and writes final.md, execution forks into two independent parallel branches:
- •Audio Branch (03 → 04): Synthesizes neural voiceover (
audio.wav) and computes frame-accurate Whisper subtitle timings (subtitles.srt). - •Visual Branch (05 → 06 → 07): Computes scene demand (
needs.md), downloads imagery with OCR watermark rejection, and sorts frames into the series library (images/).
Both branches read only immutable inputs (final.md and config.yaml). When both report completion, Stage 08 renders the final video.
10-Stage Pipeline Matrix
Quality Gates & State Ledger
Every stage records a PASS token to series/<series>/logs/<slug>.log. If any gate fails, execution halts immediately with actionable diagnostics. On resume, completed stages are skipped automatically.
Was this "Pipeline & Architecture" page helpful?
PREVIOUS
Secrets & API Setup
Configure Fish Audio keys, Google Cloud OAuth, and YouTube channel tokens.
NEXT
Series Configuration
Series settings, voice profiles, subtitle styling, and custom channel mappings.
© 2026 SHOTRUNNERLOCAL-FIRST · AGENT-DRIVEN