Skip to content

fix: 章节字数限制导致剧情节奏问题#1

Open
crazytreeChen wants to merge 1 commit into
mainfrom
fix/chapter-pacing-word-limit
Open

fix: 章节字数限制导致剧情节奏问题#1
crazytreeChen wants to merge 1 commit into
mainfrom
fix/chapter-pacing-word-limit

Conversation

@crazytreeChen

Copy link
Copy Markdown
Owner

问题

章节字数限制后 writer agent 砍掉必要铺垫,导致转场突兀。

修改

assets/prompts/writer.md — 字数章节重写:剧情密度先于字数裁剪 + 必要铺垫保护清单 + 另开章节兜底原则

关联: crazytreeChen/ainovel-gui#2

核心修改:
- writer.md: 重写字数章节,剧情密度先于字数裁剪
- 新增必要铺垫保护清单(角色反应/对话过渡/环境/决策/章末余韵)
- 新增另开章节兜底原则

同步修改:
- headless/run.go: stdinDispatcher 统一管理 stdin 读取
- host/steer_assessment.go: 偏离评估模块
- host/host.go: Steer() 调用偏离评估
- host/events.go: 精确度约束提取器
- userrules/service_test.go: 修复预存测试阈值 bug
- architect-long.md: ±2% 精确度硬约束

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant