[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

  1. Enable auto-dream (autoDreamEnabled: true in settings)
  2. Set autoMemoryDirectory to a custom path (e.g., cc_auto pointing to a project-local directory)
  3. Let auto-dream run (or trigger /dream)
  4. 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
  • autoMemoryDirectory configured in project settings
  • autoDreamEnabled: true

View original on GitHub ↗

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