fix(plan): 补章纲模板文件,并在生成与验收两处加跨章状态接续约束 - #138
Open
PTAbabybearR wants to merge 1 commit into
Open
Conversation
问题 - templates/output/ 下有总纲/卷节拍表/卷时间线/各设定集模板,唯独缺详细大纲(章纲)模板。 Step 7 用自然语言声明了每章必须包含的字段,但没有可加载的模板,字段每次现写, 跨卷不稳定,项目也无法稳定扩展自定义字段。 - Step 9 验收只检查相邻章 CEN -> CBN 是否逻辑承接,不检查同一场戏是否被分给了相邻两章。 结构:第 N 章 `目标` 写成「做完 A,并把 B 办了」,而 B 本应是第 N+1 章的戏, 第 N+1 章 `CPNs` 里又演了一次 B —— 写手照第 N 章目标写,就把第 N+1 章的节点提前用掉; 同一份产出里还伴随时间冲突:某必需物有工期,而次日那一章的目标依赖它。 Step 5 生成的时间线表本身是对的,越界发生在 Step 7 写 `目标` 栏时 (`目标` 是自然语言,最容易顺带把下一章的动作描述进去)。 该项目此后数十轮人工修订均未发现,因为没有任何一道检查覆盖它。 改动 - 新增 templates/output/大纲-卷详细大纲.md,固化 Step 7 已声明的字段与顺序, 并为项目自定义字段保留固定位置(本章变化之后、章末未闭合问题之前)。 - SKILL.md 读取策略表增加 Step 7 加载该模板。 - Step 7 核心约束增加三条:相邻章不得重复同一场戏、目标必须在本章 CPNs 里有节点、 客观等待期必须体现在时间字段里。 - Step 9 增加跨章状态接续检查(逐对相邻章),不通过则修正后重跑。 向后兼容:模板为新增文件;SKILL.md 只增不删,旧项目章纲缺字段时原有兼容条款不变。
PTAbabybearR
force-pushed
the
fix/chapter-outline-template-and-cross-chapter-check
branch
from
August 4, 2026 11:34
4de8983 to
e3706af
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #137
问题
/webnovel-plan生成的章纲里,相邻两章可能被分到同一场戏,且 Step 9 验收检查不出来。完整描述见 #137。一句话概括:Step 5 生成的时间线表是对的,是 Step 7 写
目标栏时把下一章的事写了进去(目标是自然语言,最易越界),写手照目标写就把下一章的节点提前用掉。改动
1. 新增
templates/output/大纲-卷详细大纲.mdtemplates/output/原本有总纲、卷节拍表、卷时间线、各设定集模板,唯独没有章纲模板。本文件把 Step 7 已经用自然语言声明的字段固化下来,并:###(下游按### 第 N 章定位章节边界)本章变化之后、章末未闭合问题之前),避免各卷插入位置不一致2.
SKILL.md目标是自然语言、最易越界)目标必须在本章CPNs里有对应节点兼容性
模板为新增文件;
SKILL.md只增不删,原有「旧项目章纲缺失字段时跳过结构化检查」的兼容条款未改动。验证
在一个真实项目(80 章/卷)上验证:
目标栏自行写下了边界说明,明确指出后续两件事各自属于哪一章;并把下一章那件有工期的物品改为「当天取得」,以满足当天完成。生成结果无重叠。第二个 commit 修的是第一版模板把标题写成二级
##的问题——它会导致按### 第 N 章定位的下游脚本一章都识别不到。