Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.219 ·

Post-compaction file restore skips memory files

After compaction, Claude stops wasting its re-read budget on memory files it already injects.

You'll notice Improvements
JSON All of v2.1.219
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
CompactionArea: what it touches
ImprovementsKind: in v2.1.219,
ImprovementsSection of the release
What

After compaction, the routine that re-reads recently touched files no longer spends its budget re-reading CLAUDE.md-family memory content that is injected anyway.

Details
  • Builds a set of canonical memory-file paths for every scope in ["User", "Project", "Local", "Managed", "AutoMem"] and filters them out, alongside the agent's own memory file.
  • A new optional parameter also excludes non-truncated pinned memory-directory entries; that exclusion applies only when the caller opts in and the pinned-memory precondition holds.
  • Partial compaction (compact_partial) now also passes the message list so the plan-mode attachment is regenerated, and opts into the pinned-file exclusion.
Evidence

tengu_post_compact_file_restore_success, AutoMem

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundleCLAUDE.md

See this entry in the whole of v2.1.219 →

Feedback