The memory-core plugin registered both memory_search and memory_get in a
single factory that returned null if either tool creation failed. This
caused both tools to silently disappear from new sessions when only one
tool's prerequisites were unavailable.
Split into two independent registerTool calls so each tool's availability
is evaluated separately. Also add debug logging when a plugin tool factory
returns null to aid future diagnosis.
Fixes#50173
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>