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
Look
you editversioned — character_look_versionsAn outfit on one character: a name, the clothing, and the hair, makeup or injury notes that change with it (#2015). Every character has a default look, and each scene picks one look per character. Every edit is a version, read by every sequence that casts the character (#2017), so a stale shot names the look and what moved: Character "Mia" (Gala gown): clothing. Each look has its own sheet, shared by every sequence.
Counts
Change one of these and what depends on it goes stale.
- Clothing
- Styling (hair, makeup, injuries), once it is set
- On the default look, the features text a bible version from before #2065 still holds: read as part of its styling until that styling is edited, which moves it into the look
Does not count
Change these freely. Nothing goes stale.
- Name
- A look no scene wears: it reaches no shot, and gets a sheet only when asked for one
Edit this and these go stale
- in the input hash — the look's clothing, and its styling once set. The default look's styling includes the features text a bible version from before #2065 still holds; a sheet stamped then verifies against the two stored parts until the legacy shapes are removed. A look other than the default also hashes the default look's sheet version, and is drawn from that sheet (#2015)
- in the input hash — the clothing of the look this scene picks for a character the prompt names. Another look of the same character moves nothing (#2015)
- in the input hash — the clothing of the look this scene picks for a character the prompt names. Another look of the same character moves nothing (#2015)
- in the input hash — the clothing of the look the scene picks
- 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 writes the outfit a character first appears in as its default look
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.