mlsanityData to 24 Nov 2026

Knowing When to Stop: The Evidence-Action Gap in Coding Agents

arXiv 2610.31895 ↗Submitted 22 Oct 2026cs.SE cs.AI cs.CLcited by 0

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

Abstract (arXiv)

Coding agents are trained to complete tasks, and they keep trying even when the environment makes completion impossible. The evidence that only outside help can restore progress usually appears within a few steps, yet agents rarely act on it: they over-persist, attempt undesired workarounds, and claim success the record does not support -- a phenomenon we call evidence-action gap. To measure it, we introduce ImpasseBench, which injects twelve realistic environment blockers into otherwise solvable repair tasks and marks, in each trajectory, the step at which the collected evidence becomes sufficient. Scoring actions relative to that step separates appropriate effort from over-persistence and premature handoff. Across eight frontier models and 19,371 trajectories, we find that nearly every run that needs outside help collects sufficient evidence, yet a third still exhaust their budget, and every unsafe request we detect comes after that point. Fortunately, an escalation tool, or an external monitor for models that ignore the tool, already guards against much of this behavior: the tool cuts budget exhaustion from 34.0% to 6.7%, and the monitor nearly triples task success after environment restoration. Even then, a fired escalation is not yet a useful handoff: tickets reliably name the blocker but often omit the agent's own progress and verification status. Taken together, we argue that knowing when to stop therefore needs explicit support, both in the tool that lets an agent hand off and in the report it leaves behind.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 8 of its 22 references that are in the map. Submitted 22 Oct 2026.

Builds on

8 of 22 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr

Other references · 7

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  2. 2023ExpertQA: Expert-Curated Questions and Attributed Answerscited by 106
  3. 2025ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Casescited by 101
  4. 2026HiL-Bench (Human-in-Loop Benchmark): Do Agents Know When to Ask for Help?cited by 38
  5. 2026AgentAbstain: Do LLM Agents Know When Not to Act?cited by 29
  6. 2026Agentic Abstention: Do Agents Know When to Stop Instead of Act?cited by 22
  7. 2026Is this Build Failure Related to my Patch? An Empirical Study of Unrelated Build Failures in Continuous Integrationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Done, But Still Working: Anytime Evaluation of When Coding Agents Should Stop
  2. 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agents
  3. 2026What Coding Agents Leave Unsaid: Measuring Task-State Gaps Between Execution and Reports
  4. 2026Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
  5. 2026Coding Agents Don't Know When to Act
  6. 2026When Passing Checks Do Not Establish Completion: Evidence Interpretation in Coding Agents
  7. 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents
  8. 2026What Process Evaluation of Coding Agents Actually Measures: Action, Task, and Step Are Three Different Levels