Compaction as Epistemic Failure: How Agentic LLM Tools Fabricate Confirmed Results from Killed Processes
Abstract
Agentic LLM coding tools compress long session histories into compaction summaries that subsequent sessions inherit as ground truth. This paper documents a failure mode in Claude Code where partial standard output from timed-out commands (exit code 143) is recorded in compaction summaries as confirmed results, propagating false positives across sessions and model versions without re-verification. The underlying mechanism is a conflation of observation and persistence, where information that appeared in the terminal is treated as equivalent to information written to durable storage. This finding extends the analysis of LLM self-evaluation failures reported in prior work on non-determinism in LLM-as-judge grading by showing that agentic tools exhibit analogous reliability deficits when reporting on their own operational outcomes. The failure has direct implications for any workflow that relies on agentic session continuity for data processing, scientific computation, or multi-step automation.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 8 pages, companion to arXiv:2606.26185
Related papers
Epistemic Guard: Out-of-Process MCP Receipt Proxying, Post-Turn Prose Supervision, and Provenance-Gated Memory for Tool-Using Autonomous Agents
Shared title terminologycs.SESean Maxwell
Failure as a Process: An Anatomy of CLI Coding Agent Trajectories
Shared title terminologycs.SEXiangxin Zhao, Han Li, Shuaiting Li et al.
Idempotency Is Not Recovery: A Fault-Injection Study of Language-Model Agent Tool Actions
Shared title terminologycs.SESong Xu
Early Adoption of Agentic Coding Tools by GitHub Projects
Shared title terminologycs.SEMaliha Noushin Raida, Daqing Hou
TerraRepair: A Tool-Grounded LLM Agent for Infrastructure-as-Code Repair
Shared title terminologycs.SEMinase Mekete Mengistu, Juri Di Rocco, Phuong T. Nguyen et al.
ReProAgent: Tool-Augmented Multi-Stage Agentic Generation of Bug Reproduction Tests from Issue Reports
Shared title terminologycs.SEQuanjun Zhang, Yi Zheng, Ye Shang et al.