Accept ADR 0008: an evidence token scope, and the mail_evidence field list #80

Merged
svc-agent-writer merged 3 commits from docs/adr-0008-evidence-scope into main 2026-11-01 01:39:10 +00:00

Accepts ADR 0008 for #78 (mail_evidence, from DD-465 §7, with the two amendments of the DD-465 grill). Acceptance is the human act on #78.

  • A third token scope, evidence, nested inside read. An evidence token reaches mail_evidence, mail_people, mail_status and mail_changes only, so it cannot read a body. The read and write tokens keep every tool they have today.
  • A closed field list for mail_evidence: domain, received, first, last, roles, sent, signature and subjects. A test asserts the exact set.
  • mail_changes envelope=true: each add row gains from | to | cc, addresses only, lowercased, no names, no subject. A test asserts the exact cells.
  • The owner is excluded from mail_evidence by default, as mail_people does.
  • Consent and retention stay with the consumer (DD-465 §6).

Points for review:

  • With envelope=true, an evidence token learns every To and Cc address of every new message: the owner's correspondence graph, third parties included. The Consequences section says so.
  • mail_people moves to the evidence scope. It already shows only addresses, names and counts.

The operator accepted ADR 0008 on 2026-11-01, and the status reads accepted. The build of #78 waits for the acceptance of DD-465.

🤖 Generated with Claude Code

Accepts ADR 0008 for #78 (`mail_evidence`, from DD-465 §7, with the two amendments of the DD-465 grill). Acceptance is the human act on #78. - A third token scope, `evidence`, nested inside `read`. An evidence token reaches `mail_evidence`, `mail_people`, `mail_status` and `mail_changes` only, so it cannot read a body. The read and write tokens keep every tool they have today. - A closed field list for `mail_evidence`: `domain`, `received`, `first`, `last`, `roles`, `sent`, `signature` and `subjects`. A test asserts the exact set. - `mail_changes envelope=true`: each `add` row gains `from | to | cc`, addresses only, lowercased, no names, no subject. A test asserts the exact cells. - The owner is excluded from `mail_evidence` by default, as `mail_people` does. - Consent and retention stay with the consumer (DD-465 §6). Points for review: - With `envelope=true`, an evidence token learns every To and Cc address of every new message: the owner's correspondence graph, third parties included. The Consequences section says so. - `mail_people` moves to the evidence scope. It already shows only addresses, names and counts. The operator accepted ADR 0008 on 2026-11-01, and the status reads accepted. The build of #78 waits for the acceptance of DD-465. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
svc-agent-writer changed title from Propose ADR 0008: an evidence token scope, and the mail_evidence field list to Accept ADR 0008: an evidence token scope, and the mail_evidence field list 2026-11-01 01:37:43 +00:00
svc-agent-writer deleted branch docs/adr-0008-evidence-scope 2026-11-01 01:39:10 +00:00
Sign in to join this conversation.
No description provided.