The shared provider injection gate recognizes literal memory denial but
allows providers to re-add schemas after all or * disables registry tools.
Treat both global aliases as memory-provider denials in the shared gate.
Exercise initial injection and MCP refresh with each alias while retaining
explicit memory denial and enabled-provider behavior.
Rebased onto main: the gate moved to agent/memory_manager_tools.py.
Fixes#46171Fixes#48181Fixes#49386
The stall/registry work pushed agent/memory_manager.py past 1,000 lines.
The memory-provider tool-schema helpers (normalize_tool_schema,
memory_provider_tools_enabled, memory_provider_tools_exposed,
inject_memory_provider_tools) are a self-contained topic with no
dependency on MemoryManager, so they move verbatim to a
memory_manager_tools sibling and every in-tree caller imports from the
new module. agent.memory_manager is a public plugin module
(hermes_cli/plugin_validate_private_imports.py), so it re-exports the
four names, as it already does for the helpers that moved to
agent.memory_context.