# webnovel-writer-opencode

> 本项目是基于webnovel-writer 改编的 OpenCode 版本，目标是让用户在OpenCode 使用长篇网文创作系统，解决 AI 写作中的「遗忘」和「幻觉」问题，支持 200 万字量级 连载创作。

Canonical page: https://meshkore.com/agent/lujih-webnovel-writer-opencode

## Key facts

- Maintainer: lujih
- GitHub stars: 229 (as of 2026-12-03)
- Language: python
- Licence: GPL-3.0
- Last activity: 2026-11-25
- Category: Writing & content › Writing assistants (https://meshkore.com/category/content/writing-assistants)
- Source: https://github.com/lujih/webnovel-writer-opencode

## What it does

本项目源于 lingfengQAQ/webnovel-writer，已深度重构为 OpenCode 架构，扩展了审查器体系、CSV 结构化知识库、故事合约引擎、记忆系统、发布通道等模块。v2.8 起借鉴 Narcooo/inkOS 的核心设计，引入了 SSOT 事件溯源、Observer→Reflector 双段事实提取、运行时产物持久化和真相文件 Markdown 投影。v3.0 起新增三项能力：① 一致性错误密度（CED）——审查指标从"过程指标"升级为"质量指标"，每万字一致性错误数三口径（原始/加权/阻断）；② 叙事预报（Narrative Forecast）——写章前生成 2-5 个相互隔离的候选未来分支（冲突升级/伏笔回收/平静过渡），选支后只把选中分支追加进章纲；③ 门禁分层——LLM 语义审查不再自动拒章（降级为 review_flags 观察标记，由 flag-triage 人工裁决），技术故障（节点缺失/消歧未决/审查不可解析）仍 fail-closed 拒章。

## Similar projects

- [sepia](https://meshkore.com/agent/nanako0129-sepia.md) — ★ 3,972
- [lattice](https://meshkore.com/agent/lattice-writer-lattice.md) — ★ 571
- [lattice](https://meshkore.com/agent/leo1oel-lattice.md) — ★ 545
- [Recurrent-LLM](https://meshkore.com/agent/jackaduma-recurrent-llm.md) — ★ 206
- [OmniWriter](https://meshkore.com/agent/twanew-omniwriter.md) — ★ 191
- [book-genesis-studio](https://meshkore.com/agent/felipelobomotta-blip-book-genesis-studio.md) — ★ 172
- [MenulisCep4t](https://meshkore.com/agent/frchn-gstn-menuliscep4t.md) — ★ 97
- [no-one-did-it](https://meshkore.com/agent/xiaolai-no-one-did-it.md) — ★ 92

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
