Back to issues
Low priorityTested by MilanVerified fix

Memory Not Persisting Between Restarts

The agent seems to forget everything after a restart and MEMORY.md updates do not stick.

Likely Cause

The memory path resolves to the wrong directory or the process does not have permission to write to the expected file.

Tags

MemoryConfig

Recovery Steps

  1. 1Confirm MEMORY_PATH points to the intended absolute location.
  2. 2Check the file permissions in the project directory.
  3. 3Fix ownership and write permissions if needed.
  4. 4Restart the process under the same deploy user.
  5. 5Add a fact, restart, and verify that the fact still exists.

Still blocked?

If the steps above do not clear it, review the full fixes index or book direct troubleshooting help.