Investigation: Claude Code Agents Surfacing Unverified MEMORY.md Content Due to Compaction Changes

✍️ OpenClawRadar📅 Published: May 14, 2026🔗 Source
Investigation: Claude Code Agents Surfacing Unverified MEMORY.md Content Due to Compaction Changes
Ad

A Reddit user reported a major behavioral shift in Claude Code where agents surface content from MEMORY.md without re-verifying it mid-task. After digging into changelogs, they identified two changes in versions 2.1.139 and 2.1.141 that may explain the drift.

Key Changes

  • 2.1.139 (most significant):
    • Compaction now preserves "user instructions" more aggressively – if auto-injected MEMORY.md content is treated as instruction-like, it rides through compaction with elevated weight.
    • /goal command added – cross-turn completion conditions change turn execution model.
    • MCP stdio servers now receive CLAUDE_PROJECT_DIR – env injection change.
    • Hook continueOnBlock added – rejection reasons can feed back to model.
  • 2.1.141 (current):
    • Fixed /model silently changing autocompact threshold in concurrent sessions – implying thresholds were misconfigured before, causing agents to compact earlier than intended, dropping verification reasoning and falling back to MEMORY.md.
    • "Summarize up to here" in Rewind menu – new compression path.
Ad

Practical Impact

The user observes that autocompact threshold bug (broken before 2.1.141) caused agents to compact at wrong intervals, silently losing mid-task verification reasoning. And compaction now preserves "user instructions" so MEMORY.md auto-injected content survives compaction with elevated priority. The time between autocompaction also reduced substantially in the last 48 hours. The effect is substantial across their fleet.

Request for Data Points

The user is asking the community:

  • Have you noticed your Claude Code agents confidently asserting things from MEMORY.md that they should have re-verified – especially in longer sessions or post compaction?
  • When you first noticed, what version were you on, whether using agent mode vs interactive, and whether it's reproducible after a manual compaction?

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

US Power Demand to Hit Record Highs in 2026–2027 Driven by AI and Data Centers
News

US Power Demand to Hit Record Highs in 2026–2027 Driven by AI and Data Centers

The U.S. Energy Information Administration (EIA) forecasts record-high power consumption in 2026–2027, primarily driven by surging AI workloads and data center expansion.

OpenClawRadar
When Everyone Has AI but the Company Still Learns Nothing: The Messy Middle of Enterprise AI Adoption
News

When Everyone Has AI but the Company Still Learns Nothing: The Messy Middle of Enterprise AI Adoption

Ethan Mollick's framework shows that individual AI productivity gains don't automatically become organizational learning. The article explores why companies are stuck in a 'messy middle' where AI use is uneven, hidden, and disconnected from shared knowledge.

OpenClawRadar
Liquid AI releases LFM2.5-350M model for agentic loops
News

Liquid AI releases LFM2.5-350M model for agentic loops

Liquid AI released LFM2.5-350M, a 350M parameter model trained for reliable data extraction and tool use. It's under 500MB when quantized and outperforms larger models like Qwen3.5-0.8B in most benchmarks while being faster and more memory efficient.

OpenClawRadar
OpenAI's Pentagon Contract Terms Allow 'Any Lawful Use' Including Potential Surveillance
News

OpenAI's Pentagon Contract Terms Allow 'Any Lawful Use' Including Potential Surveillance

OpenAI negotiated new terms with the Pentagon that include the phrase 'any lawful use,' which sources say allows the military to use OpenAI's technology for mass surveillance programs if they're technically legal. Anthropic was blacklisted for refusing to budge on two red lines: no mass surveillance of Americans and no lethal autonomous weapons.

OpenClawRadar