Frontmatter
| id | 10168 |
| title | Expand mailbox test coverage and role-based addressing |
| state | Closed |
| labels | enhancementaitesting |
| assignees | tobiu |
| createdAt | Apr 21, 2026, 11:24 PM |
| updatedAt | Apr 22, 2026, 1:25 AM |
| githubUrl | https://github.com/neomjs/neo/issues/10168 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 10139 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 22, 2026, 1:25 AM |
Expand mailbox test coverage and role-based addressing
tobiu added parent issue #10139 on Apr 21, 2026, 11:24 PM
tobiu assigned to @tobiu on Apr 21, 2026, 11:24 PM
tobiu cross-referenced by PR #10167 on Apr 21, 2026, 11:25 PM
tobiu cross-referenced by PR #10170 on Apr 22, 2026, 12:16 AM
tobiu closed this issue on Apr 22, 2026, 1:25 AM
tobiu cross-referenced by #9999 on Apr 22, 2026, 11:09 AM
Context: Follow up to the Phase 3 Mailbox A2A integration (#10146, #10147). The core primitives were shipped in PR #10167, but test coverage for the expanded API surface and the role-based addressing mode were deferred to unblock Phase 4.
The Problem: Missing test coverage for pagination, outbox mode, advanced filtering, and edge creation leaves the new API surface vulnerable to regressions. Missing role-based addressing leaves the AC of #10147 incomplete.
The Architectural Reality:
MailboxService.mjshandles the logic. Needs tests coveringlistMessagesfilters andaddMessagefull schema. Role-based addressing needs routing logic inMailboxServicesupportingrole:<name>andhuman:<login>.The Fix:
MailboxService.spec.mjsfor all new features.Acceptance Criteria:
threadId,from) are tested.listPermissionsaccess-denied path is tested.role:next-session,role:librarian,human:<login>addressing modes are implemented and tested.Out of Scope: TAGGED_CONCEPT Gemma4 auto-emit (handled in separate ticket).
Origin Session ID: ada4aecb-60fc-4b25-a76b-cb92600835a2