Developer Guide
Dependency graph
Interactive map of the generation graph: pick anything you can edit and see which prompts, sheets, stills and clips go stale.
Every generated artifact stores a hash of the inputs it was made from. Staleness is never a flag we set: on every read we recompute the hash from the current inputs and compare. A mismatch is stale. A row with no stored hash is untracked and never stale. Versioned things (green border) keep every generation as a row and a pointer picks one. Renders record which version of a prompt or sheet they used, so selecting a different version is what makes them stale, not editing the text.
- tracked
- not tracked — a gap
- not tracked, by design
- seeded once, then yours
- versioned
- optional
- goes stale
- makes it stale
Clip
generatedversioned — video_variantsvideo_variants.manifestThe rendered video for a shot.
Counts
The check compares these. Change one upstream and this goes stale.
- Which motion prompt version it rendered
- Which still version it rendered (start-frame mode)
- Bound dialogue-audio identity (audioSourceKey: voice id + line + tone + TTS model)
Does not count
Change these freely. Nothing goes stale.
- Duration: recorded in the manifest, ignored by the compare since a re-snap flagged every clip (#767)
- Video model (a different model is a different segment, not a stale one)
- Reference sheets it was drawn from (reference-only mode): the manifest records no sheet versions
- Audio or video elements it was sent as references: the manifest does not record them
Regenerate this and these go stale
- in the input hash — the selected clip URL
Goes stale when any of these change
- by selected version — the manifest records the prompt version
- in the input hash — line + tone fold into audioSourceKey on the manifest
- in the input hash — the voice id folds into audioSourceKey; the LLM never sees it
- via Motion prompt
- via Motion prompt
- via Motion prompt
- via Motion prompt
- via Motion prompt
- via Motion prompt
- via Motion prompt
- via Motion prompt — each mode uses a different prompt template
Connected, but not tracked
- not tracked — a gap — the sheets are the video references, but the manifest does not record them
- not tracked — a gap — the sheets are the video references, but the manifest does not record them
- not tracked — a gap — the manifest records it but the compare ignores it, because a pipeline re-snap flagged every clip (#767); snapping both sides would fix that
- not tracked — a gap — an audio or video element goes as a reference when the model takes one; the manifest does not record it
- not tracked, by design — stamped on the version, never compared
- not tracked, by design — a different model is a different segment, never a stale one
- not tracked, by design — a render-time option, not stored
What "Update all" regenerates
The depth picker is cumulative. Each rung includes the ones above it, and no rung ever creates an artifact that does not exist yet.
- 1.Prompts only — Rewrites stale visual and motion prompts. Nothing renders.
- 2.Prompts + images — Also re-renders a still that is stale, or whose prompt was just rewritten. Never renders a first still.
- 3.Prompts, images + videos — Also re-renders a clip whose prompt or still changed in this run, or whose manifest already diverged. Never renders a first clip.
- 4.Everything, incl. music — Also rewrites a stale music prompt, then the track if one exists. Never a first track.