feat(youtube-studio): accept a cadence handoff bundle alongside the video #11

Merged
pedro-bento merged 2 commits from feat/youtube-studio-handoff into main 2026-10-14 09:53:59 +01:00
Owner

The Clip Generator already takes an optional cadence handoff ZIP and uses its
edited transcript instead of Whisper. YouTube Studio now does the same: an
optional .zip on the Analyze Video step rides along as a handoff field on
POST /api/thumbnail/analyze.

  • _read_handoff_transcript stages the upload under the existing size cap and
    validates it with _stage_handoff_bundle, returning the edited transcript
    without importing the heavy pipeline.
  • thumbnail_analyze passes that transcript as the pre-transcript and skips the
    background Whisper wait/error path when a handoff is present; behavior is
    unchanged when it is not.
  • The video is still required for frames and publishing; the handoff only
    replaces transcription.
  • UI: optional handoff drop zone on Step 0, skipped early Whisper when a bundle
    is attached, and reset clears it.
The Clip Generator already takes an optional cadence handoff ZIP and uses its edited transcript instead of Whisper. YouTube Studio now does the same: an optional `.zip` on the Analyze Video step rides along as a `handoff` field on POST /api/thumbnail/analyze. - `_read_handoff_transcript` stages the upload under the existing size cap and validates it with `_stage_handoff_bundle`, returning the edited transcript without importing the heavy pipeline. - `thumbnail_analyze` passes that transcript as the pre-transcript and skips the background Whisper wait/error path when a handoff is present; behavior is unchanged when it is not. - The video is still required for frames and publishing; the handoff only replaces transcription. - UI: optional handoff drop zone on Step 0, skipped early Whisper when a bundle is attached, and reset clears it.
pedro-bento added 1 commit 2026-10-06 13:17:12 +01:00
feat(youtube-studio): accept a cadence handoff bundle alongside the video
All checks were successful
CI / unit (pull_request) Successful in 46s
CI / backend-e2e (pull_request) Successful in 1m22s
CI / dashboard-e2e (pull_request) Successful in 2m32s
808ae19772
The Clip Generator already takes an optional cadence handoff ZIP and uses its
edited transcript instead of Whisper. YouTube Studio now does the same: an
optional `.zip` on the Analyze Video step rides along as a `handoff` field on
POST /api/thumbnail/analyze.

- `_read_handoff_transcript` stages the upload under the existing size cap and
  validates it with `_stage_handoff_bundle`, returning the edited transcript
  without importing the heavy pipeline.
- `thumbnail_analyze` passes that transcript as the pre-transcript and skips the
  background Whisper wait/error path when a handoff is present; behavior is
  unchanged when it is not.
- The video is still required for frames and publishing; the handoff only
  replaces transcription.
- UI: optional handoff drop zone on Step 0, skipped early Whisper when a bundle
  is attached, and reset clears it.
pedro-bento added 1 commit 2026-10-06 13:28:09 +01:00
Merge remote-tracking branch 'origin/main' into feat/youtube-studio-handoff
All checks were successful
CI / unit (pull_request) Successful in 48s
CI / backend-e2e (pull_request) Successful in 1m23s
CI / dashboard-e2e (pull_request) Successful in 2m27s
a213d11b2b
pedro-bento merged commit 980dae98e8 into main 2026-10-14 09:53:59 +01:00
pedro-bento deleted branch feat/youtube-studio-handoff 2026-10-14 09:53:59 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pedro-bento/clipwright#11
No description provided.