markvd.net

markvd.net / documentation

CAIRN

A decentralized social network without a chain, a company, or a central index

document
proposal paper
revision
0.3
status
draft for comment
published
2026-09-17
author
Mark Van Daele
license
CC BY 4.0

Document control

Field Value
Title CAIRN: A decentralized social network without a chain, a company, or a central index
Revision 0.3
Status Draft for comment
Date 2026-09-17
Author Mark Van Daele
Canonical URI https://markvd.net/documentation/cairn-proposal.html
Supersedes 0.2 (internal), 0.1 (internal)
License CC BY 4.0
Comment period Open. See section 19.

Status of this document. This is a proposal paper, not a specification. It describes a system that has not been built, argues that the architecture is sound, and identifies the work required to find out whether that argument holds. Nothing here is normative. No implementer should treat any structure described in this document as stable. Revision numbering, supersession, and errata handling for this paper are described in Appendix B, which is written to be reusable for other papers.


Abstract

Centralized social platforms fail in predictable ways: the operator’s revenue model diverges from the reader’s interest, moderation becomes an unaccountable political function, and the user’s audience is held hostage to the operator’s continued goodwill. Decentralized alternatives have addressed the first two problems while failing badly on cost, storage growth, illegal content, and discovery, which is why they remain small.

This paper proposes CAIRN, a design that separates four powers usually held by one party: hosting content, judging content, delivering content, and indexing content. Identity is a keypair. Posts are signed, append-only, and stored by the author or the author’s host. Media is content addressed. Relays carry what they choose to carry. Independent labeling services publish signed judgments that clients may subscribe to, ignore, or override. Discovery runs primarily off the social graph on the reader’s own device, with optional paid indexers for search.

The paper takes an explicit position on blockchain: a distributed ledger is a poor fit for social content and a marginal fit for identity, and CAIRN uses none. It takes an explicit position on the illegal content problem, which most decentralized proposals avoid: a mandatory hash-matching floor at relay ingest, enforced by the self-interest of whoever is holding the bytes rather than by a central authority.

The paper ends with a phased plan whose first phase is deliberately small, and with an honest list of the problems the design does not solve.


1. Scope and audience

This document is written for network and systems engineers, operators who might run a relay, and anyone evaluating whether a decentralized social network can be made to work at a cost an individual can bear. It assumes familiarity with public key cryptography, DNS, content addressing, and interdomain routing policy. It does not assume familiarity with any existing decentralized social protocol.

The paper is high level by intent. It describes structures, responsibilities, and boundaries between components. It does not define wire formats, field names, cryptographic parameters, or APIs. Those belong in a specification, which does not yet exist and should not be written until the questions in section 17 have answers.


2. Problem statement

2.1 What centralized platforms actually provide

Any honest critique starts by naming what the incumbents do well, because a replacement has to do those things too.

They provide a stable name that other people can find. They provide storage and bandwidth that the user does not pay for directly. They provide a global index, so that a person searching for a topic finds people talking about it. They provide a default moderation experience good enough that most users never think about moderation at all. They provide an onboarding path where a new user sees interesting content within minutes rather than staring at an empty timeline. And they absorb legal liability, take-down handling, and law enforcement correspondence on the user’s behalf.

That list is the requirements document. Decentralized designs that dismiss it as incidental are the ones that end up with a few thousand users.

2.2 The failure modes

The problems are structural rather than the result of bad management.

Divergent incentives. The operator sells attention. The reader wants signal. These pull in opposite directions, and the operator controls the ranking function, so the reader loses by default and cannot audit the loss.

Captive audience. A user’s followers are held in the operator’s database. Leaving means starting over. This is the mechanism by which users tolerate changes they dislike, and it is the single most important thing a replacement must eliminate.

Moderation as unaccountable governance. A platform at global scale makes speech decisions for hundreds of millions of people, under pressure from several governments at once, using rules written by a small team and enforced inconsistently by contractors and classifiers. No outcome of this arrangement satisfies anyone, and the arrangement itself is the problem. There is no set of rules that a single global authority can apply to a global population without a large fraction of that population considering the result illegitimate.

Single point of failure and coercion. One corporate entity can be acquired, can change policy overnight, can be compelled by a government, or can simply shut down. When it does, the social graph it held goes with it.

Opaque ranking. Even users who accept the operator’s moderation rules cannot see why a given item appeared in front of them, which makes manipulation undetectable in principle.

2.3 Why decentralized alternatives have not displaced them

Several serious systems already exist. They have not won, and the reasons are instructive.

Server-level federation (the model where users hold accounts on instances that federate with each other) solves corporate control but reproduces the captive audience problem one level down. The instance admin is now the party who can deplatform, and who holds the user’s identity. Instance shutdowns are common and lose the account. Discovery across the network is weak because no instance sees the whole graph. Moderation becomes an instance-versus-instance blocking war that is intensely political and consumes volunteer operators until they quit.

Blockchain based social networks put identity, and in the worst cases content, on a distributed ledger. This makes every write cost money and every read slow, imposes permanent public storage on data that should be deletable, forces a token economy onto a social product that does not need one, and attracts a speculative user base rather than a social one. The consistently observable outcome is a product where the mechanism is more interesting than the content.

Pure peer-to-peer designs eliminate servers and therefore eliminate reachability. A phone that is asleep is not serving content. These systems work as demos and fail as products because the availability model does not match how people actually use devices.

All of them underperform on discovery, which is the subject of section 11 and the hardest unsolved part of this proposal as well.

2.4 Non-goals

Stating these plainly prevents the design from being judged against things it never intended.

CAIRN does not attempt anonymity or censorship resistance against a determined state actor. Those are legitimate goals for a different system with a different threat model, and conflating them with a general purpose social network produces something that serves neither audience.

CAIRN does not attempt permanence. Content that nobody chooses to keep should disappear, and the ability to stop hosting one’s own words is a feature.

CAIRN does not attempt to be free. It attempts to be cheap, and to make the cost visible and attributable rather than hidden in an advertising transaction.

CAIRN does not attempt to host illegal content. It is not a censorship-proof publishing system and does not want to be.

CAIRN does not attempt a single global moderation standard, because no such standard exists.


3. Design principles

Seven principles constrain every decision in the rest of this paper.

  1. The user owns the keypair, and therefore the identity. Nothing else in the design may compromise this.
  2. Separate the four powers. Hosting, judging, delivering, and indexing must be performed by parties that can be swapped independently. A design where one party does all four has reinvented the platform.
  3. Nobody stores everything. Any design requiring full replication has a growth curve that ends the project.
  4. Moderation is a delivery and visibility problem, not a deletion problem. In a network where anyone may host, deletion is not available, and pretending otherwise produces a design that fails on first contact with reality.
  5. Costs are attributable. Whoever wants a thing to persist pays for that thing to persist.
  6. Boring interfaces between layers. Every interface should be dull enough that a replacement implementation is a weekend of work, because that is what keeps any single implementation from becoming the de facto platform.
  7. Recentralization is the default outcome, so design against it explicitly. Convenience recentralizes. The design must assume that the most convenient indexer, client, and labeler will accumulate most of the users, and must ensure that this accumulation confers no power over delivery.

4. Architecture overview

Six components, with deliberately narrow responsibilities.

Component Responsibility Who runs it Can it censor?
Identity A keypair and a resolvable name The user No
Log The user’s signed, append-only post stream The user’s host Only the user’s own
Blob store Content-addressed media The user’s host, plus caches Refuses to serve, cannot alter
Relay Accepts, stores, and forwards signed events Anyone Yes, for its own subscribers
Labeler Publishes signed judgments about accounts and content Anyone No, advisory only
Indexer Crawls relays, offers search and global feeds Anyone, at real cost Yes, within its own index

A simplified view of the flow:

  [author device]
        |  signs
        v
  [author log + blob store]  <---- the author's host, cheap
        |  publishes events
        v
  [relay]  [relay]  [relay]   <---- carry what they choose
     |        |        |
     +--------+--------+
        |            \
        v             v
  [reader client]   [indexer] ----> search, global feeds
        ^
        |  subscribes to
  [labeler] [labeler]         <---- advisory judgments

The reader’s client is the only component that sees all of this at once, and it is the only component that decides what the reader actually sees. That placement is the whole design.


5. Identity and naming

An identity is an Ed25519 keypair. The public key is the durable identifier. Everything a user publishes is signed by it.

Raw keys are unusable as human-facing names, so a name is a separate, replaceable layer. The proposed mechanism is domain-backed: a handle of the form user@example.net resolves, through a well-known location on that domain, to a public key. This has three properties worth the dependency on DNS. It costs the user nothing beyond a domain they may already own. It provides free verification, because control of the domain is the proof. And it makes the handle portable in the direction that matters, since the underlying key does not change when the user moves hosts.

It also creates a dependency on the domain registrar and the DNS, which is a real weakness and is treated as such in section 14. The mitigation is that the key, not the name, is the identity. Losing a domain costs a user their handle and not their followers, since follow lists reference keys.

Key rotation is handled by a signed rotation certificate published to the user’s log and countersigned by a recovery key held offline. Clients treat a valid rotation chain as continuity of identity. Key loss without a recovery key is unrecoverable, and the design accepts that rather than introducing a party who can restore access, since such a party is also a party who can seize an account.


6. The authorship log

Each identity maintains one append-only log. Each entry is signed, carries a monotonic sequence number, and references the hash of the previous entry. This gives a reader three properties for free: authenticity, ordering, and the ability to detect that entries were withheld, since a gap in the sequence is visible.

The log is the unit of replication. A reader who follows an account syncs that account’s log, not the network. Logs are small, as section 9 shows.

An append-only log cannot delete, so deletion is expressed as an entry that supersedes or retracts an earlier one. Well-behaved clients and relays honor retraction by dropping the content and refusing to serve it. Badly behaved ones do not, and the user should be told plainly, at the moment they press delete, that deletion is a request and not a guarantee. Every system with this property should say so, and most of them do not.

Edits work the same way: a new entry supersedes an earlier one and clients display the latest, with the edit history available because it is inherent in the structure.


7. Content and storage

Text entries live in the log. Media does not, because mixing a 40 KB text stream with 4 MB images makes the log expensive to sync.

Media is content addressed. A blob’s identifier is the hash of its bytes, so the log carries the identifier and the bytes live in a blob store. Content addressing buys three things. Duplicates collapse, because the same image reposted forty thousand times is one object. Integrity is verifiable without trusting the host, since the reader can check the hash. And retrieval becomes host agnostic, so the reader can fetch from the author’s server, a cache, a friend, or any other party that happens to have the bytes.

The recommendation is to adopt the addressing format and chunking model used by IPFS (CIDs, multihash, and a DAG structure for large objects) without joining the public IPFS swarm. The format is the valuable part. The public distributed hash table introduces cold-lookup latency measured in seconds, which is fine for archival retrieval and unacceptable for scrolling a timeline, and public gateway dependence reintroduces exactly the chokepoints this design is trying to avoid. Blobs are therefore served over ordinary HTTPS from the author’s host, with peer retrieval available as a fallback when the origin is gone.


8. Relays

A relay accepts signed events from the identities it serves, stores them for a policy-defined period, and forwards them to subscribers. It is a dumb component by design. It cannot alter content, because content is signed. It cannot impersonate, because it holds no keys. It can refuse, and refusal is its only power.

Relays are intended to be cheap and numerous. A relay serving a few hundred identities fits comfortably on hardware an individual already owns. A relay operator sets their own acceptance policy, retention period, and peering arrangements, and is under no obligation to explain any of them.

Users may publish to several relays at once, which is the availability model: redundancy comes from the author choosing multiple carriers, not from the network replicating everything everywhere.


9. Managing size

Growth is the quiet killer of these designs, and the arithmetic is worth doing explicitly rather than asserting.

A signed text entry with metadata is on the order of 400 bytes. A prolific author posting twenty times a day for ten years produces about 73,000 entries, roughly 29 MB. A reader following 500 such authors, which is far above the median, syncs something on the order of 15 GB over a decade, and in practice far less, because most followed accounts post at a small fraction of that rate. Text is not the problem. Text has never been the problem.

Media is the problem. A single user’s uploaded images and video will exceed their lifetime text output within weeks.

Four mechanisms keep this bounded.

Partial replication. A participant stores what they author, plus what the accounts they follow author. Nobody has a copy of the network and nobody needs one.

Default expiry with opt-in persistence. Relays garbage collect on a published retention policy. Persistence is a positive act: the author pins their own archive, or a reader who cares pins a copy. Content that no party will pay to keep is content that goes away, which is the correct outcome and also an honest one.

Separate media policy. Blobs get shorter default retention than text and aggressive transcoding on upload. The author’s host bears the origination bandwidth, which is the correct place for the cost to land, because it is the only place where the person generating the cost can see it.

Deduplication by construction. Content addressing means viral media is stored once per host regardless of how many times it was reposted.

The result is a per-user storage cost measured in single-digit gigabytes and a bandwidth cost dominated by how many people actually read a given author, which is the property any sane cost model should have.


10. Moderation

This is the section that decides whether the design is serious.

10.1 The reframe

In a network where anyone can host, content cannot be deleted. That is not a flaw to be engineered away, it is a property of the architecture, and every design that pretends otherwise breaks on contact with a single determined operator.

What can be controlled is delivery and visibility. A relay chooses what to carry. An indexer chooses what to index. A client chooses what to display. A reader chooses whose judgment to accept. Moderation in CAIRN is the composition of those four independent choices, and at no point does any party need the ability to make content cease to exist.

This is a weaker guarantee than a platform offers, and it should be stated as such rather than dressed up. What it buys is that no party holds the power to silence, because that power was never assembled in one place.

10.2 Separation of powers

The party that hosts content does not judge it. The party that judges content does not host it. The party that delivers content is bound by neither, and the reader overrides all three. Each of these parties can be replaced by the reader without losing their identity, their followers, or their archive, which is what makes the arrangement meaningfully different from an instance admin with a ban button.

10.3 Labelers

A labeler publishes signed assertions: that an account posts spam, that an image is graphic, that a claim is disputed, that a post is off-topic for a particular community. Labels are data. They carry no enforcement.

Clients subscribe to labeler sets and apply them as the reader configures: hide, blur, downrank, annotate, or ignore. Multiple labelers can be layered. A reader can disagree with one label without abandoning the labeler, and can override any of it.

Labelers can be operated by anyone, and the expectation is a plural ecosystem: general-purpose safety labelers, community-specific ones, professional or trade-specific ones, and adversarial ones that exist to label the other labelers. A labeler that is wrong loses subscribers, which is the only accountability mechanism in the design and a real one, because switching costs nothing.

The honest observation is that most users will accept whatever labeler set their client ships with. Defaults do the overwhelming majority of the work here, and a client vendor that ships a default set holds real soft power. The difference from a platform is narrow but material: the default is a choice the user can inspect and change in one action, and changing it does not cost them their account.

10.4 The illegal content floor

Everything above is preference. This is not.

Known illegal material, child sexual abuse material foremost among it, cannot be left to a market of labelers. The proposed mechanism is mandatory perceptual hash matching at relay ingest against published hash sets maintained by the established clearinghouses, with matched content refused and reported according to the operator’s jurisdiction.

This works without a central authority for a reason worth stating clearly: the relay operator is the party holding the bytes, and is therefore the party with personal legal exposure. The incentive to run the check is not imposed by the protocol, it is imposed by the operator’s own interest. The protocol’s job is only to make the check cheap, standard, and available by default in the relay software, so that no operator has to build it.

The limits should be stated too. Hash matching catches known material and not novel material. It is a floor and not a solution. Beyond that floor, relays and indexers use their own judgment, and jurisdictions differ on what is illegal in ways no technical mechanism can reconcile.

10.5 Jurisdiction

Because relays are operated by many parties in many countries, jurisdiction is inherited from where the operator sits rather than declared by the protocol. A relay in one country refuses material that a relay in another carries. Readers reach both or either.

This is not a loophole, it is an accurate description of how the internet already works, and it is more honest than a global platform pretending to apply one standard while quietly geofencing.

10.6 Failure modes

Labeler cartel. The largest labelers coordinate and effectively become a central authority. Mitigations: label format is open, subscription is per-reader, and competing labelers can label the cartel. This is a partial mitigation, and the risk is real.

Client monoculture. One client holds most users and its defaults become the de facto rules. This is the most likely recentralization path in the entire design and the one to watch.

Relay refusal cascade. Large relays collectively refuse an account, which functions as deplatforming. The account survives with its own relay and its followers, but its reach is reduced. This is equivalent to route filtering in interdomain routing, is a legitimate exercise of operator policy, and is indistinguishable from abuse when you disagree with it.

Harassment. A network with cheap identity creation is a network with cheap sock puppets. Graph-distance weighting (section 11) is the primary defense, but a determined harassment campaign against a user with a small graph is not well handled by this design. This is an open problem, listed as such in section 16.


11. Discovery

Discovery is where decentralized systems are weakest and where this proposal is least confident.

Five mechanisms need no central infrastructure.

Portable graph. The follow list is a signed object the user owns. Importing it from another client or another network is free, and a user never starts from zero twice.

Graph traversal. Follows are public. A client crawls two or three hops out from the accounts a user already follows and ranks candidates by how many of those accounts follow them. This runs entirely on the reader’s device against data already being synced, costs nothing, and is the highest-signal recommendation source on any network, centralized or not.

Follow packs. A curated list published as a first-class object, subscribable so that additions propagate. This is the cheapest high-value discovery mechanism in the design and requires no infrastructure whatsoever.

Graph-weighted ranking. Rather than a global algorithm, everything is weighted by distance in the reader’s own graph. An unknown account with six mutual connections surfaces. One with none does not. This doubles as spam control.

Out-of-band identity. Because handles are domain-backed, any place a person already publishes their domain is a discovery channel.

What these do not provide is full-text search and a live view of what is happening across the whole network. Both require crawling everything and holding an index, which costs real money, cannot be run by an individual, and confers soft power on whoever runs the best one. There is no clever way around this. The mitigations are to keep the indexer interface dull so clients can swap, to let a user point at more than one, and to make the default an explicit choice rather than a compiled-in dependency.

The closest working analogue is PeeringDB: a voluntary, community-run directory that is not part of any protocol, that everyone uses because the alternative is miserable, that is centralized in practice, and that nobody objects to because it holds no authority over routing itself. Discovery here likely ends up the same shape, and the design goal is to keep it equally powerless over delivery.


12. Where a blockchain fits, and where it does not

The question that prompted this paper was what a web3 social network would look like. The answer this design arrives at is that it would look better without the chain.

Content on a chain is an error. It makes every post cost money, makes storage permanent and public for data that should be deletable, and grows a structure every full participant must carry. Every serious attempt has abandoned it.

Identity on a chain is defensible and still unnecessary. A chain offers a tamper-evident, censorship-resistant name registry with no registrar. That is genuinely something DNS does not provide. It costs money per registration, introduces wallet key management for non-technical users, and imports a token economy into a product that does not need one. For the threat model in section 2.4, DNS is adequate, and adequate at zero marginal complexity beats superior at high complexity.

Consensus is not the problem being solved. A distributed ledger exists to establish global agreement on ordering among mutually distrustful parties. A social network does not need global ordering. Each author orders their own log, and readers merge. Applying a consensus mechanism here is paying a very high price for a property the problem does not require.

Tokens actively harm the product. Attaching a tradeable asset to social participation selects for a speculative user base, and the mechanism becomes more interesting than the content. This is observable in every deployed example.

One narrow case survives. If the design later needs a shared, tamper-evident record of labeler or relay reputation that no single party can rewrite, a small append-only transparency log is the right structure. It does not require a blockchain, and Certificate Transparency demonstrates the pattern at scale without one.

The general principle: adopt content addressing, public key identity, and signed append-only logs, which are the genuinely useful primitives, and skip global consensus, which is not.


13. Cost model

Decentralization does not remove cost, it changes who pays and makes the payment visible.

Item Bearer Rough order
Identity and keys User Zero
Domain for handle User A few dollars per year, often already owned
Log storage and serving User’s host Under one dollar per month for text
Blob storage and bandwidth User’s host The dominant personal cost, driven by readership
Relay operation Operator, for a community Small server, shareable across hundreds of users
Labeler operation Operator Low if automated, high if human review
Indexer operation Operator The only genuinely expensive component
Legal exposure Whoever holds bytes Not measured in dollars, and the real constraint

The first four rows are why the design is plausible for an individual. The last two are where sustainability questions live, and where the answer is probably subscription, institutional sponsorship, or both, rather than advertising, because advertising reintroduces the incentive structure section 2.2 identifies as the root problem.


14. Threat model

What the design defends against, and what it does not.

Defended. Operator censorship of a user’s own content, since the user holds the keys and can move. Impersonation, since posts are signed. Silent content alteration, since alteration invalidates signatures. Loss of audience when a host disappears, since follows reference keys. Undetectable ranking manipulation, since the reader controls the client.

Partially defended. Spam and sock puppets, via graph weighting, which fails for users with small graphs. Harassment, same limitation. Labeler capture, via competition, which is slow. Recentralization through convenience, via interface simplicity, which is a discipline rather than a guarantee.

Not defended. A state actor compelling relays and indexers within its jurisdiction, which will succeed there. Correlation of a user’s activity across relays, since this design offers pseudonymity and not anonymity. Loss of a key without a recovery key. Registrar or DNS seizure of a handle, which costs the name but not the identity. Coordinated refusal by the largest relays, which is a policy problem rather than a technical one and has no technical fix.

A reader who needs protection against the items in the last group needs a different system, and should be told so plainly rather than sold this one.


15. Comparison with prior art

Property Centralized platform Server federation Blockchain social Pure P2P CAIRN
User owns identity No No Yes Yes Yes
Portable audience No Partial Yes Yes Yes
Availability when user offline Yes Yes Yes No Yes
Storage growth bounded Operator’s problem Per instance No Yes Yes
Per-write cost Zero Zero Nonzero Zero Zero
Moderation authority Central Per instance Weak or absent Absent Per reader, composed
Illegal content floor Yes Per instance Absent Absent Yes, at relay ingest
Global search Yes Weak Weak Absent Optional indexer
Onboarding quality Strong Weak Weak Weak Unproven

The last row is the honest summary of this proposal’s risk. The architecture addresses the rows above it. Whether a new user has a good first ten minutes is unknown, and it is the thing that decides adoption.


16. Open problems

Listed rather than buried, because a proposal that claims no open problems is not a proposal, it is marketing.

  1. Onboarding. A new user with no graph has no feed. Follow packs and imported graphs help, and neither has been tested.
  2. Indexer sustainability. Nobody has demonstrated a funding model for a neutral global index that does not eventually acquire the incentives of a platform.
  3. Harassment of low-degree users. Graph weighting protects the well connected and does little for a new or isolated account, which is precisely the population most vulnerable.
  4. Labeler quality at scale. Automated labeling is cheap and wrong at the edges. Human labeling is accurate and does not scale. This tradeoff is not solved anywhere.
  5. Key management for non-technical users. Every design in this space founders here, and hand-waving about seed phrases has never once worked on a general population.
  6. Deletion expectations. Users expect delete to mean delete. It does not, here or anywhere similar, and no amount of interface copy fully closes that gap.
  7. Retraction honoring. Whether relays and clients honor retraction reliably enough for users to trust it is an empirical question with no data.
  8. Client monoculture. The most likely path back to a de facto platform, with no structural defense beyond low switching costs.

17. Next steps

The plan is deliberately front-loaded with the cheapest work that can invalidate the design. Each phase ends with a decision point rather than a feature.

Phase 0: Prior art review and design review. Four weeks, no code. Read the deployed systems in this space, in particular the server-federation and personal-data-server models, and document where CAIRN genuinely differs from each and where it is reinventing something that already works. Circulate this paper for comment. The decision at the end of Phase 0 is whether to proceed at all, and a legitimate outcome is to contribute to an existing project instead of starting one.

Phase 1: Log and identity prototype. Six weeks. Implement the keypair identity, domain-backed handle resolution, the signed append-only log, key rotation, and a command-line tool that publishes and syncs. No relay, no client, no media. The decision point is whether sync and rotation behave correctly under partition and key loss.

Phase 2: Relay and blob store. Six weeks. A minimal relay with retention policy, subscription, and the hash-matching ingest check. A blob store with content addressing and expiry. Run three relays across three networks and measure sync latency, storage growth, and bandwidth against the section 9 estimates. The decision point is whether the measured numbers match the arithmetic. If storage growth is materially worse than projected, the design changes here.

Phase 3: Reader client and labeling. Eight weeks. A usable client with graph-traversal discovery, follow packs, label subscription, and reader overrides. One reference labeler. The decision point is the first honest usability test with someone who does not care about the architecture, and the metric is whether they have a feed worth reading within ten minutes.

Phase 4: Specification. Only after Phase 3. Freeze wire formats, publish conformance vectors, and require a second independent implementation before declaring anything stable. A protocol with one implementation is not a protocol, it is a program.

Phase 5: Indexer experiment. Open-ended. Run a small index over a limited corpus and measure the actual cost per million posts, which is the number that determines whether the search problem has any answer at all.

Throughout, publish measurements rather than claims. The credibility of this project rests entirely on whether the numbers in section 9 and section 13 survive contact with a running system.


18. Conclusion

The useful insight is not that social media should be decentralized, which is a common opinion, but that the four powers a platform holds can be separated from each other, and that once separated, no single party needs to be trusted. Hosting without judgment, judgment without enforcement, delivery without obligation, and indexing without authority.

This is not a novel governance idea. It is how interdomain routing has worked for thirty years. No central authority decides what routes exist. Every operator sets their own policy, peering is voluntary, and filtering is universal and unremarkable. The system works not because anyone is in charge but because carrying garbage is each operator’s own problem.

The failure modes rhyme too, and that is the part worth keeping in view. A handful of large transit providers ended up deciding what most traffic sees. The equivalent outcome here is a handful of large clients, indexers, and labelers deciding what most readers see. The architecture makes that outcome survivable rather than impossible, because a reader who dislikes it can leave in one action and lose nothing. That is a smaller claim than the field usually makes, and it is the one this design can actually support.


19. How to comment

Comments on this revision are welcome by email to the address published at the canonical URI. Substantive disagreements, particularly with section 9’s arithmetic, section 10.4’s enforcement assumption, and section 11’s admission that search has no decentralized answer, are more useful than agreement.

Comments received during the open period will be summarized in the revision history of the next revision, with attribution where the commenter permits it.


Appendix A: Glossary

Blob. A media object identified by the hash of its bytes.

Content addressing. Identifying data by a hash of its contents rather than by location, so that the identifier verifies the data.

Follow pack. A published, subscribable list of accounts.

Graph distance. The number of follow hops between two accounts, used to weight ranking and trust.

Indexer. A service that crawls relays and provides search and cross-network feeds.

Label. A signed assertion about an account or a piece of content, advisory only.

Labeler. A service that publishes labels.

Log. An append-only, signed, hash-chained sequence of entries belonging to one identity.

Pin. To commit to retaining a piece of content past its default expiry.

Relay. A server that accepts, stores for a policy period, and forwards signed events.

Retraction. A log entry that supersedes an earlier one and requests that it no longer be served.

Rotation certificate. A signed record establishing that a new key succeeds an old one for the same identity.


Appendix B: Document conventions and versioning

This appendix describes how this paper is versioned and published. It is written to be reusable, so that other papers on this site follow the same conventions and a reader who has read one knows how to read the next.

B.1 Revision numbering

Revisions are major.minor.

The minor number increments for corrections, clarifications, added detail, and any change that does not alter a conclusion or a structural decision. A reader who acted on the previous revision does not need to re-read the paper.

The major number increments when a conclusion changes, a component is added or removed, or a decision is reversed. A reader who acted on the previous revision does need to re-read it.

Revision 0.x means the design has not been implemented and nothing in it is stable. Revision 1.0 is reached when a working implementation exists and the paper has been revised against what the implementation actually does, which is nearly always different from what the paper predicted. Papers that reach 1.0 without an implementation are asserting a confidence they have not earned.

B.2 Status labels

Every revision carries exactly one status.

Draft. Circulating for internal comment. May change without notice.

Draft for comment. Published for outside review, with an open comment period.

Stable. Reviewed, implemented, and unlikely to change except by errata.

Superseded. Replaced by a later revision, which is named in the document control block. The superseded revision stays published.

Withdrawn. Retained for the record, with a stated reason, and not to be relied upon.

B.3 Publication and permanence

Every published revision gets its own immutable URI containing the revision number, and it stays there. A separate stable URI always points at the current revision. Readers who cite the paper cite the versioned URI. Readers who want the current thinking follow the stable one.

Revisions are never silently edited after publication. A typographical fix is still a new revision. This is the single most important convention in this appendix, because a document that changes underneath a citation is worse than no document.

Each published revision is accompanied by a SHA-256 digest of the file, published alongside it, so that a reader can verify they have the copy that was published.

B.4 Revision history

Every paper carries a revision history table with, for each revision, the number, the date in ISO 8601 format, the status, and a one-line summary of what changed and why. “Various corrections” is not a summary. The history table is the first thing a returning reader reads, and it should let them decide in ten seconds whether to re-read anything.

For this paper:

Revision Date Status Change
0.1 2026-09-16 Draft Initial outline. Problem statement and layer split.
0.2 2026-09-17 Draft Added storage arithmetic, blockchain position, and the illegal content floor.
0.3 2026-09-17 Draft for comment Added threat model, prior art comparison, open problems, phased plan. First public revision.

B.5 Errata

Errors found in a stable revision are published as a dated errata list at the stable URI rather than corrected in place, until enough accumulate to justify a new revision. Each erratum names the section, states the error, and states the correction.

B.6 Citation

Each paper carries a citation block giving author, title, revision, date, and versioned URI, so that anyone citing it does so consistently. For this revision:

Van Daele, M. (2026). CAIRN: A decentralized social network without a chain, a company, or a central index, revision 0.3. https://markvd.net/documentation/cairn-proposal.html

B.7 Licensing and scope statements

The license appears in the document control block, not buried at the end. Every paper states plainly what it is and is not. This one is a proposal and not a specification, and says so in the first screen rather than letting a reader discover it in section 17.

B.8 Self-containment

Papers on this site are single files that require nothing external to render: no scripts, no analytics, no external stylesheets, no remote images, no hosted fonts. Styling is embedded, and any brand artwork is inlined rather than linked. A reader should be able to save the file and have the whole document. This is both a privacy position and an archival one, and it means the paper still renders correctly in twenty years.

Site-level references that do not affect rendering are permitted: favicon links, a canonical URI, and Open Graph metadata. These fail silently when the file is read offline, which is the test.

Typography follows the site stack, IBM Plex Mono, named in the font stack rather than loaded, so that a saved copy falls back to the reader’s monospace face instead of reaching out to a font host.


Appendix C: Prior art worth reading before Phase 1

Phase 0 exists because most of the problems in this paper have been attacked before, and a proposal that has not engaged with the attempts is not worth much. The following areas should be reviewed and documented before any code is written:

The output of Phase 0 is a written comparison, published as an appendix to revision 0.4, stating for each of these what CAIRN takes, what it rejects, and why.