This ticket covers refactoring ai/mcp/server/memory-core/services/healthService.mjs into a singleton class that extends Neo.core.Base. This service is responsible for providing the health status of the memory core server.
Acceptance Criteria
- The
healthService.mjs module is refactored into a HealthService class.
- The
HealthService class extends Neo.core.Base and is configured as a singleton.
- The existing
buildHealthResponse function is converted into a class method.
- The
ai/mcp/server/memory-core/services/toolService.mjs is updated to import the HealthService singleton and map its methods.
- Any other services that depend on
healthService are updated to use the new HealthService singleton instance.
- The
neo-memory-core__healthcheck tool continues to function correctly after the refactoring.
This ticket covers refactoring
ai/mcp/server/memory-core/services/healthService.mjsinto a singleton class that extendsNeo.core.Base. This service is responsible for providing the health status of the memory core server.Acceptance Criteria
healthService.mjsmodule is refactored into aHealthServiceclass.HealthServiceclass extendsNeo.core.Baseand is configured as a singleton.buildHealthResponsefunction is converted into a class method.ai/mcp/server/memory-core/services/toolService.mjsis updated to import theHealthServicesingleton and map its methods.healthServiceare updated to use the newHealthServicesingleton instance.neo-memory-core__healthchecktool continues to function correctly after the refactoring.