How Do Coding-Agent Harnesses Self-Evolve? An Empirical Study of Retrospective Adaptation
- ID: 7897859d
- 原文链接: https://arxiv.org/abs/2610.34938
- PDF: https://arxiv.org/pdf/2610.34938v1
- 作者: Christoph Treude, Sebastian Baltes
- 日期: 26 Oct 2026
- 更新: 26 Oct 2026
- 分类: coding
- 来源类型: paper
- 标签: coding-agents, self-evolution, retrospective, harness, claude-code
- 质量评分: 4/5
- 抓取时间: 2026-10-28T15:46:42Z
中文导读
让 agent 复盘会话并提出 harness 修改建议的「自我进化」机制最近流行,但改动能否减少后续任务的重复劳动缺乏验证。作者在 30 个 SWE-bench Verified issue 上跑 Claude Code 的复盘技能,定性编码 125 条建议、实现 24 条,其中 12 条在相同仓库新 issue 上做有/无改动对照。建议大多挂在会话具体事件上,但 43 条 lint 建议里 18 条是无条件推荐;可判的 7 个评估中 2 条让目标动作完全消失、1 条减少发生、4 条无减少。瓶颈不在生成改动而在验证改动:没有对照复测机制,harness 只会越长越臃肿。
为什么值得关注
让 agent 复盘会话并提出 harness 修改建议的「自我进化」机制最近流行,但改动能否减少后续任务的重复劳动缺乏验证。作者在 30 个 SWE-bench Verified issue 上跑 Claude Code 的复盘技能,定性编码 125 条建议、实现 24 条,其...
Extra grounding: arXiv v1 submitted 26 Oct 2026; subjects cs.SE, cs.AI.
Obsidian 摘要摘录
摘自 论文流水线 2026-10-28:
作者在 30 个 SWE-bench Verified issue 上跑 Claude Code,收集 125 条复盘建议并做定性编码,实现 24 条,再对其中 12 条在相同仓库的新 issue 上做有/无该改动的新会话对照。建议大多挂在会话里的具体事件上,但也有 43 条 lint 相关建议里 18 条是无条件推荐某种实践,跟发生了什么无关。12 条评估里,只有在无改动会话确实碰到目标问题的 7 个评估可判:2 条改动让目标动作完全消失,1 条减少发生,4 条没有减少,有的还在无关任务上添了新工作。
关键信息
- 论文标题:How Do Coding-Agent Harnesses Self-Evolve? An Empirical Study of Retrospective Adaptation
- 作者:Christoph Treude, Sebastian Baltes
- arXiv:https://arxiv.org/abs/2610.34938
- PDF:https://arxiv.org/pdf/2610.34938v1
- 发布时间:26 Oct 2026
- 更新时间:26 Oct 2026
- arXiv 分类:Software Engineering (cs.SE); Artificial Intelligence (cs.AI)
- 关联标签:coding-agents, self-evolution, retrospective, harness, claude-code
English Abstract
Coding agents can adapt their harnesses, the software, configuration, and instructions used to run them, based on experience from earlier tasks, but whether these adaptations improve their behavior on later tasks remains unclear. We study \retro, a skill that asks an agent to review a completed session and propose harness changes, and ask what changes it proposes and whether implemented changes reduce repeated work on later tasks. We ran Claude Code on 30 SWE-bench Verified issues, qualitatively coded the 125 proposals from \retro, implemented 24, and evaluated 12 harness changes on later issues from the same repositories in fresh sessions with and without each change. Most proposals referred to an event in the session, but 18 of 43 lint-related proposals recommended a practice regardless of what had happened. Among the seven evaluations in which sessions without the change encountered the targeted problem, two changes eliminated the targeted action, one reduced its occurrence, four showed no reduction, and some changes added work on unrelated issues. Harness self-evolution requires more than generating and implementing changes: it needs ways to establish whether a change helps on later tasks and to revise or remove changes that do not.