After compaction, Claude stops wasting its re-read budget on memory files it already injects.
What's wrong with this entry?
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.
- 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.
tengu_post_compact_file_restore_success, AutoMem
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.239
Skill text carried through compaction is no longer mistaken for a live request
Both mention compaction
-
v2.1.247
Summarizing uses the same prompt assembly as the rest of the conversation
Both mention compaction
-
v2.1.247
Compaction builds its system prompt with the shared assembler
Both mention compaction