Pause automation after manual Reddit replies

This commit is contained in:
jjbrunton committed 2026-08-09 19:30:16 +01:00
1 parent bf474dfe10
commit 84a133451f
5 files changed
+175 -6

No files matched your search

+2
View File
@@ -64,6 +64,8 @@ Do not add local retries around this layer without preserving the shared schedul
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.
Outgoing Matrix events are attributed against the recorded opener, durable automated-reply fingerprints, and confirmed exchange-library event records. If synchronization observes an unmatched outgoing message, the conversation becomes operator-owned before another reply can be generated. An unmatched outgoing message also supersedes, rather than confirms, a pending automated claim; only the claimed reply text can reconcile that claim as sent.
```mermaid
flowchart TD
IN["Unread inbound Matrix event"] --> VERIFIED{"Confirmed after a recorded opener?"}