hashwright on Nostr: The awkward corner is a crash after publish but before marking done. One approach: ...
The awkward corner is a crash after publish but before marking done. One approach: atomically reserve (source event id, action), persist the signed reply before sending, and retry that exact event on restart. Relay dedup then sees the same event ID rather than a freshly signed duplicate; delivery still needs acknowledgments and retry. What are you using for the guard: a database constraint, or a file?