Esbabbler (Messaging) Feature Conventions
Discord Parity (Default Design Rule)
Esbabbler is a Discord clone: an undecided behaviour, name, default or layout takes Discord's, diverging only on visual style and recorded infrastructure limits, and an unknown is an open question rather than a guess (references/discord-parity.md).
Display Name Resolution
The procedure for a screen that shows room members returns the room's displayName alongside the account name when that screen needs both. Render those fields directly; do not add a second frontend room-name overlay or wrapper beside getRoomMemberName, the one derivation (references/display-names.md).
What May Be Done To A Message
MessageTypeOperationPermissionMap is the single source both the procedures and the client menu read, answering capability and permission as two questions; getMessageProcedure(schema, operation) names the operation it guards, and a procedure never hardcodes a type check (references/message-operations.md).
A Subscription Written on Somebody Else's Behalf Records the Member's Own Decision
An opt-out is recorded on the row rather than deleting it, only the member's own action clears it, and an id lifted off a message is guarded because a webhook has none (references/third-party-subscriptions.md).
A Realtime Event Names Its Class
Each realtime event type names what its frame carries in RealtimeEventClassMap (packages/db-schema/src/models/realtime/RealtimeEventClassMap.ts), so a live read stays on its topic rather than on an event written for it (openspec/specs/architecture/client-data/design.md, "Live reads").
Deep Dives
references/message-operations.md— when adding a message operation orMessageType, or gating a message menu item on who may use it.references/client-state.md— when a component mutates messaging state, and whether that belongs in a store at all.references/subscribable-watch-sources.md— when a composable sets up live updates from a reactive list, or sets them up after anawait.references/settings-surfaces.md— when adding a tab, panel or field to the room or user settings dialog.references/scheduled-message-jobs.md— when scheduling work to run at a future time (scheduled messages, reminders).references/discord-parity.md— when a messaging behaviour, name or default is undecided.references/display-names.md— when rendering a member's name, or holding only a member id.references/third-party-subscriptions.md— when one member's action subscribes another, or an opt-out is recorded.