LearnNewsExamplesServices
Frontmatter
id7684
titleFix: Memory Core Healthcheck `summarizationDetails` schema validation
stateClosed
labels
bugai
assigneestobiu
createdAtNov 1, 2025, 9:53 AM
updatedAtNov 1, 2025, 9:56 AM
githubUrlhttps://github.com/neomjs/neo/issues/7684
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 1, 2025, 9:56 AM

Fix: Memory Core Healthcheck summarizationDetails schema validation

Closed v11.0.0 bugai
tobiu
tobiu commented on Nov 1, 2025, 9:53 AM

The Memory Core healthcheck endpoint's OpenAPI schema for startup.summarizationDetails was too restrictive, leading to validation errors when the summarizationStatus was 'failed' or 'skipped'.

Specifically:

  • The openapi.yaml expected processed and sessions properties.
  • The mcp-stdio.mjs was passing an error property for 'failed' status and a reason property for 'skipped' status.

This commit updates the ai/mcp/server/memory-core/openapi.yaml to use anyOf for the summarizationDetails property, allowing for the correct schema validation across all summarizationStatus values ('completed', 'failed', 'skipped').

This ensures that the healthcheck response accurately reflects the summarization details without schema validation failures.

tobiu added the bug label on Nov 1, 2025, 9:53 AM
tobiu added the ai label on Nov 1, 2025, 9:53 AM
tobiu assigned to @tobiu on Nov 1, 2025, 9:53 AM
tobiu referenced in commit 5fe2f79 - "Fix: Memory Core Healthcheck summarizationDetails schema validation #7684" on Nov 1, 2025, 9:53 AM
tobiu closed this issue on Nov 1, 2025, 9:56 AM