481bc9391e
With memory_enabled: false but user_profile_enabled: true, the memory tool stays (it backs USER.md) but the full MEMORY_GUIDANCE told the model to save notes to a MEMORY.md store that does not exist. Split the guidance: a profile-only block is injected for that configuration, directing writes to target='user' only.