mlsanityData to 14 Oct 2026

Probe-and-Refine Tuning of Repository Guidance for Coding Agents

arXiv 2606.20512 ↗First posted 18 Jun 2026cs.SE cs.LGcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

LLM-based coding agents need higher-level operational knowledge about a repository (which files house which subsystems, how to run the test suite, which workflows have historically led to wrong fixes) that does not exist in the code itself. Engineers typically maintain AGENTS.md files to supply this context as instructions for coding agents, but whether they help is contested: recent studies disagree on whether LLM-generated guidance improves or harms agent performance. In this paper we show that how the guidance is produced is the decisive variable, and introduce probe-and-refine tuning: a procedure that uses synthetic bug-fix probes to iteratively diagnose and patch a repository's guidance file through single-shot LLM calls, with no agent loop or tool use during tuning. On SWE-bench Verified across four independent trials with Qwen3.5-35B-A3B at 200 steps, probe-and-refine achieves 33.0% mean resolve rate vs. 28.3% for the static knowledge base used to initialize it and 25.5% for an unguided baseline (p < 0.001 for both probe-and-refine contrasts). The improvement comes from coverage rather than precision: refined guidance produces evaluable patches for 14.5 percentage points (pp) more instances while per-patch precision remains statistically constant (~59%, p = 0.119), showing that improved guidance helps agents reach the correct file rather than improving the quality of the changes they make. Further, a step-budget experiment shows that guidance is what lets the agent use a larger step budget productively, and a cross-model experiment with NVIDIA-Nemotron-3-Nano-30B-A3B finds that the tuning loop degrades when the model cannot generate sufficiently diagnostic output, though per-patch precision remains constant even then.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 12 of its 21 references that are in the map. First posted on arXiv 18 Jun 2026.

Builds on

12 of 21 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026Codified Context: Infrastructure for AI Agents in a Complex Codebase24 Feb
  2. 2026SWE Context Bench: A Benchmark for Context Learning in Coding9 Feb
  3. 2026On the Impact of AGENTS.md Files on the Efficiency of AI Coding Agents28 Jan
  4. 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding17 Nov
  5. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
  6. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul

Other references · 6

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  2. 2024AutoCodeRover: Autonomous Program Improvementcited by 278
  3. 2025Subliminal Learning: Language models transmit behavioral traits via hidden signals in datacited by 95
  4. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 91
  5. 2025Weird Generalization and Inductive Backdoors: New Ways to Corrupt LLMscited by 55
  6. 2026Meta Context Engineering via Agentic Skill Evolutioncited by 49

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback
  2. 2026SWE-Gate: Passing Functional Tests Is Not Enough for Software Engineering Agents
  3. 2026"Refactoring Runaway": Understanding and Mitigating Tangled Refactorings in Coding Agents for Issue Resolution
  4. 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?
  5. 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?
  6. 2026AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCP
  7. 2026Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures
  8. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories