You can disable claude-code's memories both at a repo level and in user settings. I have this in ~/.claude/settings.json

  "autoMemoryEnabled": false,
(Claude fixed this for me after I chewed it out for being annoying by constantly pulling up outdated memories which is compounded by the fact that I develop in four accounts on two computers and dealing with edit wars related to inconsistent memories is not fun)