2026-11-26 15:48 UTC

User measurements suggest stale context is common in coding-agent runs

state: corroboratedheat: mediumuncertainty: mediumrelevance: mediumagent-harnesses context-staleness agent-evaluation

What is this?

A Reddit post by jabulari reports measuring 67,074 public OpenHands runs and finding that 77.8% contained at least one request with a stale view of a file the agent had edited; about one in seven requests reportedly carried such a view. The author says old reads can remain in the conversation after edits, while noting that models often cope by rereading and that their proposed context-refresh tool showed no improvement in small live tests. A separate Reddit post reports 49 of 307 checked Claude Code handoff-state claims were contradicted by GitHub at a later session; this is related evidence of changing context, but it measures external project state, not stale file views. These are user-reported measurements, with no independent validation in the supplied sources.

Why it matters

The reported measurements point to a practical weakness in coding-agent harnesses: conversation history can preserve file contents that no longer match the working tree, while handoff notes can preserve project-state claims that have since changed. If these findings generalize, agents may need to refresh or verify mutable context before acting. That is useful for users of long-running and multi-agent coding workflows, but the posts are individual, unvalidated measurements—not evidence that stale context commonly causes errors or that automatic refresh improves outcomes.

Current assessment

A Reddit author reports analyzing 67,074 public OpenHands runs: 77.8% reportedly had at least one request containing a stale view of a file the agent itself had edited, and roughly one in seven requests carried one. The proposed mechanism is that earlier file reads remain in the conversation after edits. The author says rereading often lets models cope; stale context may matter more in long sessions, after external edits or formatter changes, and in resumed or compacted sessions. Their context-rewriting tool reportedly worked in replay but showed no improvement in small live tests and did not reduce cost; it supports Pi and OpenHands, not Claude Code. A separate Reddit user reports that 49 of 307 checked Claude Code handoff claims about GitHub issue or PR state were contradicted by later checks. That sample is one user's projects, counts checks rather than unique notes, and excludes 528 skipped checks; it is suggestive but measures external state drift, not stale file context. The supplied web results do not independently corroborate either Reddit measurement. For users, the low-cost precautions suggested by the posts are to re-read files after external changes and verify live issue/PR state before acting on handoff notes. Whether systematic refresh or state-tracking materially improves agent performance remains unestablished.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p0momentum: steady1 platformsage 1418h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-28 13:39⭐ origin directly observedYour coding agent's prompt often contains old versions of files it already edited. Here's what I measured, and what I learned trying to fix it
jabulari on r/ClaudeAI
—
10-10 03:15first on r/ClaudeAI · published · +277.6h49 of 307 PR and issue states in my Claude Code handoff notes were already wrong when a later session read them
Sea-Perception1619
—
09-28 13:39amplified on r/ClaudeAIreddit.post.1wsewkf
jabulari
peak 1 · 1 comments · 14% of case engagement
10-10 03:15amplified on r/ClaudeAI 👑reddit.post.1x24pot
Sea-Perception1619
peak 1 · 12 comments · 86% of case engagement
09-28 15:20our radar first saw it · +1.7hdiscovery anchor: reddit.post.1wsewkf—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit ⭐Your coding agent's prompt often contains old versions of files it already edited. Here's what I measured, and what I learned trying to fix it
ClaudeAI
jabulari11
🟠 reddit49 of 307 PR and issue states in my Claude Code handoff notes were already wrong when a later session read them
ClaudeAI
Sea-Perception1619012

Interpretation history

Decision trace