arXiv:2610.29870cs.SEOct 2026

Manuscript Offprint

arXiv:2610.29870

PAUSE: Search-Free Steering of Coding Agents Before Their First Source-Code Edit

Viral Patel, Boyin Tan, Jason Xue, Youcheng Sun

VIRAL PATEL, Mohamed bin Zayed University of Artificial Intelligence, United Arab Emirates

BOYIN TAN, Mohamed bin Zayed University of Artificial Intelligence, United Arab Emirates

JASON XUE, Mohamed bin Zayed University of Artificial Intelligence, United Arab Emirates

YOUCHENG SUN, Mohamed bin Zayed University of Artificial Intelligence, United Arab Emirates

Coding agents can invest substantial effort in repository exploration and testing yet still produce unsuccessful patches. Existing online steering methods commonly review execution trajectories periodically or invoke an advisor when a monitor detects behavioral problems. Frequent reviews are costly, and the absence of anomalous behavior does not mean that an agent is on the right track. To bridge this gap, we propose PAUSE, a framework for steering coding agents with a single planning intervention. We find that agents reach their first source-code edit at a median of 60% of trajectory progress, with the preceding work largely devoted to repository exploration, bug reproduction, and testing. This motivates intercepting the request before execution, so that the agent's accumulated investigation can guide the repair it is about to implement. Because the first source-code edit directly identifies when to intervene, PAUSE locates this point without a learned monitor, a search over candidate checkpoints, or an extra model call—a property we call search-free. At this point, a separate Planner reads the task and pre-edit transcript to produce one repair plan. The same agent, the Executor, resumes with this plan, retaining its accumulated context and workspace. PAUSE applies both online, during a live run, and offline, from a recorded trajectory prefix.

We evaluate PAUSE on SWE-bench Verified and SWE-bench Multilingual with two Executors and three agent harnesses. With Qwen3-coder as Executor and GPT-5.6 Sol as Planner, online steering in OpenHands improves resolution on Verified by 16.8%, and online steering in SWE-agent improves resolution on Multilingual by 14.7%. In SWE-agent, against LivePlan, which invokes an advisor through rule-based monitoring, PAUSE is more effective at a similar Planner cost, improving resolution by 3.2% and 3.7% on Verified and Multilingual, respectively. Against SICA, which reviews the trajectory periodically, PAUSE remains comparable on both benchmarks while incurring about 11% and 15% of SICA's Planner cost on Verified and Multilingual, respectively. Offline, PAUSE recovers 35.4% of the eligible failed Verified tasks, and resuming from the recorded prefix uses 33–41% fewer Executor tokens than restarting. These results show that a single planning intervention at the first source-code edit is more effective than rule-based monitoring and competitive with periodic oversight at a small fraction of its cost.

CCS Concepts: • Software and its engineering → Software maintenance tools; Software testing and debugging; • Computing methodologies → Intelligent agents.

Additional Key Words and Phrases: coding agents, agent steering, planning, trajectory reuse

1 Introduction

LLM-based coding agents tackle repository-level issues by inspecting code, making edits, and running commands and tests through an interactive tool interface [4, 36, 41]. Existing repair systems gather relevant context through localization and structural code search [38, 47], and infer code intent to guide repair [30]. However, agents can still struggle to turn this investigation into a correct repair [41]. This motivates online steering, which uses the context accumulated during execution to guide the agent's subsequent repair decisions [11, 21, 25].

The timing of guidance shapes both the effectiveness and cost of online steering [22]. As shown in Table 1, existing methods decide when to guide either through repeated model-based reviews

Authors' Contact Information: Viral Patel, Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates; Boyin Tan, Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates; Jason Xue, Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates; Youcheng Sun, Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates.

Patel et al.

Table 1. Online steering methods compared by how they decide when to guide. Trigger: the event that starts an intervention. Timing model call: whether a model must be called to decide when to intervene. Needs detected problem: whether guidance is given only after a problem in the trajectory is detected. Interventions: how many times guidance is inserted into a single run.

MethodTriggerTiming model callNeeds detected problemInterventions
SWE-PRM [11]Fixed step intervalYesYesRepeated
SICA [29]Overseer-chosen intervalYesYesRepeated
LivePlan [22]Rule-detected anomalyNoYesRepeated
PAUSE (Ours)First source-code editNoNoOne

or by waiting for a detected problem. With periodic model-based review, methods such as SWE-PRM [11] and SICA [29] repeatedly assess ongoing execution at regular step or time intervals to determine whether guidance is needed. Each review incurs additional inference cost, while longer intervals can delay useful feedback until the agent has taken further steps along an ineffective path [22]. A fixed schedule also need not align with the point at which accumulated investigation is ready to inform a code change. To reduce review overhead, LivePlan uses rule-based checks to invoke an advisor when signals such as repetition, stagnation, or skipped phases are detected [22]. This reduces monitoring cost, but intervention remains limited by the coverage of predefined signals, which LivePlan acknowledges may be incomplete [22]. Thus, the absence of a behavioral alarm does not establish that the repair strategy is correct: an agent may follow an orderly workflow while preparing an ineffective change.

We therefore seek a moment to guide repair using the agent's accumulated investigation, without repeated trajectory reviews or waiting for a behavioral alarm.

Why the first source-code edit? To identify such a moment, we analyze 500 recorded Qwen3-coder trajectories on SWE-bench Verified. We define the first source-code edit as the first file-editor request targeting a source-code file of the repository. We classify recorded actions into five categories: explicit reasoning, file inspection, shell command execution, file editing, and other operations, including termination. Figure 1 visualizes these sequences over normalized action progress and orders trajectories by their first source-code edit; edits to scratch files or reproduction scripts outside the designated source-code paths are excluded. Among the 476 trajectories containing such a request, its median position is 60.0%60.0\% of action progress, and 80.5%80.5\% occur after the midpoint. Before common action type and file reads account for 31%31\% of actions, reflecting substantial repository investigation before the proposed source change. This observation motivates intervening before the proposed source-code edit executes, when accumulated evidence is available to inform the repair and the proposed change remains open to revision. Our experiments confirm that this point balances the two: an earlier intervention gives the Planner too little of the investigation

Figure

Fig. 1. Actions in 500 Qwen3-coder runs on SWE-bench Verified. The curve marks first source-code edits (median 60.0%60.0\%); 24 runs without one lie below the divider.

this point, command execution is the most common action type and file reads account for 31%31\% of actions, reflecting substantial repository investigation before the proposed source change. This observation motivates intervening before the proposed source-code edit executes, when accumulated evidence is available to inform the repair and the proposed change remains open to revision. Our experiments confirm that this point balances the two: an earlier intervention gives the Planner too little of the investigation to ground a plan, whereas a later one arrives after the agent has committed to and built on its own changes, which the plan must then overturn.

Prior work uses explicit planning to coordinate repository edits [3, 34] and explores planning and execution roles in model collaboration [10, 19]. To guide repair at this point, we introduce PAUSE, a framework that uses the first source-code edit to trigger a single planning intervention. The request identifies the intervention point directly from the agent's proposed action and its target path, without a learned monitor, a search over candidate checkpoints, or an additional model call to locate the point; we call this property search-free. A separate Planner reads the task and the coding agent's preceding transcript, including inspected code and execution feedback, and returns one natural-language repair plan. The same coding agent, the Executor, receives this plan and continues from its existing conversation and workspace, retaining its investigation and responsibility for editing and testing without updating its underlying language model.

PAUSE supports online steering and offline recovery. Online, it blocks the first source-code edit during a live run and adds the Planner’s guidance before resuming the Executor from its live state. Offline, it restores an existing failed trajectory to a pre-edit state, adds a plan based on the recorded prefix, and resumes the same Executor with its remaining budget.

We evaluate PAUSE on SWE-bench Verified [17] and SWE-bench Multilingual [42], which spans nine programming languages, using two Executors and three agent harnesses. With Qwen3-coder as Executor and GPT-5.6 Sol as Planner in OpenHands, online steering improves resolution on Verified by 16.8%. In SWE-agent, it improves resolution by 14.8% and 14.7% on Verified and Multilingual, respectively. Against LivePlan, which invokes an advisor through rule-based monitoring, PAUSE is more effective at a similar Planner cost, improving resolution by 3.2% and 3.7% on Verified and Multilingual, respectively. Against SICA, which reviews the trajectory periodically, PAUSE remains comparable on both benchmarks while incurring about 11% and 15% of SICA's Planner cost on Verified and Multilingual, respectively. Offline, PAUSE recovers 79 of 223 eligible failed Verified tasks, a recovery rate of 35.4%. These results show that a single planning intervention at the first source-code edit is more effective than rule-based monitoring and competitive with periodic oversight at a small fraction of its cost.

Our contributions are:

  • An empirical characterization of the first source-code edit as an opportunity to guide repair after substantial repository investigation.

  • PAUSE, a search-free framework that gives the same Executor one plan while preserving its context and workspace, supporting online steering and offline recovery.

  • An evaluation across two benchmarks, two Executors, and three harnesses, showing that PAUSE is more effective than rule-based monitoring at a similar Planner cost and is competitive with periodic oversight at 11–15% of its Planner cost, with controlled studies of intervention timing, planning guidance, and state reuse.

References (14)