Skip to content

Keeping continuity

In a long book, a setup defined earlier often contradicts what comes later. A character with blue eyes in Chapter 3 turns brown in Chapter 12. Hand a long book to AI and this happens more, because it forgets earlier chapters as the context grows long. book-studio blocks this spot with files rather than memory.

Character appearance, world rules, and timeline events are extracted into consistency_index.json. Each time a new chapter is written, writing-agent reads this index, and continuity-check cross-checks that the chapter doesn’t contradict it.

The point is that it doesn’t lean on the AI’s memory. Whether there are 100 chapters or the session broke for days, the index holds the setup, so verification works. With “blue eyes in Chapter 3” planted in the index, the moment Chapter 12 tries to write them brown, the contradiction gets caught.

When a chapter contradicts the index, it’s recorded in the per-chapter chapters/ch{NN}_continuity.md, and quality-agent folds it into ch{NN}_review.md. writing-agent fixes that spot. It’s closer to a verification report than a gate. When it points at a contradiction, a human judges whether it’s an intended change (e.g., the character put in contact lenses) or a mistake.

There are spots where the setup really should change for the story — a character gets hurt, or a world rule changes through an event. In that case you update the index. Tell it “from this point this character’s setup changes,” and the index records that change along with the point in time. Chapters after that are verified against the new setup. It doesn’t block blindly; it’s the spot that distinguishes an intended change from a mistake.

Practical and technical books have no characters or world. Instead they use the same index for terminology consistency and fact-checking. It catches a term defined in Chapter 1 used differently in Chapter 8, or a figure presented earlier contradicting a later one. What the index tracks differs by type.

A beginner rarely touches the index directly

Section titled “A beginner rarely touches the index directly”

Almost never. The index is filled and updated automatically in Tier 2 and Tier 3. All you do is tell it when the setup changes on purpose. The rest, continuity-check handles at each chapter.

To write several books at once, go to multiple-books. The spots gates and hooks handle automatically are in automated-safety-net.