Repository navigation
Open
Description
Parent epic: #2254
Work package: RP-05 · Depends on: RP-03, RP-04
Problem and deliverable
Implement new async work as Vercel Workflows inside API; do not add Trigger.dev tasks. Reuse current generation/composition services and recipes rather than cloning providers or extending the legacy artist-repository shortcut as a prerequisite.
Files
api/app/workflows/contentPacks/releasePackWorkflow.ts (new)api/app/workflows/contentPacks/runPackAssetStep.ts (new)api/lib/content/packs/buildPackProductionPlan.ts (new)api/lib/content/packs/buildPackAssetPrompt.ts (new)api/lib/content/packs/inspectPackAsset.ts (new)api/lib/content/packs/buildPackExport.ts (new)api/lib/content/{image,video,caption,transcribe,analyze,edit}/ existing domain functions
Action items
- Implement new async work as Vercel Workflows inside API; do not add Trigger.dev tasks. Reuse current generation/composition services and recipes rather than cloning providers or extending the legacy artist-repository shortcut as a prerequisite.
- Pass the approved brief, chosen song/version/hook, source references, occasion, aesthetic/voice choices and constraints into each image, motion, text and composition step. Save prompt/input provenance tied to the brief revision.
- Generate a representative first asset early, then continue the agreed batch within budget without an extra mandatory approval cycle. Honor an explicitly requested preview checkpoint.
- Use real selected audio and reviewed lyric timing; compose it into music-bearing outputs and verify the resulting audio stream, correct recording, timing, duration, aspect ratio, legible text and brand fit. Static QA and video QA are distinct.
- For anniversary/reissue/remix/rediscovery, use appropriate copy and campaign timing. Avoid generic out-now copy, wrong versions and default pre-release DSP milestones.
- Retry only failed stages within the ceiling. Deliver previews, captions, downloadable files and pack-manifest metadata. No publishing, scheduling or permanent public text storage as a side effect.
Done when
- Changing the occasion/creative constraints changes actual production inputs, not just a saved chat summary.
- No-artist/no-repository job produces usable media through supported services.
- Each completed asset is inspected and traceable to correct music and brief. Count unique creative pieces and format variants honestly.
- Provider failures preserve successful artifacts and resume without recreating the batch; client reports partial/completed based on inspected outputs.
Validation
- Write tests for brief-to-prompt propagation, wrong/missing audio, no-face artwork-led route, occasion copy, failed QA, repair budget and partial export.
- Run workflow/domain fixtures and compose/probe synthetic media; real production inspection belongs to RP-09.
Source references and boundaries
Re-read current main and existing related PRs before implementation. New files listed above are proposed implementation locations. Use the owning repository's feature branch and PR; update the parent PR matrix as soon as a PR opens. No shipped or live behavior is implied by this ticket. Store/legal/provider and real-account evidence remain distinct from source checks.
Metadata
Metadata
Assignees
Labels
No labels
Activity
sidneyswift commentedon Nov 6, 2026
Shipped and deployed: brief-bound generation, muxing of the selected recording, rendered-media inspection and export (recoupable/api#1064), the inspection model fix (recoupable/api#1065), recovery of accepted provider work (recoupable/api#1135) and rejection of placeholder audio analysis (recoupable/api#1202).
One bounded live run rendered a correct vertical video and passed corrected inspection, but no post-fix job has completed end to end.
Left: one completed no-artist job with inspected usable media. Further paid runs wait on the CD-03 audio-analysis licensing question.