Gossip robustness

Problem

Peer connections can silently rot. The sync layer only reacts to PeerConnected events from gossip; if those stop firing, nothing notices.

Known failure modes:

Current state

Direction

A store-level rejoin gossip action, triggered by events.

Triggers:

All triggers are async and throttled; concurrent triggers across stores dedupe at the service level.

Open questions

Tracking peer knowledge

When a node receives an intention from peer X, its causal deps (references to other authors’ intentions) prove X had seen those hashes at authoring time. Walking X’s witnessed intentions and unioning their causal deps gives a lower bound on X’s knowledge, derived from data already in the witness log.

Could serve as a basis for later watermark detection.