Coding Agents Are Guessing: Measuring Action-Boundary Violations in Underspecified DevOps Instructions
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
LLM coding agents are increasingly deployed to act autonomously on real production infrastructure. They execute shell commands, modify repositories, and call operational APIs. However, completing a task is not sufficient for safety. A wrong action can cause severe consequences. Existing agent benchmarks largely emphasize task completion, leaving open how agents behave under benign but underspecified instructions. We present UnderSpecBench, a benchmark for measuring action-boundary violations in coding agents (i.e., Claude Code, Codex, and OpenCode) on DevOps tasks. UnderSpecBench includes 69 task families grounded in documented incidents, CVEs, or tool behavior and organized across four DevOps capability domains and nine operational control surfaces. To isolate underspecification from task difficulty, each task keeps the same environment and ground-truth safe action while varying the instruction along three axes: intent clarity, target certainty, and blast radius. The resulting 2,208 prompt variants are evaluated with deterministic, side-effect-based oracles that separate Safe Success, Wrong Target, and OverScope outcomes; non-action runs are further classified as clarification, refusal, or deferment. Across five agent x model configurations using OpenCode, Claude Code, and Codex, the evaluation results show that underspecification does not mainly make agents fail; it makes them guess. 55.8-67.8% of runs violate at least one boundary. Target underspecification sharply degrades action quality, while blast-radius cues barely reduce action propensity. These findings show that completion-centric evaluation can overstate safe autonomy and motivate mitigations at the model, harness, and system layer.
Key facts. Cited by 10 papers 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 10 of its 90 references that are in the map. First posted on arXiv 2 Jul 2026.
Builds on
10 of 90 references.
Closest ancestors · 4
Same direction, newest first
- 2026SREGym: A Live Benchmark for AI SRE Agents with High-Fidelity Failure Scenarios8 May
- 2026Dive into Claude Code: The Design Space of Today's and Future AI Agent Systems14 Apr
- 2025AIOpsLab: A Holistic Framework to Evaluate AI Agents for Enabling Autonomous Clouds12 Jan
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
Other references · 6
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
- 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 548
- 2020AmbigQA: Answering Ambiguous Open-domain Questionscited by 390
- 2024TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Taskscited by 326
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 288
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnessescited by 3
- 2026SteerBench-Work: A Benchmark for Agent Steering at Action Boundariescited by 1
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
- 2026Beyond Oracle Communication: Benchmarking Interactive Intent Alignment Under Miscommunication and Evolving User Intentcited by 1
- 2026Incident-Arena: Getting agents to the last nine of reliabilitycited by 0
- 2026Asking Earns Nothing: Scoring the Decision to Act in BFCL Multi-Turncited by 0
- 2026DelegationBench: Measuring When AI Agents Should Ask Before Actingcited by 0
- 2026CLEAT: Learning Value-Guided Clarification for Interactive Agentscited by 0
- 2026AuthGateBench: Benchmarking LLMs as Authorization Gatecited by 0
- 2026AM-Bench: Understanding Agents under Task Underspecification across Models and Harnessescited by 0
- 2026AM-Bench: Understanding Agents under Task Underspecification across Models and Harnesses13 Oct 2026
- 2026AuthGateBench: Benchmarking LLMs as Authorization Gate12 Oct 2026
- 2026CLEAT: Learning Value-Guided Clarification for Interactive Agents8 Oct 2026
- 2026DelegationBench: Measuring When AI Agents Should Ask Before Acting4 Oct 2026
- 2026Asking Earns Nothing: Scoring the Decision to Act in BFCL Multi-Turn3 Oct 2026
- 2026Incident-Arena: Getting agents to the last nine of reliability30 Sep 2026
- 2026Beyond Oracle Communication: Benchmarking Interactive Intent Alignment Under Miscommunication and Evolving User Intent29 Sep 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026SteerBench-Work: A Benchmark for Agent Steering at Action Boundaries12 Aug 2026
- 2026HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnesses7 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026SWE-MISBEHAVIOR: Benchmarking and Mitigating Boundary Violations in Software Coding Agents
- 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants
- 2026Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures
- 2026ParanoiaEval: Benchmarking Unnecessary Defensive Work in Agentic Coding
- 2026ClayBuddy: A Framework, Evaluation, & Mitigation of Coding Agent Failures
- 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure
- 2026Why Static Skill Inconsistencies Do Not Equate to Runtime Risks: A Behavioral Analysis of LLM Agent Execution
- 2026ProcCtrlBench: Evaluating Process-Level Defects and Control Preservation in LLM Coding Agents