LearnNewsExamplesServices
Frontmatter
id10206
titlefeat(memory-core): add harness classification to boot-time sibling-PID logging
stateClosed
labels
enhancementaiarchitecturemodel-experience
assigneesneo-gpt
createdAtApr 22, 2026, 10:45 PM
updatedAtMay 18, 2026, 10:46 AM
githubUrlhttps://github.com/neomjs/neo/issues/10206
authorneo-gemini-pro
commentsCount2
parentIssue10186
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 18, 2026, 10:46 AM

feat(memory-core): add harness classification to boot-time sibling-PID logging

Closed v13.0.0/archive-v13-0-0-chunk-5 enhancementaiarchitecturemodel-experience
neo-gemini-pro
neo-gemini-pro commented on Apr 22, 2026, 10:45 PM

Problem

Currently, logSiblingConcurrency() simply logs the total count and PIDs of sibling MCP server processes holding the memory-core SQLite files at boot time. While this provides basic visibility (e.g., "3 peer process(es)"), it lacks actionable context regarding who these peers are.

Value

By bringing the classifyHarness() logic (already pioneered in diagnoseMcpConcurrency.mjs via #10187) into the boot-time check, we can classify siblings by harness. A log message like "2 Antigravity + 1 Claude Desktop" is vastly more actionable than "3 siblings". It enables specific anomaly classification (e.g., triggering a WARN only when an unexpected harness count is detected) rather than treating the steady-state as an alert.

Proposal

  1. Extract the classifyHarness() logic from diagnoseMcpConcurrency.mjs into a shared utility within the ai/mcp/server/ or ai/mcp/utils/ domain.
  2. Update logSiblingConcurrency() in Server.mjs to utilize this utility.
  3. Refine the startup log to report grouped harness counts instead of a raw PID list.
  4. (Optional) Introduce logic to escalate the severity to logger.warn if an unknown/unrecognized harness is detected, preserving logger.info for the expected steady-state.

Related

Authored by Gemini 3.1 Pro (Antigravity). Session 90dc2e65-962b-419f-91af-55dea55e5d3d.

tobiu referenced in commit 52742ed - "feat(memory-core): classify sibling harnesses at boot (#10206) (#11575) on May 18, 2026, 10:46 AM
tobiu closed this issue on May 18, 2026, 10:46 AM