Files
agent/app/server/templates
kicer 3084e4f28a 两套模型提示词整体精简(用户手写)+ 提交前审查补两处
用户手工压缩 advising-system.txt 与 system-prompt.txt:能力清单从逐条枚举
压成段、handoff 产出说明去重合并、out-of-scope 处置压成三条、Tool Use 删掉
与工具描述重复的单工具用法(fetch/web_search/db/schedule 的描述已在
definitions.json 覆盖,核对过)、文档转换注记整节删除(x2pdf 技能 frontmatter
description 自带「一律用本技能、不要手写排版脚本」,技能清单段覆盖,核对过)。
压缩方向:省常驻 token,细节信源归一到工具/技能描述。

提交前审查发现并修复两处:
1. advising-system.txt 合并时删读出的残句「the system will switch a
   full-capability agent continues」→ 修成完整句(then switches the session
   into execution mode and a full-capability agent continues from the brief
   alone);
2. system-prompt.txt 精简时把「mint_public_link 不得用于含机密文件」连带删了
   ——工具描述只讲机制(publicly reachable / cannot authenticate)不讲禁令,
   这条护栏全网唯一,删了就没了:按精简后的句式补回 Tool Use。

重启后 prompt.txt dump:占位符零残留、护栏行就位,health 200。
2026-09-26 12:03:02 +08:00
..