Back Up Before You Regret: Measuring Backup Awareness and Automating Backup in Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Coding agents now complete tasks autonomously, modifying real-world state such as artifacts, software environments, and configurations along the way. Yet they show limited backup awareness: recognizing that an action will modify state that may later be needed, and preserving it beforehand. To evaluate backup awareness, we introduce RegretBench, a benchmark of 205 executable tasks grounded in regret moments reported on platforms such as X.com, GitHub, and Stack Overflow, where users explicitly regretted not preserving state they later needed. Across six frontier models, agents complete 86.1% of tasks on average yet back up before these moments in only 15.2%, showing that task completion ability does not imply backup awareness. Because it is hard to predict which changes will be regretted, we propose BackUpper, a harness plug-in backup layer that checks every tool call and preserves affected state before modification. It combines rule-based strategies for common operations with a lightweight subagent for complex cases, and its rule table can expand with subagent decisions over time. On RegretBench, BackUpper covers every regret moment action and restores states with 92.2% average similarity to the original. Achieving this costs only 0.014 per task, with 7x fewer tokens than the main-agent self-backup baseline. When users have preferences on what to back up, BackUpper can also narrow its scope accordingly, matching human annotations on whether an action is worth preserving with an 84.5% F1 score. These results suggest that agents can keep actions reversible at low cost while respecting users' preferences.
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 16 of its 37 references that are in the map. Submitted 20 Oct 2026.
Builds on
16 of 37 references.
Closest ancestors · 6
Same direction, newest first
- 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agents14 Aug
- 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Tasks8 Jul
- 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants29 May
- 2026SWE-chat: Coding Agent Interactions From Real Users in the Wild22 Apr
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents26 Jul
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
Other references · 10
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2025An Illusion of Progress? Assessing the Current State of Web Agentscited by 196
- 2025The Tool Decathlon: Benchmarking Language Agents for Diverse, Realistic, and Long-Horizon Task Executioncited by 104
- 2025MCPMark: A Benchmark for Stress-Testing Realistic and Comprehensive MCP Usecited by 51
- 2026Unsafer in Many Turns: Benchmarking and Defending Multi-Turn Safety Risks in Tool-Using Agentscited by 35
- 2026Overeager Coding Agents: Measuring Out-of-Scope Actions on Benign Taskscited by 20
- 2025Generator-Assistant Stepwise Rollback Framework for Large Language Model Agentcited by 18
- 2025WebRollback: Enhancing Web Agents with Explicit Rollback Mechanismscited by 18
- 2026Human-Guided Harm Recovery for Computer Use Agentscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026RippleCP: Measuring Counterfactual Checkpoint Advantage in Coding Agents
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agents
- 2026SWE-Shift: Evaluating Coding Agents in Evolving Workspaces
- 2026Recoverability Has a Law: The ERR Measure for Tool-Augmented Agents
- 2026ParanoiaEval: Benchmarking Unnecessary Defensive Work in Agentic Coding
- 2026Exercised, Rarely Recovered: What Public Reports Say About Recovery in 50 AI Agent Harnesses and Runtimes
- 2026SideTaskBench: Measuring Unauthorized Side-Task Delivery in Coding Agents
- 2026VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks