协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
lov-fix-deepseek-tool-call-error【开发与工程】修复 Codex 在 DeepSeek(provider=yoda)会话里的 No tool output found for tool call 400 与 thread 永久锁死:扫描本地 rollout 取证,恢复任务并落地看图与批次规避规则。Use when a DeepSeek thread fails with No tool output found for tool call.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Codex 在 DeepSeek(provider=yoda、wire_api = "responses")上跑长任务时,只要一条
assistant 消息里同时发出多个工具调用、且批次里存在被缩放的图片,Codex 就会在批次结果
齐全之前发出下一次请求,DeepSeek 以 No tool output found for tool call call_XX_...
返回 400,并让这条 thread 永久失败。本 Skill 负责取证、恢复与预防。
No tool output found for tool call call_... 报错,或说“又报错了”“这个 thread 又废了”。wire_api = "chat" 的配置上;先按 lov-fix-general 常规排错。lov-read-codex-session。lov-fix-general 或 debug-pro。SKILL_DIR,否则按当前 Skill 上下文推断安装目录。scripts/scan_deepseek_sessions.py 存在;缺失时先报出期望路径,不产出半成品。python3 "$SKILL_DIR/scripts/scan_deepseek_sessions.py"
~/.codex/sessions 与 ~/.codex/archived_sessions;用 --root 追加目录,
用 --file 指定单个 rollout,用 --json 取结构化结果。--file 精确扫描。variant = image_batch_with_resize_notice:批次含 view_image,且该 thread 出现过
<image_resize_notice> —— 当前已知的唯一真实诱因。references/mechanism.md 的其它触发路径(hook 注入的
developer 消息、被中断的批次),不要直接套用图片结论。按 references/recovery.md 执行:
按 references/prevention.md 落地,默认顺序:
view_image 独占一条消息,不与任何其它工具调用同批(含 sips、rg 这类快命令)。sips -Z 2048 <图> --out <副本>。lov-describe-image),会话内不看图。view_image 工具的方式规避:代价是整机失去看图能力,破坏性远大于收益。scripts/validate_skill.py。lov-read-codex-session 读 thread 状态,
lov-describe-image 提供外部看图通道,lov-feedback-loop 记录事故反馈。