跪拜 Guibai
← All articles
AIGC · Agent · Artificial Intelligence

A Novel-Writing AI Toolchain That Checks Its Own Plot Coherence

By 后端小肥肠 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

AI-assisted long-form fiction still breaks down over multiple chapters because models lose track of earlier plot points and character traits. This toolchain attacks that problem with persistent storage, explicit continuity checks, and manual plot-correction hooks, which is a practical pattern for any generative task that spans many interdependent outputs.

Summary

A former programmer turned solo founder has built a novel-writing Skills component that strings together the entire long-form fiction pipeline: material collection, outlining, character design, chapter generation, and a coherence checker that flags plot gaps and character inconsistencies. The tool saves everything into an Obsidian vault so each new chapter can reference prior content, and writers can manually inject plot direction when the AI drifts. A separate knowledge-base builder ingests local or online novels to let the model mimic a specific style, though early experiments suggest that dumping too many reference works into a single knowledge base degrades output quality. The whole system is surfaced through a personal workbench UI that replaces chat-command workflows with one-click buttons.

Takeaways
Chapters are saved to an Obsidian vault so the model can read prior content when generating the next chapter, reducing plot drift.
A continuity-check function scans across chapters for coherence gaps and character out-of-character (OOC) issues, producing a report that can be fixed with AI.
Writers can manually set the plot direction for each chapter to correct the AI when it veers off course.
Building a knowledge base from reference novels lets the model imitate a specific style, but adding too many sources appears to dilute output quality.
The entire workflow is packaged as a visual workbench with buttons rather than requiring chat commands.
Conclusions

Persistent storage plus explicit coherence checks is a lightweight alternative to large context windows for maintaining state across many sequential generations.

The observation that larger knowledge bases produce worse style imitation suggests retrieval-augmented generation systems need curation and sub-selection, not just more data.

Manual plot-direction inputs act as a human-in-the-loop steering mechanism that sidesteps the difficulty of fully automating narrative consistency.

Concepts & terms
OOC (Out of Character)
In fiction writing, OOC refers to a character acting in a way that contradicts their established personality, background, or prior behavior, breaking reader immersion.
Obsidian vault
A local folder of Markdown files managed by the Obsidian note-taking app, used here as persistent storage so the AI can read and write chapters with full context.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗