4 The data substrate
Why a provenance-aware distribution capability is treated as the substrate, not as “a tool you may install”. This choice is what makes independently operated sites reconcilable: the same content, the same provenance, reachable by everyone who is party to it — without a single owner holding the only copy.
Underneath it all sits git-annex — the content-addressed store both ends of the substrate are built on. On top of it, the substrate is a client/host pair: forgejo-aneksajo hosts the repositories and their versioning, and DataLad is the client that moves content in and out. What is stored where is deliberate: annexed files are held as pointer files in git, while their content lives in git-annex remotes — local paths, SSH endpoints, or HTTP. The host’s own store is just one more remote in that set. It may hold none of the content and act only as the protocol and collaboration endpoint, letting bytes move remote to remote; or it may keep annex keys in its own store and be the central place they live — a role sites often need even when the instance is itself a node in a larger federation. A site’s posture — standalone, a gateway, a peer overlay, a node in a hub (overlay & federation) — changes which remotes it trusts and whether the host is among the holders, not the mechanism. Content always moves over the git-annex protocol, remote to remote, whichever locations hold it.
The same property works in reverse, and it is the reason the pointer model is worth its complexity: because a key identifies content without exposing it, a repository can be reviewed, cloned, and reasoned about while its largest files stay where they are. That is the load-bearing mechanism of the code to data pattern, where the analysis is shipped to protected content precisely because the content cannot be shipped.
Because content is addressed by provenance-bearing identifiers rather than by storage location, two independently operated sites can share and reconcile the same material. That reconciliation — not storage — is why the substrate is the substrate.
Component detail: git-annex (the underlying content store), forgejo-aneksajo (host), and DataLad (client). The hosting sits inside a broader foundation — the single identity and the universal data API that ride along with it — described in the platform foundation.