Phase 4: attachment text, MCP Apps panel, embeddings #9

Closed
opened 2026-10-31 03:45:40 +00:00 by svc-agent-writer · 2 comments

Phase 4 of the roadmap. Scope only; the child issues come at triage.

  • Attachment text: extract text from attachments at sync time into the FTS index. Needs an amendment to ADR 0001 §4, which says attachments are never stored locally.
  • MCP Apps panel: an interactive panel for the triage view. First, a probe: does Grok render MCP Apps?
  • Embeddings: semantic search over thread text, possibly through Cloudflare Workers AI. Needs an amendment to ADR 0003 (§6) before any thread text leaves the host.

Decision for embeddings: ADR 0005 (local only, nothing leaves the host). Embeddings shipped in 0.4.0. Decision for attachment text: ADR 0007 (accepted: text, never bytes, extracted in a limited child process, searchable by keyword and by meaning). The MCP Apps panel waits on a probe of which clients render it (#75).

Sub-issues

  • #42 Accept ADR 0005: local embeddings for semantic search
  • #43 Embed every mirrored message locally with a pinned model
  • #44 Add semantic and hybrid modes to mail_search
  • #72 Accept ADR 0007: attachment text in the mirror
  • #73 Extract attachment text in the sync worker, in a limited child process
  • #74 Add mail_attachment and the attachment status in mail_read
  • #75 Report the calling client's MCP Apps support in mail_status
  • #76 Add an MCP Apps panel for the triage view
  • #79 Embed attachment text and rank it in semantic search
  • #87 Use attachment text in triage and wakes: local signals first, Jev payload after an ADR 0003 amendment
  • #98 Decide whether attachment excerpts may go to Jev (ADR 0003 §1 amendment)
Phase 4 of the roadmap. Scope only; the child issues come at triage. - **Attachment text:** extract text from attachments at sync time into the FTS index. Needs an amendment to ADR 0001 §4, which says attachments are never stored locally. - **MCP Apps panel:** an interactive panel for the triage view. First, a probe: does Grok render MCP Apps? - **Embeddings:** semantic search over thread text, possibly through Cloudflare Workers AI. Needs an amendment to ADR 0003 (§6) before any thread text leaves the host. Decision for embeddings: ADR 0005 (local only, nothing leaves the host). Embeddings shipped in 0.4.0. Decision for attachment text: ADR 0007 (accepted: text, never bytes, extracted in a limited child process, searchable by keyword and by meaning). The MCP Apps panel waits on a probe of which clients render it (#75). ## Sub-issues - [x] #42 Accept ADR 0005: local embeddings for semantic search - [x] #43 Embed every mirrored message locally with a pinned model - [x] #44 Add semantic and hybrid modes to mail_search - [x] #72 Accept ADR 0007: attachment text in the mirror - [x] #73 Extract attachment text in the sync worker, in a limited child process - [x] #74 Add mail_attachment and the attachment status in mail_read - [x] #75 Report the calling client's MCP Apps support in mail_status - [x] #76 Add an MCP Apps panel for the triage view - [x] #79 Embed attachment text and rank it in semantic search - [x] #87 Use attachment text in triage and wakes: local signals first, Jev payload after an ADR 0003 amendment - [ ] #98 Decide whether attachment excerpts may go to Jev (ADR 0003 §1 amendment)
Author
Member

Result of #75 (research spike, 2026-11-01): the MCP Apps triage panel has users. Claude web and Claude Desktop render MCP Apps. Grok Bot (Cursor 1.0.0) and the grok.com custom connector (connectors-manager 0.1.0) both declare io.modelcontextprotocol/ui with text/html;profile=mcp-app. Claude Code does not. For the panel work:

  • Grok's support is declared, not yet seen rendering. Prove rendering on Grok Bot and on grok.com first.
  • The server must declare the extension in its own capabilities. Negotiation is two-sided.
  • The grok.com connector's validator sends an initialize on protocol 2025-03-26 with no capabilities. Keep accepting it.
  • No detection is needed: a host that supports the extension renders _meta.ui, and other hosts get the text result. This server's stateless_http=True does not block the panel.

Details and sources are on #75.

Result of #75 (research spike, 2026-11-01): the MCP Apps triage panel has users. Claude web and Claude Desktop render MCP Apps. Grok Bot (`Cursor 1.0.0`) and the grok.com custom connector (`connectors-manager 0.1.0`) both declare `io.modelcontextprotocol/ui` with `text/html;profile=mcp-app`. Claude Code does not. For the panel work: - Grok's support is declared, not yet seen rendering. Prove rendering on Grok Bot and on grok.com first. - The server must declare the extension in its own capabilities. Negotiation is two-sided. - The grok.com connector's validator sends an `initialize` on protocol `2025-03-26` with no capabilities. Keep accepting it. - No detection is needed: a host that supports the extension renders `_meta.ui`, and other hosts get the text result. This server's `stateless_http=True` does not block the panel. Details and sources are on #75.
Author
Member

Closing. Phase 4 has shipped: embeddings, attachment text, the MCP Apps triage panel and local attachment signals. Ten of the eleven sub-issues are closed.

#98 stays open on its own, as ready-for-human. It is a gated option, not Phase 4 delivery. The 2026-11-02 ruling accepts the mode, but the build waits for a one-week mailmind replay review, and the issue may close unbuilt.

Closing. Phase 4 has shipped: embeddings, attachment text, the MCP Apps triage panel and local attachment signals. Ten of the eleven sub-issues are closed. #98 stays open on its own, as `ready-for-human`. It is a gated option, not Phase 4 delivery. The 2026-11-02 ruling accepts the mode, but the build waits for a one-week `mailmind replay` review, and the issue may close unbuilt.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dev/mail-mind-mcp#9
No description provided.