Policy-driven Upload Enforcement
Resolve upload behavior from policy status before triggering upload workflow.
Mapping
CLEAN-> upload allowed, privacypublicWARN/REVIEW/PENDING-> upload allowed, privacy forcedprivateBLOCK-> upload not allowed (youtube_upload_status='blocked')
Enforcement Point
Apply this decision in render-complete stage (or pre-upload stage), not in frontend only.
Why
- Guarantees consistent behavior for manual + automatic triggers.
- Prevents bypass of safety checks.
- Produces auditable failure reasons via
youtube_upload_error.
Shorts Interaction
Main upload policy still governs the parent video. Shorts retries should not bypass blocked parent policy states.