Can Coding Agents Sustain Continual Evolution without Forgetting?
Shangziqi Zhao, Yitong Zhang, Jia Li
Tsinghua University
Published November 2, 2026 · on the feed November 3, 2026 · ▲ 7 · arXiv 2611.03219
The abstract
Recently, harness self-evolution has emerged as an important paradigm for improving agent performance. Prior studies show that evolving the agent harness can effectively enhance agent capabilities without modifying the foundation model's parameters. We find that existing approaches largely study agent evolution on a single task. In practice, coding agents may need to handle multiple task types over time. Whether an agent harness can continuously evolve across multiple tasks without suffering from catastrophic forgetting remains an important open question. In this paper, we investigate this open question through a comprehensive empirical study of continual harness self-evolution. We organize three software engineering task datasets into six different evolution directions and apply two representative harness evolution methods to perform continual evolution along these directions. Our experimental results show that evolution on a subsequent dataset can substantially undermine the performance on previously seen datasets. For example, with DeepSeek-V4-Flash-0731, Meta-Harness improves its performance on SWE-Bench to 94.0% after evolution. However, after further evolution on FeatureBench, its performance on SWE-Bench drops to 32.0% by the fifth round, corresponding to a 66% relative decrease. Finally, based on our experimental findings, we identify several insights, providing directions for the continual self-evolution of agent harnesses. Code is available at https://github.com/THU-Agent/continual-harness-evolution.
The Brief
2:08A short podcast summary of the paper. Written and voiced by AI.
Transcript
Can Coding Agents Sustain Continual Evolution without Forgetting?. By Shangziqi Zhao and two others, from Tsinghua University. Published on the second of November.
Harness self-evolution has become an important way to make agents better. The idea is to evolve the agent harness, the scaffolding around a model, and leave the foundation model's parameters untouched. Earlier studies show this can genuinely raise an agent's capabilities. But the authors observe that those studies mostly evolve an agent on a single task. A real coding agent may face several task types over time, which raises a plain question. Can a harness keep evolving across tasks without catastrophic forgetting? Their answer, from a broad empirical study, is that it largely cannot. Evolving on a later dataset can substantially undermine performance on datasets the agent has already seen.
To test this, the authors take three software engineering task datasets and organise them into six different evolution directions, each a path the agent's harness evolves along from one dataset to the next. Two representative harness evolution methods are then run continually along each direction.
One example shows the size of the effect. With DeepSeek V four Flash zero seven three one as the model, Meta-Harness evolves its way to ninety-four percent on SWE-Bench. The harness then keeps evolving, now on FeatureBench. By the fifth round, its SWE-Bench score has fallen to thirty-two percent. That is a relative decrease of sixty-six percent. What the harness learned for the first task was largely overwritten by what it learned for the second.
The scope matters here. The study covers software engineering tasks drawn from three datasets, six evolution directions, and two harness evolution methods. The striking numbers quoted come from one model, one method and one pair of benchmarks; the broader claim is that later evolution can substantially hurt earlier performance, not that it always destroys it by the same amount. The paper is a diagnosis rather than a fix. From the experiments, the authors draw several insights that point toward directions for continual self-evolution of agent harnesses.
Forgetting is usually discussed as something that happens to model weights. This result moves it one level up. Even when the weights never change, a harness that keeps rewriting itself can lose what it once did well, so a harness that improves on today's task may quietly be getting worse at yesterday's.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free