Add evidence-scoped mailmind sync and deterministic enrichment #22
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp!22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-peoplemind-mcp-6-mailmind-source-over-mcp-with-a-8f761078"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add mailmind configuration, token loading, cursor-based MCP sync, reference-only interactions, and deterministic signature enrichment. Migrate interactions to schema v4 with replay deduplication, preserve existing record hashes, support remote interval workers, and document setup.
Validation: 232 passed, 3 Radicale skipped; pristine baseline 173 passed, 3 skipped. Ruff, formatting, mypy, and source/wheel builds pass.
Mailmind contract verified at d0ee0f1a6f3dc832e3ec74f8ebb2984fb091f2b9 against the approved Agent Adjustments. Paths below are in mailmind; server denotes src/imap_mailmind_mcp/server.py.
Closes #6
Co-Authored-By: gpt-6.1-sol noreply@openai.com
Architect verification (scratch worktree at
63d8961, outside the repo dir):codex-svd integrate: readyForMerge true, testResult green, CI absent (repo has no CI)Gate rulings confirmed in the diff: A1 and A3 parsed as the shipped mailmind shapes (spans in
received/sent, marker-wrapped aggregate signature block, no per-block ids);TOOLSis a closed two-tool frozenset asserted on every call;allow_httpis an explicit opt-in with the localhost exception;open_positionsuntouched; initial cursor 0;skipped_unknownappended last; display_name = address for mail-only Persons with a narrow takeover when a later asserted name arrives; errors surface as codes only, with third-party loggers pinned to WARNING.Two additions beyond the spec text, both accepted: migration 4 also creates the partial unique index
interactions_onceso cursor replay cannot duplicate interactions, and the README example setsallow_http = truefor the pod network with the clear-text caveat stated. Mailmind contract verified at d0ee0f1, which contains 96efa14 (#78).Ready for the operator to merge.