[Bug] 守护进程模式下 state validation 失败时生成不完整的坏章节文件
Autonomous novel writing CLI AI Agent — agents write, audit, and revise novels with human review gates
Brought to you by:
dylannn
Originally created by: welsione
在守护进程模式(inkos up)下运行 write next 时,如果 Phase 2 state settlement 阶段的 StateValidator 返回空响应(LLM returned empty response),会触发以下问题:
chapters/ 目录下生成一个不完整的碎片章节文件(如 "菜市场的算法" 仅 164 字)index.json 中写入一条完整的章节记录(包含 wordCount、auditResult 等元数据)结果:index.json 中出现两条第二章记录,且其中一条是坏数据,需要手动清理。
inkos up 启动守护进程inkos write next --count 1 --words 3000 --context ...chapters/ 目录和 index.jsonstate validation 失败时,应该:
failed 的条目WARN [state-validator] State validation failed: Error: LLM returned empty response
[
{
"chapterNumber": 2,
"title": "菜市场的算法",
"wordCount": 164,
"status": "ready-for-review",
...
}
]
Originally posted by: Narcooo
感谢报告,问题确认,v0.6.2空响应不再写入磁盘