Escape compact mail rows and add snippet and address controls #144

Merged
Collaborator

Share cell escaping and truncation across row renderers. Clean snippets at render time, add mail_search fields and snippet_chars, and cap mail_read address lists with max_addresses. Keep change-envelope addresses uncapped: ADR 0008 §3 bounds each mail_changes envelope cell by the stored to_addrs and cc_addrs columns, so a cap there needs an ADR amendment; the issue's address cap therefore applies to mail_read only. Update documentation and add regression tests.

Closes #109
Co-Authored-By: gpt-6.1-sol noreply@openai.com

Share cell escaping and truncation across row renderers. Clean snippets at render time, add mail_search fields and snippet_chars, and cap mail_read address lists with max_addresses. Keep change-envelope addresses uncapped: ADR 0008 §3 bounds each `mail_changes` envelope cell by the stored `to_addrs` and `cc_addrs` columns, so a cap there needs an ADR amendment; the issue's address cap therefore applies to `mail_read` only. Update documentation and add regression tests. Closes #109 Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Share cell escaping and truncation across row renderers. Clean snippets at render time, add mail_search fields and snippet_chars, and cap mail_read address lists with max_addresses. Keep change-envelope addresses uncapped. Update documentation and add regression tests.

Closes #109
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Shorten the tool description while preserving fields, snippet_chars, escape markers and the untrusted-data rule. Add an MCP regression test covering the description limit and required terms.

Validation: 888 passed, 8 skipped; lint, formatting, strict typing and dependency audit passed.

Closes #109
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Rename the address-cap test so -k addresses collects the 45-address scenario. Match the snippet-cleaning test name specified in the spec.

Validation: both filters pass; full suite reports 888 passed, 8 skipped, 18 deselected. Lint, formatting, typing and dependency audit pass.

Closes #109
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
svc-svd-writer deleted branch feat/svd-dev-mail-mind-mcp-109-compact-rows-and-mail-read-esc-dd0e8af0 2026-11-02 12:22:19 +00:00
Sign in to join this conversation.
No description provided.