[BUG] auto-dream ignores autoMemoryDirectory, writes to default path
Resolved 💬 3 comments Opened Mar 26, 2026 by lukaemon Closed Mar 29, 2026
Description
Auto-dream writes memory files to the default ~/.claude/projects/<project>/memory/ directory instead of the path configured via autoMemoryDirectory.
Steps to reproduce
- Enable auto-dream (
autoDreamEnabled: truein settings) - Set
autoMemoryDirectoryto a custom path (e.g.,cc_autopointing to a project-local directory) - Let auto-dream run (or trigger
/dream) - Observe that dreamed memory files are saved in
~/.claude/projects/<project>/memory/, not in the custom directory
Expected behavior
Auto-dream should respect autoMemoryDirectory and write memory files to the configured custom path.
Actual behavior
Auto-dream writes to the default memory directory, ignoring the autoMemoryDirectory setting entirely.
Root cause (likely)
Related to #36636 — the system prompt always injects the default memory path regardless of autoMemoryDirectory. The dream agent inherits this hardcoded path and writes there.
Environment
- Claude Code CLI
- macOS
autoMemoryDirectoryconfigured in project settingsautoDreamEnabled: true
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗