non-verbose output: exhaust stream silently, yield content only; add plan_sop; subagent_sop cleanup

This commit is contained in:
Jiaqing Liang
2026-03-02 23:06:07 +08:00
parent d010ab1995
commit 5c3193f326
4 changed files with 28 additions and 3 deletions

View File

@@ -22,8 +22,9 @@ proc = subprocess.Popen(
- 必须 Popen禁止 subprocess.run会阻塞
- stdout.log/stderr.log 用于调试subagent卡死、LLM调用失败等问题
- `--llm_no` 默认=sonnet 4.5`--llm_no 1`=opus 4.6
- 文件统一 UTF-8subagent 无 reply 5min 自动退出无需清理
- **禁止合并启动+轮询到同一个code_run**——会阻塞自己。启动Popen立即返回下一轮再poll output.txt。这是并行的前提
- 新建/复用任务目录时,先删除旧 output*.txt否则会读到上次结果误判完成
## 场景1测试模式 - 行为验证
**用途**观察agent真实行为修正RULES/L2/L3/SOP