Skip to content

feat(content-studio): integrate video governance checks and cost tracking #524

@thxforall

Description

@thxforall

Parent: #508
Depends on: #519, #522, #523

Context

The job-backed video slice landed without governance checks or cost accounting. Before broad operator use, video generation and final exports need the same operational controls expected from the rest of Content Studio.

Scope

  • Run video governance checks for generated clips and/or final exports at the right workflow boundary.
  • Persist governance status and failure reasons so the UI can block or warn on unsafe outputs.
  • Connect provider usage and composition work to the existing cost-tracking system.
  • Track cost-relevant units such as provider, mode, resolution, duration seconds, input video seconds, generated image inputs, retries, and final export work.
  • Keep paid live smoke paths opt-in and clearly marked.

Acceptance Criteria

  • Video jobs expose governance state alongside generation/composition state.
  • Provider retries and scene-level generation are reflected in cost records.
  • Focused tests cover governance gating and cost-record creation for representative job flows.

Out of Scope

  • implementing new provider modes.
  • ffmpeg composition internals beyond consuming final export metadata.
  • billing UI beyond existing cost-tracking surfaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions