Files
gongzhiyongandClaude Opus 4.8 fb1eeeebfa fix(swebench): 真实仓 patch 捕获 + agent 稳定性
#1 稳定性:HEARTBEAT_TIMEOUT 30→120(可配 AGENT_HEARTBEAT_TIMEOUT)——真实仓 clone/长
模型调用不再误杀 agent。
#2 正确性/忠实度:
- 透传 GIT_BASE_COMMIT;agent clone 改为浅 fetch+checkout 该 commit(在正确基线上读/改,
  且大仓也快);emit_patch 持久化 base_commit + _git_diff 对 SHA 走浅 fetch。
- agent 读文件预算可配并调大(AGENT_CTX_MAX_FILES=40/BYTES=40000),LLM 看到完整文件,
  避免全量重写截断 → diff 失真。launcher 透传这些 env 给 agent pod。

import + runtime-contract/result-aggregator/security-boundary 测试全绿。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 00:25:38 +08:00
..
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00
2026-06-08 17:32:34 +08:00