Add iOS flag colours to mail_flag and the read rows #68
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#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent: #51 (Phase 6), as a follow-on after #57. Decision: ADR 0004 (the write rules), ADR 0006 §10 (JMAP writes).
iOS Mail and Apple Mail show seven flag colours. They store a colour as
\Flaggedplus a 3-bit code in the keywords$MailFlagBit0,$MailFlagBit1and$MailFlagBit2. The mirror already stores these keywords for both sources (ingest.py_flags,jmap.py_flags). No tool shows them, and no tool can set them.What to build
mail_searchgains aflag_colorfilter.mail_flaggainscolor, one of red, orange, yellow, green, blue, purple and grey. A colour also sets\Flagged.flaggedalso clears the three bits, as iOS Mail does.\Flaggedand the three bits, somail_undorestores the previous colour.ALLOWED_FLAGSfor this action only. Before the STORE, check that the mailbox's PERMANENTFLAGS lists the keywords or\*. Otherwise refuse withunsupported.keywords, withifInState(#57).mail_flagcall. A colour change never touches\Seen.Acceptance
make checkandmake test-integrationpass.Blocked by
Human act
ruling: the operator rules that agents may write flag colours (CONV-40)
Filed under: operator word "option A. proceed 57" sha256:c6d452190dd3