mlsanityData to 14 Oct 2026

Scaling Trajectories for Complex Tasks through Recursive Self-Rewrite

arXiv 2610.02826 ↗First posted 2 Oct 2026cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Successful trajectories on difficult tasks provide valuable supervision for model improvement, but specialized harnesses introduce interventions that may be unavailable during deployment. We propose Recursive Self-Rewrite (RSR), a framework that uses one base model, Qwen-3.8-27B, to discover successful solutions under diverse harnesses and reconstruct them as training trajectories under a general harness. A planner extracts procedures into runbooks, a critic screens for verifier and solution leakage and guides recursive revision, and an executor follows qualified runbooks in fresh sandboxes. Across approximately 3K self-curated terminal tasks, three harnesses jointly solve 759 tasks, 34.3% more than the strongest individual harness in the recorded pool. RSR expands 2,001 successful source trajectories into 11,094 rewritten trajectories for supervised finetuning. Training on these trajectories outperforms both the base model and direct trajectory SFT. Compared with the base model, pass@3 increases from 57.0% to 74.2% on Terminal-Bench 2, from 1.5% to 9.1% on Terminal-Bench 4, from 39.0% to 63.0% on our self-curated Terminal-Bench Hard, and from 3.0% to 6.0% on our Software Terminal-Bench. Process reward on Long-Horizon Terminal-Bench rises from 0.21 to 0.29. These results show how diverse harness-assisted experiences can be reconstructed into reusable capabilities for a model operating under a general harness.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 31 of its 39 references that are in the map. First posted on arXiv 2 Oct 2026.

Builds on

31 of 39 references.

References · 31

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  2. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  3. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  4. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
  5. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
  6. 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 228
  7. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 142
  8. 2026Self-Harness: Harnesses That Improve Themselvescited by 107
  9. 2026SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalizationcited by 94
  10. 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 76
  11. 2026Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflowscited by 57
  12. 2026Rethinking the Evaluation of Harness Evolution for Agentscited by 48
19 more
  1. 2025VisPlay: Self-Evolving Vision-Language Models from Imagescited by 47
  2. 2026Long-Horizon-Terminal-Bench: Testing the Limits of Agents on Long-Horizon Terminal Tasks with Dense Reward-Based Gradingcited by 31
  3. 2026MM-Zero: Self-Evolving Multi-Model Vision Language Models From Zero Datacited by 21
  4. 2026Recursive Synthesis for Long-Horizon Terminal Taskscited by 19
  5. 2026Dream-RSI: Recursive Self-Improvement through Evolving Worldscited by 18
  6. 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 15
  7. 2026The Scaffold Effect in Coding Agents: Harness Choice as a Hidden Variable in Coding-Agent Evaluationcited by 12
  8. 2026Jev for Scientific Decisions: Evaluating Semantic Choices and Their Consequencescited by 12
  9. 2026ModularRSI: Modular and Generalizable Recursive Harness Self-Improvementcited by 9
  10. 2026AI4AI at Test-Time: Strong-to-Weak Capability Transfer via Harnessescited by 7
  11. 2026ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agentscited by 7
  12. 2026Task-CoEvolve: Efficient Harness Optimization via Adaptive Validation Task Selectioncited by 5
  13. 2026SoL-Pi: Recursively Scaling Auto-Research Loops for Efficient Agent Harnesscited by 5
  14. 2026Harness-Zero: Harness Distillation via Agent-as-Harnesscited by 5
  15. 2026Co-Evolving Harnesses and Models: On-Policy Correction Helps Weaker Models Catch Up Where Imitation Failscited by 4
  16. 2026DCAS: Decoupling CLI Agent Scaffolding to Internalize Planning across Scaffoldscited by 3
  17. 2026PATS: Policy-Aware Training Scaffolding for Agentic Reinforcement Learningcited by 2
  18. 2026StateM: Reaching 95.3% Raw Accuracy, or a 15 Frontier Run, on Terminal-Bench 2.1 via Harness Scalingcited by 1
  19. 2026Raven: The Harness of Harnesses for Composable Agentic Intelligencecited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.