cs.AIOct 14, 2026

What Coding Agents Leave Unsaid: Measuring Task-State Gaps Between Execution and Reports

Authors: Guoyang Xu, Rui Zhang, Xiuyu Wu, Hao Chen

Organizations: Tencent

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.

Figures & tables

Appendix figures & tables66 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?

    Feb 12, 2026Thibaud Gloaguen, Niels Mündler-Sasahara, Mark Niklas Müller +2AI Coding AgentsCoding Agents

  2. Handoff Debt: The Rediscovery Cost When Coding Agents Take Over Interrupted Tasks

    Jun 1, 2026Dipesh KC, Anjila BudathokiCoding AgentsSoftware Engineering Benchmarks

  3. Knowing When to Stop: The Evidence-Action Gap in Coding Agents

    Oct 22, 2026Tianyu Chen, Xinran Zhao, Vijay Viswanathan +3AI Coding AgentsProcess-Based Agent Evaluation