Add mailmind replay and the wake rule it reports on #38
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!38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/replay"
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?
Closes #21. Stacked on #37: merge #37 first. Until then, this diff also shows #37's commit.
Changes
An optional
[wake]section with three keys:threshold(0..1, default 0.65, so a "within hours" score of 0.667 wakes)per_thread_per_day(default 1)per_day(default 10)When the section is absent, no wake is raised. #22 enforces that.
would_wake(rule, score, thread_today, total_today)inassess.py: the rule in code. Jev's score is one input, and the caps hold whatever it says. #22 reuses it.Store.assessments(since)returns only the received time, the thread key, the class and the score. A moved copy counts once (grouped by Message-ID).mailmind replay [--days N] [--threshold X] [--per-thread-per-day N] [--per-day N]:[wake]is not set, it says so.Docs: README CLI and config rows, and
[wake]inconfig.example.toml.Sample output
Tests
tests/test_replay.py:make checkpasses (105 tests).🤖 Generated with Claude Code