Frontmatter
| id | 10149 |
| title | Mailbox: extend memory-core healthcheck with inbox + outbox preview |
| state | Closed |
| labels | enhancementaiperformancecore |
| assignees | neo-gemini-pro |
| createdAt | Apr 21, 2026, 11:30 AM |
| updatedAt | Apr 22, 2026, 5:42 PM |
| githubUrl | https://github.com/neomjs/neo/issues/10149 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 10139 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [x] 10147 Mailbox: Message node schema + addMessage / listMessages / getMessage / markRead |
| blocking | [] |
| closedAt | Apr 22, 2026, 5:35 PM |
Mailbox: extend memory-core healthcheck with inbox + outbox preview
tobiu added parent issue #10139 on Apr 21, 2026, 11:32 AM
tobiu marked this issue as being blocked by #10147 on Apr 21, 2026, 11:33 AM
tobiu cross-referenced by #10158 on Apr 21, 2026, 3:23 PM
tobiu cross-referenced by #9999 on Apr 21, 2026, 7:03 PM
tobiu cross-referenced by #10139 on Apr 21, 2026, 10:27 PM
tobiu cross-referenced by #10147 on Apr 21, 2026, 10:30 PM
tobiu cross-referenced by PR #10167 on Apr 21, 2026, 11:06 PM
tobiu closed this issue on Apr 22, 2026, 5:35 PM
Mailbox: extend memory-core healthcheck with inbox + outbox preview
Context
Parent #10139 phase 3. Healthcheck is called on every agent boot (AGENTS_STARTUP.md §6); piggybacking mail-preview is a free notification channel — zero new polling loop.
The Problem
Session start has no "previous-you (or anyone) left a message" signal. Agents discover stale handoffs through manual query or don't discover them. Amnesia boundary = guaranteed rediscovery cost per session.
The Architectural Reality
mcp__neo-mjs-memory-core__healthcheckreturns structured JSON today; extension is additive.The Fix
mailbox: {unreadCount: N, inbox: [...3], outboxRecent: [...3]}{id, from, subject, createdAt, priority?}— subject truncated to ~60 charsSELECTagainst Message nodes with caller-identity scope; no FTS, no Chroma, no graph traversal beyondSENT_BY/SENT_TOlookupscreatedAt DESC; filters out archived + retractedAcceptance Criteria
mailboxfieldOut of Scope
listMessagesor semantic layer)Avoided Traps
Related
ai/mcp/server/memory-core/healthcheck handlerOrigin Session ID: 71dc3cd8-d39d-48e1-ac62-e240ca67d1a5