FA-76122 / Chat ordering and read receipts / Member archive
Aggregate emoji reactions with a per-user limit: limit boundary · case 02
A user can place one more distinct emoji than the configured limit.
Case contract
events [seq, user, emoji, action] are applied in seq order. A user holds each emoji at most once and at most `limit` distinct emoji per message; an add beyond the limit is ignored. A remove only releases a reaction the user holds. Result rows [emoji, count, mine] for emoji with at least one user, ordered by the seq at which the emoji most recently went from zero to one user.
Why this case matters
Reaction chips reorder and recount live; wrong state handling shows phantom or misordered reactions.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| limit reached | [["a", 1, true], ["b", 1, true], ["c", 1, true]] | [["a", 1, true], ["b", 1, true]] | 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 ↗