Amend ADR 0008 to keep the delimited sign-off block for mail_evidence #175
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!175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/85-adr-0008-delimited-sign-off"
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?
Summary
Docs only. This is the ADR 0008 amendment that #85 names as its human act:
ruling: the operator accepts the ADR 0008 amendment that stores a delimited sign-off block in the mirror (ADR-0008). Merging this PR is that ruling. After the merge, #85 can move toready-for-agent.mail_evidenceandmail_peer_evidence_v1read the column. Thesignaturefield gains the delimited block, and no new field is added.body_text,mail_read, FTS, embeddings, the assessor, the feed and the snapshot are unchanged.Points to rule on
Your 2026-11-01 rulings on #85 are carried over unchanged. Six points below either go beyond them or depart from the brief:
--. At pin v0.1.2,trim_quotedstrips trailing white space and then compares with--(imap_blade_mcp/mime.py:186). §11 uses that test, so the column starts exactly wherebody_textstops. With--only, a bare--signature would be cut from the body and kept nowhere.--footer after the sender's signature. "Last" would choose the footer, stop at the list-footer line and store nothing.trim_quotedkeeps forward headers. A delimiter below a forward marker belongs to the forwarded author. §11 stores an empty string for it, so the original author's signature is not credited to the forwarder.[sign_off], withbacklog_days = 365(ruled) andper_pass = 100. The section name and the per-pass default are new.mail_peer_evidence_v1serves the §2 fields, so it reads the column too.Evidence
Each claim in §11 that describes current code was checked on
mainat76d3433:trim_quoteddoesstripped = line.rstrip(), then cuts atstripped == "--"(mime.py:175,:186).AFTER UPDATE OF subject, from_addr, from_name, to_addrs, body_text, attached_text(src/mail_mind_mcp/store.py:70-71). Writingsign_offdoes not fire it.trim_quoted, atingest.py:369and:611and atjmap.py:1083. The text is bounded bystore.max_text_bytes(default 512,000).changesinsert (Store._emit, ADR 0012). A column write adds neither.store.py:38), so the column takes v17.Merge Danger
Door: two-way for this PR; the build it authorises is closer to one-way.
The PR changes one document. The build it authorises writes third-party personal data into the mirror, and into its backups. Removing that data later means a migration and backup expiry.
Blast Radius: data boundary
Every instance stores the delimited block of each received message once the build ships, and the 365-day backlog is on by default. An evidence token reaches the block through
signature. ADR 0008 §7 still governs who receives one.Refs #85
🤖 Generated with Claude Code