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

Testing OpenClaw on UmbrelOS: What to Know
OpenClaw's integration with UmbrelOS is being explored, potentially offering a new environment for AI-enhanced coding tools.

AI Subscriptions Need a Reliable Meter: A Call for Service Transparency
A Reddit post argues that AI subscriptions should provide a basic service receipt showing what model was actually served, reasoning effort, context handling, and any load management, drawing parallels to weights-and-measures norms.

AI Agents Bet on World Cup: Why 'Keep Multiple Outcomes in Play' Wins
An experiment with 40+ AI agents placing real-money bets on Polymarket shows that profitable agents back more than one outcome per match. The difference: belief vs. action.

Claude Code v2.1.77 Release: Token Limits, Sandbox Controls, and Bug Fixes
Claude Code v2.1.77 increases default maximum output token limits for Claude Opus 4.6 to 64k tokens and adds an allowRead sandbox filesystem setting. The release includes over 30 fixes for issues ranging from memory management to terminal UI behavior.