flowchart TD
  A[Workdir /tmp/full_pipeline_*] --> B[extracted.wav]
  B --> C[segments.json / segments.srt]
  C --> D[kokoro_chunks/]
  D --> E[final_audio.wav]
  E --> F[final_video.mp4]
  F --> G[output/<basename>/]
  subgraph Logs [Logs]
    L1[logs/infra]
    L2[logs/usecases]
    L3[logs/cli]
  end
  B -.-> L1
  C -.-> L2
  E -.-> L1
