Proceeding After Seeing: When Coding Agents Act on Users' False Claims About the Code

Sun, Yi

–arXiv.org Artificial Intelligence 

When coding agents explain options and let the user choose, users answer with reasons that are beliefs about the code. If a belief is false, the agent should say so before acting, a move conversation analysts call third-position repair. Existing benchmarks score the patch or agreement with the user and cannot tell whether a claim's truth changes what the agent does. TPR-Bench pairs 125 scenarios from real GitHub issues in 64 Python repositories with mirrors where the user's words are true, and marks the refuting line. Codex CLI with three GPT models and DeepSeek Harness act on 96-100% of false claims and 99.6-100% of true mirrors, whereas Claude Code repairs 46% of false claims with Sonnet and 86% with Opus. The Codex and DeepSeek systems proceed after seeing: in 85-100% of false-claim items, the refuting line was in their own tool output before their first edit. In 27-30% they edit the repository until the false claim holds. Told to check the user's message against the repository, every system repairs 96-100% and acts on 5-12 points fewer true claims. Coding agents should treat a user's reason as a claim to verify before acting.