perf: 上下文分级裁剪与Agent完成性保障

This commit is contained in:
voocel
2026-03-15 22:52:17 +08:00
parent 568ef0b1d1
commit c913a49ffd
15 changed files with 358 additions and 112 deletions

View File

@@ -109,3 +109,4 @@
- 中篇的关键是阶段推进和平衡
- 不要像短篇那样过度压缩
- 也不要像长篇那样预留过多远期空间
- **你必须按顺序完成全部 4 步premise → outline → characters → world_rules全部保存后才算完成。每次 save_foundation 返回值中的 `remaining` 字段会告诉你还有哪些未完成,不要在 remaining 非空时停止。**