Record and Query Layers: Which One(s) for this Working Group?

I’m not in this working group, but I just wanted to share some thoughts because I think this conversation touches on the lack of guiding principles for atproto. I’ve always been fascinated by the design principles that emerged out of the early web, whether for platform design or building on top of the platform (e.g. progressive enhancement, rule of least power, browser as a user agent, etc.) and the ways that it shaped those working on the web. It makes me wonder what design principles could be for atproto and, for example, if it would help guide this working group! Off the top of my head:

  • The PDS as a server-user agent.
  • The PDS is an actor-agnostic ingestion point for an end-user. This was first spelled out to me by @nekomimi.pet.
  • Per @tyler.fun, lexicons should be designed as the minimal source of truth. Data not generated by the end-user should not be stored in their PDS, even if it might be convenient to do so.
  • End-user’s must always consent to someone writing to their PDS, and in the case of permissioned data, consent to who is reading from it.
  • Apps should link to the atproto underlying atproto data they are referencing.
  • There are many different social context’s an AT record could hydrated with.

These aren’t really that complete or fleshed out, but I think they do poke at a direction for some of the questions being asked.

The PDS as an actor-agnostic ingestion point would lead the working group to consider the lexicon layer to be the most important layer to reach consensus on. Especially if the rough definition of a community in the potentially atmosphere lives across many different apps. That’s why I think your risk assessment is spot on! I also wonder if there is an assumption that only appviews interact with lexicons data?

At the query layer, I wonder if the question to start with is what community data can’t be modeled as the minimal source of truth per account. That is the data that I would suggest this working group should prioritize standardizing. I would recommend against the urge of standardizing how records are hydrated with social context, as there could be many potential contexts that emerge across app views. I’d also love to hear more about what commodifying the appview for communities would enable.

2 Likes