zy-zmc/tianming-novel-ai-writer
天命 — AI小说创作/写作系统 | 15维事实快照 · 12类变更声明 · 6道生成门禁 | 写到3000章依然连贯,不依赖上下文,不靠模型记忆,靠每章状态回写
What it solves
AI models typically struggle to write long-form novels because they have limited memory and often forget plot points, character traits, or world-building rules as the story progresses. This project solves the "context window" problem by shifting from relying on AI memory to using a structured, state-managed database that tracks the story's facts and rules.
How it works
Instead of feeding the AI the entire previous text, the system treats the novel as a set of structured data. Before writing a new chapter, the system assembles a "task package" containing relevant character states, plot milestones, and world rules. After the AI generates a chapter, the system forces it to output a formal change declaration (CHANGES). This output passes through a six-stage "gatekeeper" check to ensure consistency before the data is saved to a 15-dimensional "fact snapshot." The next chapter then reads this updated snapshot, ensuring the story remains coherent even thousands of chapters later.
Who it’s for
This tool is designed for writers and developers who want to use AI to create long-form, complex fiction while maintaining strict control over narrative consistency, character arcs, and world-building without relying on the AI's unreliable long-term memory.
Highlights
- State-Driven Writing: Uses a 15-dimensional fact snapshot to track everything from character locations and relationships to secret knowledge and item possession.
- Six-Stage Gatekeeper: Automatically rejects chapters that violate established world rules, character traits, or plot logic.
- Long-Distance Recall: Uses vector-based semantic search to pull relevant historical plot points and milestones into the current chapter's context.
- Human-like Polish: Includes a local model for "humanization" to refine word choice and reduce the robotic "AI-flavor" in generated text.
- Structured Planning: Manages the story through four layers of planning: Outline, Volume, Chapter, and Blueprint.
Related
- Project
- Project
- Project
- Project