Skip to content

feat(core): add 5-minute min-age gate to read receipts#65

Merged
NagyVikt merged 1 commit intomainfrom
agent/claude/read-receipts-min-age-filter-2026-04-25-13-52
Apr 25, 2026
Merged

feat(core): add 5-minute min-age gate to read receipts#65
NagyVikt merged 1 commit intomainfrom
agent/claude/read-receipts-min-age-filter-2026-04-25-13-52

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

`buildAttentionInbox` previously surfaced every `message_read` sibling
the moment it was written, which meant the sender's preface lit up with
"B read your message — no reply yet" 30 seconds after B opened the
message. That's noise: B is almost certainly still composing a reply.

New `read_receipt_min_age_ms` option (default 5 minutes) suppresses
receipts younger than the threshold. Tests and hot-debug paths can
pass `read_receipt_min_age_ms: 0` to opt out. The existing receipt
test does this; a new ripening test asserts the gate behavior using
the existing `now` injection point so the assertion doesn't race the
wall clock.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@NagyVikt NagyVikt merged commit 9e559a4 into main Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant