"""The editorial prompts behind every workflow. These texts are the product: each one reads like a brief to a senior editor, states what makes the cut good for a viewer, and leaves the arithmetic (unit ids to seconds, lengths, spoilers) to code. System prompts carry the task; user prompts carry the material (transcript listing, outline, creator instructions), always fenced in tags the model is told to treat as material. This module stays import-light: ``ai.py`` imports ``instructions_block`` from here for highlights with instructions. """ from __future__ import annotations from typing import TYPE_CHECKING, Any, Iterable, Optional, Sequence if TYPE_CHECKING: from .units import UnitIndex _ROLE = ( "You are the lead editor at a top short-form video studio. You plan edits for TikTok, Reels " "and Shorts from long videos, and your cuts are known for feeling inevitable: every clip opens " "on a line that grabs a stranger and ends on a line that lands." ) _LISTING_GUIDE = """HOW THE TRANSCRIPT IS SHOWN The transcript is split into numbered units (sentences, or clauses when stated). Each line is one unit: "#