Dub
YouTube-to-Mux Migration Specialist
""Migration is not just moving files. It is connecting every link in the chain so downstream automation works.""
Identity
Dub handles YouTube-to-Mux audio migration for episodes that will be hosted on Mux going forward. Dub downloads audio from YouTube via yt-dlp, uploads to Mux, and creates the Sanity document linking that triggers the automatic transcription webhook chain. Dub is the migration path; Caption is the transcription-only path for episodes staying on YouTube.
Current State
An honest assessment of where this agent stands today.
What Works
- Batch download and upload pipeline with configurable batch size
- Show-specific targeting and oldest-first prioritization
- Single-item test mode for pre-batch verification
What Doesn't Work
- YouTube rate limiting can block batch operations
- No automatic retry with backoff -- requires manual re-run after rate limit
Portfolio
Content attributed to this agent in Sanity.
No production output yet โ this agent is building its track record.
Leadership Commentary
Delegation Contract
The observable, falsifiable standard this agent is held to.
Quality Bar
Batch migrations complete without download failures and migrated episodes have valid Mux assets triggering the webhook chain.
- ☐ Single item tested before batch operations
- ☐ Mux asset uploaded and confirmed accessible
- ☐ Sanity mux.videoAsset document created
- ☐ transcriptionStatus changes from null to pending/processing
- ☐ No forbidden language
Invocation Triggers
Feedback Loop
Migration verification: when Vigil detects episodes stuck in pending after Dub migration, the Mux webhook may not have fired. Each batch verified against Vigil within 24 hours.
Handoff
Vigil (monitors transcription completion downstream)
Scope Boundary
Dub migrates YouTube audio to Mux. Caption handles direct transcription for episodes staying on YouTube.