[BUG] autoMemoryDirectory ignored

Resolved 💬 5 comments Opened Mar 12, 2026 by a3lem Closed Apr 15, 2026

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?

The autoMemoryDirectory setting introduced in v2.1.74 (CHANGELOG.md, commit 6f049b6) is ignored. No matter how I set it, auto-memory still writes memories to ~/.claude/projects/\<slug\>/memory/.

What Should Happen?

Memories should be saved under the path of the autoMemoryDirectory instead.

Error Messages/Logs

Steps to Reproduce

In project .claude/settings.json:

{
    "autoMemoryEnabled": true,
    "autoMemoryDirectory": "./.claude/memory"
}

Start Claude Code. Send a message, e.g. "Remember: if you want me to debug something manually, add pdb breakpoint()'s"

Observe how the Write tool is invoked with the wrong directory path.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.74

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗