MyHub lexicon strategy

For a Hub to appear on the Atmosphere, it must be published using an ATprotocol Lexicon. But do I need a dedicated MyHub Lexicon, or can I build on what's already there?

(Note: This is version 1 of this post, published to get the input of people who know 1000x more about ATprotocol lexicons than I do. Version control details in the footer. )

Apart from supporting a relaunched Hub, I want the basic "reading/thinking/writing/publishing stack" I'm developing (see MyHub on the ATmosphere) to support many more sorts of site, This helps drives a few general principles:

  • Reproduce: my focus is on replicating what I have today on my Hub, but integrated with my wiki (experiments.myhub.ai), but I also want to be...
  • Flexible: create a general foundation which can be adapted by anyone to build any personal or community site, not just Hubs;
  • Minimise: I prefer to use existing lexicons where possible. If I must adapt them, I prefer to add a sidecar before extending or forking the lexicons myself.
  • Credible exit: the lexicon should focus on the data required for credible exit, with features required to display that data left to the presentation app (in my case, the myhub.ai platform). That way users can launch a hub on myhub.ai, but then leave to build their own without losing any data.

Two Lexicons and a Sidecar

I currently don't believe I need a MyHub lexicon: I can use standard.site and Semble, with one general sidecar for the features needed for Hubs. That way Hubs sit alongside other forms of collective intelligence (blogs, semble collections, etc.) and interoperate with them.

As the content breakdown shows, this means that most if not all Hub content can be consumed by other apps - the content I curate to my Hub, for example, can also appear in Semble, where people I may never meet can add it to their library, while others can subscribe to and read the longform content in their standard.site apps of choice.

This sort of interoperability is critical to collective intelligence, allowing different people to consume and organise the same underlying data using different tools, in the process building networks of people interested in the same topics, and allowing those networks to exchange data across those different tools. This also allows for enormous and dynamic creativity in the design and development of the tools themselves, as each can work with all the data from the day they launch.

Content breakdown

Content Base record Sidecar adds Other apps see it as
Hosted Hub item site.standard.document (its own tags holds hub tags) type, rating, version links, old address a standard.site article
Wiki page site.standard.document version links, old address; no type a standard.site article
Curated Hub item Semble URL card (network.cosmik.card);
the associated NOTE card holds a plaintext version of the Hub item's Body
type, rating, tags, old address, Hub Body (markdown), pointing to any inline images (v. rare) (assumed) a Semble card, with a plaintext version autocreated from the Hub content (max. 10k)
Overview with a body site.standard.document tag bundle, old Overview number (and so old address) a standard.site article (includes a link to the tag bundle's search results)
Overview without a body none the sidecar stands alone: title, tag bundle, old number only apps that read the sidecar
The hub site.standard.publication menu and its order, wiki sidebar sections a standard.site publication
Permanent version links network.cosmik.connection but with type = "supersedes" (assumed possible) Semble connection of Related type, unless Semble adds support to "supersedes"

A few notes:

  • Hub item/Wiki page: Hub items are published on my Hub (which is collapsing), while you're looking at a wiki page currently published on my wiki subdomain using a local-first approach (Obsidian + GitHub via Massive.wiki). The MyHub on the ATmosphere project will combine the Hub and the wiki into one site, and allow for both local-first and platform-based publishing. All I'll need to do to "promote" one of my wiki pages to my Hub is add a Type (below)
  • Hosted/Curated: Hub items are either hosted in full on the Hub, or they're curating content published somewhere else, in which case they add value through their Body text. All use the same set of tags
  • Type: all Hub items are either Things I Like (ie, social bookmarks), Think (blog posts) or Do (professional references). Other types of site may not have types at all, or different ones
  • Overview: combines a Body and a tag bundle search result, and so help you summarise and synthesise a self-updating Collection of Hub Items. As Hub items are tag-based they can appear in multiple Overviews, automatically (more)
  • Type, Overviews, tags and other taxonomies combine to provide a Hub with a natural language navigation phrase - see How does my hub's search and browse work.
  • Permanent version: currently used in my experimental wiki (check it out in the footer) but could also be useful for any longform content on the Hub (Overviews, Hosted items)
  • "old address" is just to manage the migration of the existing Hubs to their new environment

The sidecar

As far as I understand it, the sidecar is a separate record that points at the document or card, with the same record key where possible. It should be as general as possible (Flexible principle), so:

  • rather than encoding MyHub's Like/Think/Do as a vocabulary, the sidecar simply provides the possibility for having a vocabulary - if you use Like/Think/Do, then MyHub.ai's default natural navigation phrase can work with your data; if you cook up a different one, you'll need a different phrase, or build your own app
  • similarly, where MyHub.ai has a quality scale of "Normal/Best", someone else should be able to use another quality scale.

I currently see the following Fields:

  • subject: the record it describes
  • classification: {vocabulary, value}, e.g. MyHub Types / think
  • rating: {scale, value}
  • tags: curated items only (standard.site documents have their own tags; Semble cards don't)
  • versions: {number, permanent, previous, current}, the permanent-versions pattern
  • legacy: old /items/<slug> addresses and Overview numbers
  • source: hosted or curated
  • selection: an Overview's tag bundle (tags combined with OR)
  • title: only when there is no subject (a body-less Overview)
  • body: in Markdown (the Semble NOTE gets a plain-text copy). This is for curated items only, as hosted items, Wiki pages and Overviews have a standard.site content field (for which we'll use Markdown) and a plain-text copy
  • images: for any item with inline images, uploaded to the PDS, this lists them. Note:
    • this allows us to use simple Markdown format for the standard.site content field, which is used for the body in hosted items, wiki pages and Overviews, making credible exit a little easier
    • main images need nothing from the sidecar: standard.site has a coverImage field, while curated cards have Semble's imageUrl. Both are chosen by the user via the Obsidian Hub Manager plugin.

Note that the launch version is pre-Spaces (Reproduce principle), so drafts stay in the vault.

Next questions, next steps

Should I call it "the myhub sidecar"? Do sidecars even get names?

While I assume Semble.so will display cards created by other apps, I'd love to deepend the integration - for example:

  • could I write the sidecar tags into the Semble card somehow, making them visible to Semble users (currently Semble tags are part of the Semble note)?
  • could I align Hub Overviews with Semble Collections by automatically placing an item in a Semble Collection the moment it is referenced by a Hub Overview?
  • and what about Semble's API and MCP server?

Do permanent versions (ie, not the latest version of a versioned longform piece - see footer) need to be hidden from standard.site users?

And while I love the idea that the content created in my private vault is published onto a Hub in a form other apps like Semble can use, it does mean that I could edit it Semble.so. That would change the content of my Hub without those changes getting back into my personal vault. I'll need something to mitigate this, as a published item still has an important role in my vault: I can create a new version as my thinking changes, for example, while the text remains an integral part of my Karpathy wiki and is extremely useful to the personal AI agent in there.

Finally, while the above approach builds on two well-established lexicons, there are also other ideas circulating which I haven't integrated yet, such as:

So this is clearly unlikely to be the last version of this page. Once these questions are answered, however, I can build this into my vault, and then move onto the next step: forking the Obsidian-Standard-site plugin to get the content of my vault onto my PDS. After that comes the hard place (displaying it).


Revision Notes

This is one of this wiki's pages managed with the permanent versions pattern described in  Two wiki authors and a blogger walk into a bar…

  • changes in this version: n/1
  • version control