Longform Continuity Engine
A continuity-aware generation engine that extends longform narratives episode by episode — preserving facts, character states, world rules, causality, and disclosure order through hard pre-commit gates.
What we are exploring
Can a language model write longform fiction that stays coherent across many episodes — where characters keep their established personalities, resolved conflicts don't quietly resurface, and the world obeys its own rules over tens of thousands of words?
Why it is difficult
A language model has no persistent memory of the world it is writing. After a few scenes, personality drifts, earlier resolutions get forgotten, and spatial or temporal continuity breaks. Keeping a large, consistent world state inside a finite context window — while still producing natural prose — is the hard part.
Technical overview
The engine separates the work into distinct layers: a structured world-state ledger for established facts, an emotional-affinity model for relationships, and a scene executor that advances the story episode by episode. Its key rule is evidence before state: a fact enters the established world only when it is grounded in generated text, not merely planned or implied.
What is being tested
We test continuity across real multi-episode runs: whether a character trait established in one episode holds in later ones, a resolved conflict stays resolved, and world facts remain stable as the story grows. Each candidate passage is checked against extracted evidence before entering canon.
What has been demonstrated
We have demonstrated that the engine can extend a story episode by episode within a single series, carrying state forward so later episodes remain consistent with earlier ones. Every state change passes a pre-commit gate: if the required checks do not run or they fail, the commit is rejected rather than silently accepted.
What remains unresolved
Longer stories make it harder to keep every part of the world state in view, and checks run by the writing model are not independent review. Validation results therefore include the method used and its scope.
Current research state
This is active research, not a released product. We'll share more of the approach once it's stable enough to describe accurately.