LearnNewsExamplesServices
Frontmatter
id9924
title[Sub-Task] Database Service & Health Diagnostics Migration
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtApr 12, 2026, 4:15 PM
updatedAtApr 12, 2026, 7:00 PM
githubUrlhttps://github.com/neomjs/neo/issues/9924
authortobiu
commentsCount0
parentIssue9922
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtApr 12, 2026, 5:36 PM

[Sub-Task] Database Service & Health Diagnostics Migration

Closed v13.0.0/archive-v13-0-0-chunk-4 enhancementaiarchitecture
tobiu
tobiu commented on Apr 12, 2026, 4:15 PM

Origin Session ID: af26000d-914a-4eb0-8d28-2c09e9cb4cb5 Parent Epic: #9922

Context

With the shift to a ChromaDB + SQLite Two-Pillar paradigm, the underlying memory-core diagnostics and database routing layers are outdated. DatabaseService.mjs must stop routing all operations exclusively to the neo-sqlite directory, and HealthService.mjs needs to report multi-engine health strings accurately in its Heartbeat.

Technical Requirements

  1. Health Tracking (HealthService.mjs): Modify the healthcheck heartbeat payload. It currently merges vector and graph status. It must now evaluate sqliteManager (Graph mapping) and chromaManager (HNSW) independently. If Chroma fails, vector operations enter DEGRADED, but Graph traversals remain OK.
  2. Database Routing (DatabaseService.mjs): Rewrite the backend maintenance endpoints. Legacy functions expecting single-file SQLite backups or truncations must explicitly branch: vector truncations ping Chroma REST endpoints, while Graph truncations delete SQLite records.

Definitions of Done

  • mcp_neo-mjs-memory-core_healthcheck returns distinct properties for chroma and graph engine vitality.
  • Database backup/clear logic handles both components securely.
tobiu cross-referenced by PR #9926 on Apr 12, 2026, 4:23 PM