diff --git a/docs/design/08-classify-outcome-optimization.md b/docs/design/08-classify-outcome-optimization.md index c560463..876286c 100644 --- a/docs/design/08-classify-outcome-optimization.md +++ b/docs/design/08-classify-outcome-optimization.md @@ -93,7 +93,7 @@ TCP 握手只能检测进程端口是否监听,无法检测 Gateway **业务 | A1 | status=ok, summary=completed | completed | — | 结束 | | A2 | status=timeout | gateway_timeout | ✅ | retry(续杯) | | A3 | status=ok, fallback_used, **fallback_count ≥ 2** | fallback_exhausted | ❌ | 标 failed + 原因写黑板 | -| A3b | status=ok, fallback_used, **fallback_count < 2** | fallback_retry | ✅ | retry + cooldown 30s | +| A3b | status=ok, fallback_used, **fallback_count < 2** | fallback_retry | ✅ | retry + cooldown 60s | | A4 | task_status=failed | agent_failed | — | 尊重,不干预 | | A5 | status=ok(其他组合) | completed | — | 结束 | | A6 | status=error + stderr 含 auth 关键字 | auth_failed | ❌ | 标 failed + 原因写黑板 | @@ -181,7 +181,7 @@ TCP 握手只能检测进程端口是否监听,无法检测 Gateway **业务 | 场景 | cooldown | 理由 | |------|----------|------| -| A3b fallback | 30s | 模型抖动,短冷却 | +| A3b fallback | 60s | 统一简化 | | A7/A16 compact | 60s | 等 compact 完成 | | A8/A15 network | 60s | 网络暂时性问题 | | A9 rate_limit | 60s | API 限流需要等待 | @@ -267,7 +267,7 @@ stderr_preview 和 exit_signal 写 metadata 的方案暂缓,本轮不实施。 | test_A3b_fallback_retry | fallback_count=0 → retry | | test_A3_fallback_exhausted | fallback_count=2 → failed | | test_A7_compact_retry | status=error + compact → retry + 60s cooldown | -| test_A8_network_retry | status=error + network → retry + 30s cooldown | +| test_A8_network_retry | status=error + network → retry + 60s cooldown | | test_A9_rate_limit_retry | status=error + rate_limit → retry + 60s cooldown | | test_A10_lock_retry | status=error + lock → retry + 10s cooldown | | test_A11_agent_error_reason | status=error + 未知 stderr → failed + reason |