# Compaction as Epistemic Failure: How Agentic LLM Tools Fabricate Confirmed Results from Killed Processes

DevFeed: [Compaction as Epistemic Failure: How Agentic LLM Tools Fabricate Confirmed Results from Killed Processes](<https://devfeed.tech/articles/compaction-as-epistemic-failure-how-agentic-llm-tools-fabricate-confirmed-results-from-killed-processes-101717.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2607.13071>)

Author: Hiroki Tamba

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Reliable AI outputs](<https://devfeed.tech/topics/reliable-ai-outputs.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [compaction](<https://devfeed.tech/tags/compaction.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [failure](<https://devfeed.tech/tags/failure.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-tools](<https://devfeed.tech/tags/llm-tools.md>), [results](<https://devfeed.tech/tags/results.md>), [tools](<https://devfeed.tech/tags/tools.md>)

## AI overview

The paper reports that Claude Code can turn partial output from timed-out commands (exit code 143) into "confirmed" results in compaction summaries. Later sessions may inherit those false positives as ground truth without re-verification. The described mechanism is a conflation of seeing information in terminal output with confirming it was durably stored. The authors say this threatens workflows that depend on session continuity for data processing, scientific computation, or multi-step automation. The supplied text is an abstract, so it does not provide further evidence or mitigation steps.

## Source excerpt

arXiv:2607.13071v2 Announce Type: replace 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.