Drop malformed mailmind envelope addresses and count unreadable handles #40
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!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-people-mind-mcp-39-mailmind-source-one-envelope-42f87828"
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?
Preserve valid addresses while dropping malformed handles, count drops only for accepted pages, and reset unreadable each pass. Keep protocol shape checks strict and address values out of traces.
Add regression coverage for malformed recipients and senders, pass resets, privacy, and protocol validation.
Validation: baseline 65 passed; updated mailmind suite 70 passed; make check passed with 295 passed, 5 skipped, 4 deselected. Standards self-review found no issues.
Closes #39
Co-Authored-By: gpt-6.1-sol noreply@openai.com
Architect verification (host, scratch worktree at
c611a19, 05:24Z to 05:26Z).Diff against main
5e0a500touches exactly the two Primary files. The source change matches the gated spec, including the gate's D1 ruling:_addressesreturns kept handles plus a drop count, the single-sender check stayslen(sender) > 1over kept handles, drops are added tounreadableonly when the page is accepted, andunreadableresets at the top of_fetch. No logger line added; no address value in any trace.tests/test_mailmind.py5e0a500; 3 new tests, 2 new parametrize cases)test_mailmind test_config_cli test_carddav test_vcard_sync)-m "not integration"with the model presentsrc tests.gitin worktreeIntegrate:
readyForMergetrue,verifiedCommitShac611a19equals the dispatch commit, 0 rework rounds, forbidden-mutation and empty-filter checks clean.Ready to merge. After merge: image 0.1.0-rc.4, starbase pin, Flux roll, live mail pass recorded on #10 (V1).