[BUG] Claude Code duplicates CLAUDE.md entries in it's memory/<files>.md
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I read about the new memory feature in claude code and I see it making updates to it's internal memory files.
Problem is it does so without knowing nor caring that it's duplicating info already in CLAUDE.md!
Waste of context and token $.
I've turned it off.
$ grep autoMemory ~/.claude/settings.json
"autoMemoryEnabled": false
What Should Happen?
It shouldn't duplicate info already in CLAUDE.md or other .md file that it reads.
Error Messages/Logs
Steps to Reproduce
Run claude code
Use a reasonable CLAUDE.md file with appropriate directives for claude code to follow
Use it for a while and notice when it updates it's memory, some of those updates will be duplicating info it already has in CLAUDE.md
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
current: 2.1.74 · stable: 2.1.74
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗