Bead: content-machine-7tf.3 · Priority: P0
Source: findings doc section 12 Phase 2
Blocked by: Phase 1
Carve out the deterministic media execution runtime as the primary product core. Must be callable from harness skills and from scripts without CLI plumbing.
- Collect render, TTS orchestration, caption alignment, concatenation,
and QC into
src/runtime/with a stable public entry point. - Remove hidden CLI-only couplings (flags, globals, cwd assumptions).
- Ensure the runtime consumes contracts only (no ambient types).
- Golden fixtures: offline deterministic pipeline with recorded artifacts covering at least the existing archetypes.
Everything after Phase 2 calls into this layer. Stabilizing the public API lets scripts and skills evolve quickly without reaching into guts.
src/runtime/exposes a documented public API.- Golden fixtures pass offline (no network).
- CLI is reduced to a thin adapter over runtime entry points.