去 system prompt 冗余 + 让无关段不常驻: - 「宪法」文件命名约定 ~25→~6 行:只留格式定义+注入值+一行 current/重定调; 操作细节本就由 proposal/ppt skill 各自讲,两 skill 引用不动也不破 - run_python「先 write script 再 script_path」去重:模板+agent_builder 两处合一, scripts/ 子目录约定收进模板 - 媒体工具段(seedream/seedance 红线)抽成 _MEDIA_TOOLS_BLOCK,仅 ArkConfig.load() 非 None(有 ARK_API_KEY)时追加;ark_cfg 提前 load 一次复用给 tool 注册 - 路径 echo 全形式段 8→4 行 实测 media_enabled ON/OFF 差 891 字节(=媒体段),命名约定段拼接正常; test_system_prompt_paths 仍过。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| system | ||