feat: add expected recipient reporting

This commit is contained in:
2026-06-02 03:07:13 +02:00
parent 5ea6c738d2
commit b7591f531b
17 changed files with 629 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ type: workplan
title: "Expected Recipient Reporting and Mailbox Tutorial"
domain: custodian
repo: email-connect
status: active
status: finished
owner: codex
topic_slug: custodian
created: "2026-06-02"
@@ -122,9 +122,9 @@ The scanner should support an optional inclusive datetime range:
Messages outside the range must be excluded before parsing and evidence
generation whenever the message timestamp is available. The range should also be
usable from config. If a message has no parseable timestamp, the implementation
should either include it with a diagnostic note or exclude it only when the
behavior is explicitly documented and tested.
usable from config. If a message has no parseable timestamp while a range is
active, it is excluded because the scanner cannot confirm that it originated
inside the requested window.
Existing `--since` behavior may be retained as a compatibility alias for the
lower bound, but the new range should be expressed clearly in documentation.
@@ -146,7 +146,7 @@ email-connect scan-mailbox --config config/mailbox.yml --from 2026-06-01T00:00:0
```task
id: EMAIL-WP-0003-T01
status: todo
status: done
priority: high
state_hub_task_id: "d1cd0de0-cbd5-4e8d-8179-000ba10e5506"
```
@@ -174,7 +174,7 @@ Invalid recipient rows are visible as warnings or diagnostics.
```task
id: EMAIL-WP-0003-T02
status: todo
status: done
priority: high
state_hub_task_id: "3d7d3bb8-4118-4158-b874-b4e0527eaa85"
```
@@ -201,7 +201,7 @@ unknown-recipient rows by default.
```task
id: EMAIL-WP-0003-T03
status: todo
status: done
priority: high
state_hub_task_id: "aa737837-2f19-4fbf-9920-f98413bd9779"
```
@@ -230,7 +230,7 @@ no-signal diagnostics, not as failures or successes.
```task
id: EMAIL-WP-0003-T04
status: todo
status: done
priority: medium
state_hub_task_id: "731cf592-1bbe-4143-b21b-721af281528c"
```
@@ -255,7 +255,7 @@ or partial expected recipients.
```task
id: EMAIL-WP-0003-T05
status: todo
status: done
priority: high
state_hub_task_id: "22585e83-d995-42d9-9ab2-c383b055fbb8"
```
@@ -284,7 +284,7 @@ message timestamp falls within the range according to the documented rules.
```task
id: EMAIL-WP-0003-T06
status: todo
status: done
priority: high
state_hub_task_id: "f30cd5b9-5035-42b4-9eca-a104e2b26ecb"
```
@@ -313,7 +313,7 @@ and datetime range filtering.
```task
id: EMAIL-WP-0003-T07
status: todo
status: done
priority: medium
state_hub_task_id: "00a29cb9-ac5a-4784-a9c4-7f2d4905405c"
```