Metraipolis › archive › dc_9b211ddae3f9

Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks — arXiv:2608.03222

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.03222
License (as archived)
CC0-1.0
Archived
2026-10-31T12:18:40.649Z
SHA-256 of the archived text
c74bcbe6dbb5fdad465d92f65337e3894de83276468635f117290fad32de4aa8
Stable URL of this page
https://metraipolis.com/documento/dc_9b211ddae3f9

How to cite

Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks — arXiv:2608.03222 — arXiv (en), https://arxiv.org/abs/2608.03222 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9b211ddae3f9 (Metraipolis archive dc_9b211ddae3f9, sha256 c74bcbe6dbb5fdad465d92f65337e3894de83276468635f117290fad32de4aa8)
BibTeX
@misc{dc9b211ddae3f9,
  title = {Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks — arXiv:2608.03222},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.03222},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9b211ddae3f9; sha256 c74bcbe6dbb5fdad465d92f65337e3894de83276468635f117290fad32de4aa8},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03222. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Software engineering (SWE) agents resolve repository-level issues through long trajectories that grow increasingly expensive as context accumulates. Failed runs tend to be longer and exhibit redundant exploration or looping, suggesting that some failures may be detectable before completion. Early termination, however, risks interrupting trajectories that would otherwise succeed; conversely, an unsuccessful trajectory may still contain useful repository edits. We present FailFast-RestartSmart, a two-stage controller for a single active trajectory. FailFast is a lightweight 0.6B monitor trained with terminal and dense fail-to-pass supervision to predict failure from observable prefixes without policy logits or hidden states. Upon an alarm, RestartSmart launches a fresh same-policy rollout without prior prompt history and offers the interrupted repository diff as an optional overlay that the agent may inspect, apply, or discard. On SWE-bench Verified, a monitor trained solely on Qwen3.6-27B trajectories transfers to three other policies, including a closed-API model, and saves 14.6%-20.4% of execution tokens at a target 5% false-positive rate; on Qwen3.6-27B, its 20.4% saving exceeds the 12.5% achieved by our per-step AgentStop adaptation. At a target 25% false-positive rate, RestartSmart raises Qwen3.6-27B resolution from 66.6% to 71.8%, whereas cold restart reaches only 66.8%. Together, these results support early termination with sequential same-policy recovery.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2608.03222 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T12:05:53.017Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).