• v0.4.0 080a433665

    0.4.0 Stable

    svc-agent-writer released this 2026-10-31 13:41:47 +00:00 | 173 commits to main since this release

    No known key found for this signature in database

    Local semantic search (ADR 0005). Nothing leaves the host.

    Image: git.groupthink.asia/dev/imap-mailmind-mcp:0.4.0@sha256:eae961e902a66a151fd02ece76b047814008b466525402d8d21854eddba61eb7 (linux/amd64, config sha256:f4c26c3de67c…).

    Added

    • Semantic search (#44, #48), when [embed] is set. mail_search gains:

      • mode="semantic": a plain-language query, ranked by meaning;
      • mode="hybrid": the keyword and semantic rankings, fused;
      • similar_to=<id>: mail like that message.

      Every filter applies in every mode. The api loads the model on the first semantic call and embeds the query in memory. It never stores or logs the query.

    • The embedder (#43, #46). An embed thread in sync stores one bge-small-en-v1.5 int8 vector per message, 1.5 KB each. It works newest first on one core, and it resumes a backfill. A moved copy reuses the vector of its Message-ID.

      The image carries the model, pinned by Hugging Face revision and sha256 and checked at build. Nothing downloads at run time. mail_status and mailmind check report the embedder.

    • aliases on an account (#41): other addresses the owner writes from. mail_people leaves them out.

    Changed

    • New mail nudges the assessor and the embedder (#47). Triage, wakes and vectors now start seconds after a sync pass adds mail, not at the next 60-second poll. poll_seconds stays as the fallback.
    • Schema v4 adds the embeddings table. The sync worker upgrades the store on start.
    • Memory limits. The base sync and api limits rise from 512Mi to 768Mi.
    • Image size. The image grows from 264 MB to 477 MB. onnxruntime and numpy ship as layers of their own, so every layer stays under the registry proxy's 100 MB request limit (#50).

    Upgrade

    • With no config change, 0.4.0 behaves like 0.3.0 plus the nudge. [embed] is off by default.
    • To turn on semantic search, add an empty [embed] section. The defaults use the model in the image.
    • To exclude other addresses from mail_people, add aliases = [...] to the account.

    Decisions

    • ADR 0005: local embeddings for semantic search (#45).
    • ADR 0003 §6 is amended: an off-host embedding provider needs its own amendment and owner consent.
    Downloads