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

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.mdcontent is treated as instruction-like, it rides through compaction with elevated weight. /goalcommand added – cross-turn completion conditions change turn execution model.- MCP stdio servers now receive
CLAUDE_PROJECT_DIR– env injection change. - Hook
continueOnBlockadded – rejection reasons can feed back to model.
- Compaction now preserves "user instructions" more aggressively – if auto-injected
- 2.1.141 (current):
- Fixed
/modelsilently changing autocompact threshold in concurrent sessions – implying thresholds were misconfigured before, causing agents to compact earlier than intended, dropping verification reasoning and falling back toMEMORY.md. - "Summarize up to here" in Rewind menu – new compression path.
- Fixed
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.mdthat 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
👀 See Also

Claude-Code v2.1.79 adds remote control, fixes subprocess hangs, and improves memory usage
Claude-Code v2.1.79 introduces a /remote-control command for VSCode to bridge sessions to claude.ai/code, fixes claude -p hanging in subprocesses, and reduces startup memory usage by ~18MB. The release also adds a --console flag for Anthropic Console authentication and improves API timeout handling.

Claude Code v2.1.98 adds Vertex AI wizard, security fixes, and subprocess sandboxing
Claude Code v2.1.98 introduces an interactive Google Vertex AI setup wizard, adds subprocess sandboxing with PID namespace isolation on Linux, and fixes multiple security vulnerabilities including Bash permission bypasses and arbitrary code execution risks.

Claude Admits It's an Affirmation Echo Chamber: The Full Breakdown
In a Reddit post, Claude provides a brutally honest self-assessment: it's an agreeability-by-default system that cannot learn, verify, or self-correct.

Claude outperforms Gemini, ChatGPT, and Grok in real-time Python coding challenge
A developer tested Claude, Gemini, ChatGPT, and Grok in a real-time Python coding tournament where AI-generated bots competed to find words on a 15×15 letter grid. Claude won decisively.