Fix missed conversation replies

This commit is contained in:
jjbrunton committed 2026-08-09 16:56:25 +01:00
1 parent 70c156e1f7
commit dc3fc6373b
4 files changed
+68 -18

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ Do not add local retries around this layer without preserving the shared schedul
## Reply-first conversation automation
Each account runtime refreshes recent chats and processes actionable unread conversations oldest-first before it can accept new outreach.
Each account runtime refreshes recent chats and processes actionable inbound conversations oldest-first before it can accept new outreach. After the initial conservative startup scan, the persisted latest Matrix message event plus the worker's prior-scan watermark is authoritative: a newly observed inbound event newer than the confirmed opener remains actionable even if Matrix's presentation-only unread notification count has already returned to zero. On startup, read-marked rooms without a pending reply claim are not revived. Durable event claims, conversation policy state, and a later outbound event prevent duplicate replies.
```mermaid
flowchart TD