Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
docs(hypit): the base of a Segment is whichever picture speaks it
rponed6602302e061
diff --git a/.agents/skills/hypit/references/playbooks/craft/frame-coverage.md b/.agents/skills/hypit/references/playbooks/craft/frame-coverage.mdindex a97aadbf..81a3582d 100644--- a/.agents/skills/hypit/references/playbooks/craft/frame-coverage.md+++ b/.agents/skills/hypit/references/playbooks/craft/frame-coverage.md@@ -18,8 +18,8 @@ an interval inherits its edges whenever its length comes from something other th- a window derived from speech, which starts and stops with words and therefore excludes the silencearound and between them;- an insert, whose material ends where the generator stopped rather than where its window does — and- then draws nothing for the rest of it, because `playback` defaults to `once-start`, so the base- returns mid-phrase. This is the one edge on the list a machine can find before a Build:+ then draws nothing for the rest of it, because `playback` defaults to `once-start`, so whatever it+ was covering is alone again mid-phrase. This is the one edge on the list a machine can find before a Build:`reconstruction_check` reads each Recipe and refuses the default on generated material.`generated-dependencies.md` says what to set instead. The Segment's own picture has no such edge —the take that speaks it is the take that draws it, so the two lengths are one number;diff --git a/.agents/skills/hypit/references/playbooks/craft/generated-dependencies.md b/.agents/skills/hypit/references/playbooks/craft/generated-dependencies.mdindex 1c5ef81a..56e75008 100644--- a/.agents/skills/hypit/references/playbooks/craft/generated-dependencies.md+++ b/.agents/skills/hypit/references/playbooks/craft/generated-dependencies.md@@ -78,7 +78,33 @@ One generation carries both, and that is what makes the Segment's length and itssame number. Generating the speech separately makes them two numbers arrived at independently — theSegment as long as whatever a voice generator produced, the picture as long as whatever a videogenerator was asked for — and two numbers arrived at independently do not agree. Where they disagree,-the picture ends first and nothing is under it.+the picture ends first and there is nothing to take its place.++### The base of a Segment is whichever picture speaks it++**Speech decides which picture is the base, and depth has nothing to say about it.** Read the+reference this way: the picture showing a person saying the words the transcript carries for that+stretch is that Segment's base, wherever it sits in the frame and whatever else is on screen with it.++This is the reading that goes wrong most often. A reference cuts to a full-frame board with the+speaker inset in a corner, and the board is the larger, lower, more obviously "background" thing —+so the board is authored as the base and the speaker as an insert over it. It is the other way+round: the inset speaks, so the inset is the base, and the board is what covers most of it. Nothing+about being large, or full-frame, or visually underneath makes a picture a base.++Check it against the words rather than the layout. A person whose mouth moves over speech that is not+theirs is B-roll — `../../reconstruction/continuity.md` is what keeps a moving mouth from becoming a+speaker — and a small inset saying the transcript's words is the base.++### Stack order is authored per Segment, never once for "the base"++A picture is the base *of a Segment*. The same Track can hold the base for one Segment and something+almost entirely covered in the next, and those two are different stack orders decided separately.++So do not fix a Track's `stack-order` because of what it is: give each unit the order its own stretch+needs, from what the reference shows over it there. A `stack-order: 0` written once because "this is+the base" is what leaves a Segment's speaker under a panel that was only meant to cover the Segment+before it.### A Segment fits one generation@@ -150,8 +176,8 @@ Decide, for each thing you place, which of three kinds it is:is exactly right, and the gap is the point.**Where the base is meant to stay hidden, the covering Selections tile the Segment.** A voiceover-led-stretch still has a speaking take under it — that is where the speech comes from — and the reference-never shows it, so every word of that Segment is inside one covering Selection or the next, with the+stretch still has a speaking take — that is where the speech comes from, so it is the base — and the+reference never shows it, so every word of that Segment is inside one covering Selection or the next, with themarkers above joining them. A gap does not read as black there; it reads as a presenter appearing forhalf a second in a program that has none.@@ -175,8 +201,8 @@ its window are two numbers arrived at separately. Where the material is the shorwhatever is beneath. `hold-start` pins the last frame for the rest of the window, `loop-start`repeats, `stretch` retimes to fit.-What appears is the base — the insert leaves early and the shot beneath returns mid-phrase. Read it-as an insert with the wrong length rather than as an edit, and give the Recipe a `playback` that says+What appears is the Segment's base — the insert leaves early and the picture that speaks the stretch+is alone again mid-phrase. Read it as an insert with the wrong length rather than as an edit, and give the Recipe a `playback` that sayswhat should happen there. `reconstruction_check` reads the Recipe before a Build and refuses thedefault on generated material.diff --git a/.agents/skills/hypit/references/reconstruction/continuity.md b/.agents/skills/hypit/references/reconstruction/continuity.mdindex e62e3324..e0bd2b8c 100644--- a/.agents/skills/hypit/references/reconstruction/continuity.md+++ b/.agents/skills/hypit/references/reconstruction/continuity.md@@ -13,6 +13,11 @@ These invariants override superficial layer order and shot boundaries:presence. The `agent` observer has no audio evidence and reads these from the frames and the wordtimings instead, which `observers.md` describes: the transcript is what decides whether anyone isspeaking at all, so it is what keeps a moving mouth in B-roll from becoming a speaker.+- The same evidence decides which picture is the Segment's base: whichever one shows a person saying+ the words the transcript carries there, however small it is and whatever is on screen over it. A+ full-frame board with the speaker inset in a corner is a base the size of the corner, covered by+ most of a board. `../playbooks/craft/generated-dependencies.md` holds the rule and what follows+ from it for stack order.- One overlay that continues across a cut remains one visual track spanning its full observedlifetime. Do not recreate it once per shot.- Merge two or three incorrectly split clips only when continuity evidence confirms one camera shot