Function: memberIdOf()
memberIdOf(
familyId,memberKey):string
Defined in: packages/core/src/types.ts:44
A family member's instance id: ${familyId}-${memberKey}, with the
delimiter escaped in both halves.
Plain concatenation is not injective — family a-b member c and family
a member b-c both spell a-b-c — and instance overrides and family-wide
overrides share one flat string keyspace, so the collision would let an
override aimed at one bot apply to an unrelated bot in another family.
Hyphens in tenant slugs and team names are ordinary.
support + billing is support-billing; only a part that contains - or
`` grows an escape.
Parameters
familyId
string
memberKey
string
Returns
string