Add reversible JMAP trash with atomic mirror settlement #202
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp!202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-mail-mind-mcp-193-mail-trash-on-jmap-apply-undo-e443c69e"
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?
Apply trash through one state-guarded Email/set and restore surviving prior memberships on undo. Delete excluded mirror rows by stable source id in the action settlement transaction, preserving both change streams. Report the action outcome recorded by the store.
Cover apply, partial undo, conflicts, excluded and mirrored Trash, stable ids, transaction rollback and settlement races. Add a Stalwart integration test.
Pristine baseline: 194 passed, 0 failed, 0 skipped. Updated filtered suites: 207 passed, 0 failed, 0 skipped. Full unit suite: 1534 passed, 0 failed, 8 skipped, 27 deselected. Build, lint, formatting and strict typing passed. Dependency audit passed after redirecting uvx tooling into the permitted cache.
Stalwart integration was not run: neither Podman nor Docker has a reachable daemon.
Closes #193
Co-Authored-By: gpt-6.1-sol noreply@openai.com