FA-75292 / CRDT convergence / Member archive
Awareness presence table: offline notices log removals of absent clients · case 02
Removal events are emitted for clients that were never present.
Case contract
Presence updates ["update", client, clock, state|None, now] are accepted when clock exceeds the last accepted clock for that client, or when it equals it, the state is None and the client is present. Accepted updates record the clock; a None state removes the client (logging a removal only if it was present); otherwise [state, now] is stored. ["tick", now] removes, in client order, every client other than self_id whose last update is at least timeout old. Return present [client, state] pairs and the removal log.
Why this case matters
Ephemeral presence rides alongside document CRDTs and must neither resurrect departed peers nor expire the local user.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| offline notice for an unknown client | {"present": [], "removed": ["c6", "c7"]} | {"present": [], "removed": ["c7"]} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗