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
Character
you editversioned — character_bible_versionsExtracted from the script at the Script stage, then yours to edit. The character's face, sheet and voice live on the character. Every change is a version. The character belongs to the organization (#2017): every sequence that casts it reads its current version, so an edit from any sequence re-stales the shots of every sequence by derivation, and a stale shot names the field that moved since the version live when it was made. A voice-only character (a narrator) has a row but never a sheet. What a character wears is its looks, not the bible.
Counts
Change one of these and what depends on it goes stale.
- Age, gender, ethnicity
- Physical description, permanent marks included
- Rendered as (sheet only, #2017): photoreal, 3D animated, cel, the one thing a sheet takes from a style
- Personality and movement (motion prompt only)
- Consistency tag (sheet only)
Does not count
Change these freely. Nothing goes stale.
- Name
- First mention
- Voice description
Edit this and these go stale
- in the input hash
- in the input hash — only a character this prompt names. An unwritten prompt reads the scene continuity tags (#2012)
- in the input hash — only a character this prompt names. An unwritten prompt reads the scene continuity tags (#2012)
- in the input hash — the bible fields of the characters the text names
- via Character sheet — the selected sheet version id, of the look the still's scene picks for the character (#2015)
- via Character sheet — the sheets ride as video references in both modes, only for characters the motion prompt names (#2012); the manifest stamps the version sent
- via Clip — the selected clip URL
Connected, but not tracked
- seeded once, then yours — the bibles call extracts the cast at the Script stage
- not tracked, by design — the voice description is drafted from the bible once
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 + dialogue — Also re-records a dialogue reading whose voice or lines moved. Never a first recording. Video stays for the next tick so the new take can be reviewed.
- 4.Prompts, images, dialogue + videos — Also re-renders a clip whose prompt, still, or dialogue changed in this run, or whose manifest already diverged. Never renders a first clip.
- 5.Everything, incl. music — Also rewrites a stale music prompt, then the track if one exists. Never a first track.