What Coding Agents Leave Unsaid: Measuring Task-State Gaps Between Execution and Reports
Abstract
Human supervisors rely on coding agents' reports to assess progress, verify repairs, and decide when to intervene. But a supervisor cannot investigate a failure they were never told occurred. Failed attempts, workarounds, and unresolved risks may disappear from routine reports, leaving supervisors unaware of issues that warrant scrutiny. We conduct CTXGAP, a measurement study quantifying the gap in task-state recoverability between agents' accumulated user-facing reports and their full recorded execution contexts. Across 37 coding tasks and 4,799 valid probes, agents answer 93.6% of task-state questions on demand; full-context readers recover 92.7%, while report-only readers recover 52.0%, a 40.7-point gap. At the final checkpoints of 30 verified fixes, the gap remains 34.8 points. Human annotation identifies states mentioned without enough supporting detail as the largest category of unrecovered information, and model-assessed supervision-relevant states retain substantial gaps. Full terminal scrollback improves recovery to 73.6% but still trails full context. Under matched report lengths, context-informed rewrites improve recovery by about eight points, without a detectable targeted-over-natural advantage. Positive gaps persist across harnesses and independent DeepSeek execution and measurement. CTXGAP establishes report-based task-state recoverability as a complementary evaluation dimension.
Create a lesson
Related papers
Agent Status Protocol (ASP): A Lightweight Specification for State Reporting in Multi-Agent Systems
Shared title terminologycs.AIDiego Gosmar, Deborah A. Dahl, Emmett Coin et al.
AlphaDiana: A Measurement System for Agents in Verifiable Reasoning Tasks
Shared title terminologycs.AIZhanke Zhou, Zongze Li, Weikai Huang et al.
Layer-Level Control of Language Model Execution in Agent Frameworks
Shared title terminologycs.AIRan Guan, Yiqi Lin, Xiangxi Tian et al.
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
Recoverable Symbols, Unstable Execution: Auditing Internal Pathways and Decision Identity in Visual State Tracking
Shared title terminologycs.AIRuiqi Liu, Jinming Li, Mo Wang et al.
Belief-State Management Meets Rubric Rewards for Agentic Forecasting
Shared title terminologycs.AIJingyi Chai, Yun Liao, Hao Lu et al.