@relsqui @shoofle ok sketching, since inspired 🙂
Participants are identified by a key pair. Not unique per person, but it's your identity, so if you have more than one those are "different people".
Participants act as a "demiurge" and "gatekeeper" for their realm. "Demiurge": create the rooms, descriptions, etc. "gatekeeper" ->
By default, realms are closed: no one but the creator can enter. The creator can create entrances, either:
- From another realm ("portal"), "anyone welcome there is welcome here"
- By certificate ("glyph of entry"), sign someone's key and they present that as their authoritzation
- To the world (?)
Clients all check "this identity is allowed here" before gossiping or handling messages. Even if a Bad Guy shows up, they are ignored by clients unless they're allowed by the realm.
...all this assuming statelessness of the realm itself, or that state can come from CRDTs or OT or something that can handle gossipping and split-brain. (I say this never having written CRDTs or OT or a gossip protocol >.> )
I *think* this permits a reasonably compact realm definition, such that the realm itself could be gossipped. E.g.: stored in browser storage, updated without the user seeing the underlying stuff. And would allow servers (always-online participants) to be judicious in what they decide to "host"- "I'm going to participate in the gossip for this realm, because I trust this person or this community and..."