183 notes in Claude Code's memory folder. That's what I found on Friday.
I run my business out of one workspace folder. Every area has its own instructions file, and CLAUDE.md has a table that says where each kind of file goes. I set it up that way so Claude only reads what the job in front of it needs.
Memory was supposed to hold how I like to work. Short answer first, ask before spending money, that kind of thing.
What was in there: 71 notes about projects. Build status, port numbers, which script is live. 32 more pointing at tools and accounts. About 20 repeated something already sitting in a README or a decision file.
So I went looking for why.
1. Claude Code's memory comes with a "project" type. My folder rules never mention memory, so nothing told Claude a project fact goes in the project's folder.
2. My own rules file had a memory template with "project" listed as a valid type. My setup was telling it to.
3. I have hooks on writes to the workspace. Nothing checks what goes into memory.
4. I cleaned up three times in six days. Every cleanup went after the rules, 77 down to 25. Project notes went from 71 to 56.
I'm at 115 now. About 20 are what memory is for. I'm working through the clean up now..
Where do you keep project state? And do you let Claude write to memory without asking you first?