Normative · Part
Scope, backfill, eviction and deletion
15. The scope mechanism
Section titled “15. The scope mechanism”Not everything a node stores may leave it. SSP/1 bounds replication in two tiers: a hard floor that policy cannot override, and a policy layer above it.
15.1. The floor
Section titled “15.1. The floor”A conforming mesh MUST define a floor: a partition of its tables into three categories, fixed by the implementation rather than by configuration.
| Category | Meaning | Policy may reach it |
|---|---|---|
| Syncable | May replicate, subject to policy | Yes |
| Never syncable | Structurally excluded | No — unrepresentable in policy |
| Node-local derived | Reconstructible locally; replicating it is waste | No |
The floor is a mechanism, not a table of names. SSP/1 does not enumerate which schemas fall where, because that is a property of the application built on it rather than of the protocol. What SSP/1 requires is that the partition exists, that it is identical on every node of the mesh, and that the never-syncable category is structurally unrepresentable in policy rather than merely denied by default.
The distinction matters. A deny-by-default rule can be overridden by a misconfiguration or a widening operation. Structural exclusion cannot, and the categories that belong there are the ones where a single mistake is unrecoverable: credential and key material, transport state, and anything whose replication would leak the mesh’s own trust configuration.
Enforcement is dual-sided. A producer applies the floor in its scan predicate and treats a local violation as an error, because a producer emitting out-of-floor data has a bug that silence would hide. A receiver drops and logs, because raising there lets a hostile peer wedge the apply loop.
15.2. Policy above the floor
Section titled “15.2. Policy above the floor”Each node holds a local policy store that is never replicated, keyed
(peer_site_id, table_schema, table_name, layer) with effect allow or deny.
* is a valid wildcard for peer and for table. It is never valid for schema:
a schema-level wildcard is how an accidental widening becomes a total one.
Layers are ordered system < role < user. Resolution for a given
(peer, schema, table):
- Outside the floor, deny unconditionally.
- The highest layer containing any matching row wins.
- Within that layer, the most specific undominated row wins: an exact peer beats
*, and an exact table beats*. - Two incomparable maximal rows: deny and log. Never guess open.
- No matching row: deny. Fail closed.
Policy is a sender-side decision and never appears on the wire. A receiver therefore cannot widen its own feed by lying about its policy, because it is not the one consulting it. This is why scope is enforced where the data lives rather than where it is wanted.
Narrowing is always permitted. Widening is floor-checked and triggers backfill.
The store answers one question: what a sender offers a peer. It does not answer who may mint a record that changes trust. A store that is local and never replicated cannot answer that question, because two honest nodes can hold different rows and nothing can show which one is right. That question belongs to the admission authority. Every rule in SSP/1 and SOP/1 that names an authorized issuer resolves through the authority’s head and never through a row in this store.
15.3. Role assignment records
Section titled “15.3. Role assignment records”The role layer needs one thing the other layers do not: the assignment itself
must travel between nodes, or two nodes resolve policy against different role
views with no signal that they disagree.
A role assignment is a chained COSE_Sign1 record — the same chained-record shape
the object plane uses for authorization records and sequencing receipts, one
mechanism instantiated per authority:
RoleAssignment = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-role-v1", kid : issuer site_id (16 bytes) }, payload = deterministic CBOR { subject_site_id : bstr 16, role : tstr, generation : unsigned, previous_record_hash : bstr 32 / null }, external_aad = mesh_id (16 raw bytes))Rules:
- The issuer MUST be in the
adminsof the admission authority’s head. A record from any other issuer is dropped and surfaced. - Records chain per subject:
generationis dense for thatsubject_site_id— exactly one greater than the generation of the record it supersedes, per substrate section 11 —previous_record_hashis the BLAKE3 hash of the exact bytes of the record it supersedes, and the genesis record carries generation0with a null predecessor. - The current role is the head of the subject’s chain. A verifier holding two
records that claim the same predecessor MUST surface the conflict and MUST
resolve the subject’s
rolelayer as absent until it is resolved — which is deny-safe, since resolution fails closed on a missing layer. Because generations are dense, two records claiming one predecessor necessarily share a generation, so this is exactly the fork section 11 already requires be surfaced; the instantiation adds no same-predecessor index of its own. - Records travel in the sync exchange’s
recordsmember or through the mailbox.
The chain is why two nodes cannot silently disagree: either they hold the same head, or one holds a strict prefix of the other and converges on delivery, or the chain has forked — and a fork is detectable evidence of a misbehaving issuer, not a quiet divergence.
15.4. Custodian designation records
Section titled “15.4. Custodian designation records”Where historical access is deployed, it is
granted per domain to a named subject. That grant is a
(subject_site_id, opaque_domain_id) fact and it must travel:
SOP/1 §22.10 step 3
requires a member holding retained application KEK history to redistribute it
after a genesis reset, and the member that survives to do so is not in general
the node that issued the grant. A grant recorded only in the never-replicated
§15.2 policy store is therefore unavailable
exactly when it is needed.
A custodian designation is a chained COSE_Sign1 record, the same mechanism
§15.3 instantiates, differing only in its
authority:
CustodianDesignation = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-custodian-v1", kid : issuer site_id (16 bytes) }, payload = deterministic CBOR { subject_site_id : bstr 16, opaque_domain_id : bstr, entitlement_class : tstr, generation : unsigned, previous_record_hash : bstr 32 / null }, external_aad = mesh_id (16 raw bytes))Rules:
- Records chain per
(subject_site_id, opaque_domain_id), not per subject. A subject may be entitled in one domain and not in another, which a per-subject chain resolving to one head cannot express. - The issuer MUST be in the
adminsof the admission authority’s head, exactly as §15.3 requires of a role issuer. A record from any other issuer is dropped and surfaced. - A designation takes effect only where its issuer is a member of the domain
designated in. Taking effect means counting toward that domain’s custodian
count, and licensing the redistribution of retained KEK history under
SOP/1 §22.10.
The member taking the effect evaluates the condition, against the domain’s
current membership. A designation whose issuer is not a current member of the
domain contributes zero custodians, and no member acts on it. A verifier that is
not a member of the domain accepts and retains the record on the first rule
alone, because it has nothing to act on and cannot see the domain’s membership.
Where SOP/1 is not deployed there is no domain and no effect, and the condition
is vacuous. This narrows §15.3’s authorization
question, which is asked of an issuer alone, to one asked of an
(issuer, domain)pair. It is a narrowing in the sense chained records §12 permits — stated here because that section requires a narrowing to be stated on the instantiation’s page — and it weakens no verification rule. - Every other rule of §15.3 applies unchanged:
generationdense per(subject, domain)pair — exactly one greater than the generation of the record it supersedes, as chained records §11 requires — with a genesis at0and a null predecessor,previous_record_hashover the exact bytes of the record superseded, the head as the current value, and a pair in conflict resolved as absent rather than as a branch. entitlement_classis atstrrather than an enumeration, soBOUNDED_HISTORYcan be carried later without this record’s schema having to anticipate its parameters.- The record names who is entitled. It carries no key material, so it is a
syncable record and not a §15.1 never-syncable one; it
travels in the sync exchange’s
recordsmember or through the mailbox, the same path role assignments and transport bindings take.
The custodian count of a domain is the number of distinct subject_site_id
whose (subject, domain) chain resolves to a head carrying
FULL_HISTORY, whose subject is a current
member, and whose head takes effect in the domain under the rule above. It is node-local derived state: reconstructible from
the replicated records, computable offline by every member, and MUST NOT itself
replicate.
A pair whose chain is in conflict contributes zero custodians, never one.
The direction is deliberate. Ambiguity drives the count down, so a domain that
may have one custodian is reported as having one rather than two, and the
recovery risk a count of 1 exists to surface shows instead of hiding behind an
unresolvable branch.
15.5. Capability requirement records
Section titled “15.5. Capability requirement records”A mesh may require tier-3 modules of its members. Where SOP/1 is deployed, the capability declaration carries that requirement in MLS group state. A mesh running SSP/1 without an MLS control group has no group state to put it in, and a requirement nobody can carry is a requirement nobody enforces. This section is the second carrier, and it is the one that does not assume a group.
A capability requirement is a chained COSE_Sign1 record, the mechanism
§15.3 instantiates, differing in its authority: it
chains per mesh, not per subject. There is one requirement chain, as there is
one membership-authorization chain in
SOP/1 §5.7.
CapabilityRequirement = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-capability-v1", kid : issuer site_id (16 bytes) }, payload = deterministic CBOR { required_modules : [* tstr], generation : unsigned, previous_record_hash : bstr 32 / null }, external_aad = mesh_id (16 raw bytes))Rules:
required_modulescarries conformance-module identifiers — theSOVM-*strings the profiles index defines, the same ones §55.1 item 8 obliges an implementation to state. They are not MLS extension type values. One namespace, two encodings: a mesh with an MLS control group lists the extension type in its declaration, a mesh carrying this chain lists the identifier here. An identifier the verifier does not recognize is not silently ignored — it is a requirement it cannot establish it meets, so it fails closed.- Only tier-3 modules may appear. A tier-1 module is required of everybody already, and listing a tier-2 capability here is the prohibition §55.3 states, not a stricter mesh.
- The issuer MUST be in the
adminsof the admission authority’s head, exactly as §15.3 requires of a role issuer. A record from any other issuer is dropped and surfaced. - Records chain per mesh:
generationis dense,previous_record_hashis the BLAKE3 hash of the exact bytes of the record superseded, and the genesis record carries generation0with a null predecessor — substrate §11 unchanged and unnarrowed. - Records travel in the sync exchange’s
recordsmember or through the mailbox. The payload is module identifiers only; no personal data may enter it, and the chain’s history is retained as evidence and is therefore not erasable.
A forked requirement chain resolves to the union of the branches.
§15.3 resolves a forked role chain as absent,
which is deny-safe there because
resolution fails closed on a missing layer. Absent
is not deny-safe here: it would read as “require nothing”, and a fork would
lower the mesh’s floor to the ground. A verifier holding two records that claim the
same predecessor MUST surface the fork, exactly as
substrate §11 requires, and MUST resolve
required_modules as the union of every branch — the strictest reading — until the
fork is resolved.
Raising the floor is a deliberate eviction, and the honest rule says so. §6.2.1 requires a proposer tightening an MLS requirement to verify every current member first, on the principle that a mesh MUST NOT be able to strand its own membership. A chain mesh has no atomic view of its membership, so that rule cannot be met here and MUST NOT be stated as if it could. Instead: minting a record that adds a module evicts every member that does not cover it, the eviction takes effect at each peer’s next record delivery rather than atomically, and an implementation MUST surface the set of members it computes as evicted to the operator before minting. Loud, not prevented.
Three places consult the head:
- Join acceptance — a joiner whose module-set head does not cover the requirement head is refused, not admitted degraded.
- Sender-side policy — a peer that does not cover the requirement is denied, which is where revocation step 2 already puts “stop offering it data”.
- The apply chokepoint, per event. Every event already resolves its signer through the keyring; the requirement head and that signer’s module-set head are two further lookups on a path already performing one.
The third is what this carrier buys. The requirement is current state, not an admission snapshot: a mesh that raises its floor at generation N+1 stops non-covering members at the next record delivery, with no admission event to wait for and no Commit to coordinate.
15.6. Per-node module-set records
Section titled “15.6. Per-node module-set records”A requirement is only checkable against a claim. §55.1 item 8 already obliges every implementation to state its module set, but it states it in documentation, where no verifier can reach it. This record puts the same statement on the wire, signed.
ModuleSet = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-modules-v1", kid : site_id (16 bytes) }, payload = deterministic CBOR { modules : [* tstr], generation : unsigned }, external_aad = mesh_id (16 raw bytes))Rules:
- The authority is the node itself: a module-set record is signed by the node’s
root identity key, or by its event-signing
subkey, and speaks only for that
site_id. - The record is a chained record,
narrowed to generation-only — the narrowing transport
§28 already takes, for the same
reason. The payload above is exhaustive and carries no
previous_record_hash: a module set is wholly superseded, never appended to, so every record is a genesis record and there is no link for the chain to carry. That is the narrowing chained records §12 permits, stated here on the instantiation’s page as that section requires, and it weakens no verification rule — substrate §11’s density rule is stated relative to a predecessor and this chain has none. generationis monotonic persite_id; a record supersedes all lower generations for that node, and a successor need only exceed its predecessor.- Forks. As on transport §28,
dropping the link drops density and not the fork rule of
substrate §11: two distinct records
that verify at one generation for one
site_idare a fork. A forked module-set chain resolves to no module set, so while the fork stands the node covers no requirement. That is deny-safe for the reason a forked role chain resolving as absent is (§15.3): the node becomes ineligible rather than over-trusted. It is the opposite of §15.5’s union, because there absent would read as “require nothing”, and here it reads as “claim nothing”. modulescarries the same identifiers §15.5 uses. A node covers a requirement when every identifier in the requirement head appears in that node’s module-set head.- Records travel in the sync exchange’s
recordsmember or through the mailbox. The payload is module identifiers and thesite_idinkid, both already public mesh facts; no personal data may enter it.
This record is the direct analogue of the MLS LeafNode capabilities list, and
§55.2’s rule applies to it unchanged: an
implementation MUST NOT claim a module it does not implement. Signing the claim
does not make it true. What signing changes is that a node whose implementation has
degraded must keep re-signing a statement it no longer honours in order to stay
reachable, which makes the non-compliance attributable rather than silent — the
open gate on the profiles index is narrowed by that, not
closed.
15.7. Interest records
Section titled “15.7. Interest records”Section 15.2 is the sender’s half of scope: what it is willing to send each peer. A receiver has no counterpart on the wire, because section 32 selects by the sender’s cursor and not by any filter the receiver states. A receiver that drops what it does not keep has therefore already received it. The interest record is the receiver’s half: a statement, signed by the node it describes, of the exact tables it keeps, which a sender intersects with its own policy.
Interest = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-interest-v1", kid : issuer site_id (16 bytes) }, payload = deterministic CBOR { subject_site_id : bstr 16, tables : [* [tstr, tstr]], preset : tstr, generation : unsigned, previous_record_hash : bstr 32 / null }, external_aad = mesh_id (16 raw bytes))Rules:
- The record is self-issued. The issuer MUST be the subject: the protected
kidMUST equalsubject_site_id. A record whose issuer is not its subject is dropped and surfaced, and is never chained. No node may state what another node keeps. - It is signed by the subject’s root identity key. An
event-signing subkey
MUST NOT sign it, and a verifier resolves the
kidas a currently trusted peer, as for every other record in this section. - Records chain per subject with the shape of
section 15.3:
generationis dense for thatsubject_site_id,previous_record_hashis the BLAKE3 hash of the exact bytes of the record it supersedes, and the genesis record carries generation0with a null predecessor. Two records claiming one predecessor are the fork substrate section 11 requires be surfaced, and so is a second genesis. tablesnames each kept table exactly, as a[schema, table]pair. The list is sorted ascending by schema and then by table, compared as UTF-8 bytes, and holds no pair twice. Neither component may be empty or the*token: an interest names tables, never a pattern over them. A record that breaks any of these is malformed.presetis a label for people, such as the name of the preset that produced the list. It MAY be empty. No decision reads it, and a verifier treats two records that differ only inpresetas two records.- What a subject keeps is the
tablesof its chain’s head. A subject with no record, a forked chain, or a second genesis keeps nothing while that stands. It is deny-safe for the reason a forked role chain resolving as absent is: the subject receives less, never more.
A sender MUST NOT offer an event for table T to peer P unless all three hold:
- the floor places
Tin syncable; - the sender’s policy resolves
allowfor(P, T); P’s effective interest listsT.
Interest only narrows. It is consulted after policy and can remove a table from what policy allows, never add one. A node that lies about what it keeps can widen its feed only up to each sender’s policy towards it, and the record’s self-issue is the residual this leaves: what a node keeps is its own claim, unless an admin has bounded it. A table newly listed by a peer’s effective interest, where policy allows it, is a widening, and the sender runs backfill for it. A table dropped from it is a narrowing and takes effect on the next row; nothing already sent is reclaimed by the sender. The receiver may evict it locally, under section 17.
Records travel in the sync exchange’s
records member, or through the mailbox only inside
its encrypted envelope: the list of tables a node keeps describes what it holds, and a
relay has no need to learn it. The payload carries table names, a label and the chain
fields, and nothing else. It carries no sensitivity level, and no row data may enter
it.
15.7.1. Interest bounds
Section titled “15.7.1. Interest bounds”An interest record is its subject’s own claim. An interest bound is the mesh’s limit on that claim: a record an admin signs about a node, listing the most that node may be offered. What a sender reads is the node’s effective interest, the tables both its own head and its bound’s head list.
InterestBound = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-interest-bound-v1", kid : issuer site_id (16 bytes) }, payload = deterministic CBOR { subject_site_id : bstr 16, tables : [* [tstr, tstr]], preset : tstr, generation : unsigned, previous_record_hash : bstr 32 / null }, external_aad = mesh_id (16 raw bytes))Rules:
- The issuer rule is section 15.3’s, checked against the admission authority’s head. A bound whose issuer that rule refuses is never chained. The subject is not an issuer of its own bound unless it is also an admin: a bound its subject could sign would bound nothing.
- It is signed by the issuer’s root identity key. An
event-signing subkey
MUST NOT sign it, and a verifier resolves the
kidas a currently trusted peer, as for every other record in this section. - Records chain per subject, on a chain of their own and with the shape of
section 15.3:
generationis dense for thatsubject_site_id,previous_record_hashis the BLAKE3 hash of the exact bytes of the bound it supersedes, and the genesis record carries generation0with a null predecessor. Two records claiming one predecessor are the fork substrate section 11 requires be surfaced, and so is a second genesis. A bound and an interest record never share a chain, so neither can fork or supersede the other. tablesandpresetfollow the rules of section 15.7 unchanged. A record that breaks thetablesrules is malformed.
What a subject keeps is its effective interest:
- a subject with no interest record, a forked interest chain or a second genesis keeps nothing, as section 15.7 says;
- a subject with an interest head and no bound record keeps the
tablesof its interest head; - a subject with an interest head and a bound head keeps the tables both list;
- a subject whose bound chain is forked or has a second genesis keeps nothing while that stands.
The last rule is deny-safe for the reason a forked interest chain is: the subject receives less, never more. Only an admin can fork a bound, and an admin can already remove the node outright. Reading a forked bound as no bound would let an admin who equivocates lift the bound by doing so.
A bound only narrows. No bound can add a table its subject does not list, so a stolen admin key can take tables out of a node’s feed and can never put one in. A table dropped from a bound’s head is a narrowing and takes effect on the next row, and one the head adds back is a widening the sender runs backfill for, as for an interest record.
Records travel as section 15.7’s do, and the payload carries the same: table names, a label and the chain fields. It carries no sensitivity level, and no row data may enter it.
15.8. The admission authority
Section titled “15.8. The admission authority”§15.3, §15.4 and §15.5 each let one kind of node mint a record that changes what the mesh trusts, and SOP/1 §5.7 does the same for membership. Each of those rules needs one answer to “who is an admin”, and it must be the same answer at every node. The §15.2 store cannot give it, because it is local and never replicated. This section gives it: one chain per mesh whose head names the mesh’s admins.
The admission authority is a chained COSE_Sign1 record, the mechanism
§15.3 instantiates. The authority is the mesh, and
there is one chain per mesh:
Authority = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-authority-v1", kid : signer site_id (16 bytes) }, payload = deterministic CBOR { admins : [+ bstr 16], generation : unsigned, predecessor : bstr 32 / null, signer_ik_pub : bstr 33 }, external_aad = mesh_id (16 raw bytes))| Field | Rule |
|---|---|
admins |
The site_id of every admin. It is the whole set, never a change to it, so the head is read without replaying the chain |
generation |
Dense, as substrate §11 requires. The genesis link carries 0 |
predecessor |
The predecessor link’s identifier, as substrate §11 defines it. Null on the genesis link only |
signer_ik_pub |
The signer’s root identity public key, in the 33-byte compressed encoding. kid is the site_id it derives |
Rules:
- The genesis link is signed by the founder. The verifier checks this by
re-deriving
mesh_idfromsigner_ik_pub, as the terminology definesmesh_id. A genesis link MAY name several admins. - Every later link is signed by an admin its predecessor names. Any one admin
signs; no link needs a second signature. The signer need not be in the
adminsof the link it signs. - The chain is substrate §11 unchanged and unnarrowed. The authority is the mesh. Who may sign a link is the separate signer rule above, which is why a change of admins is an ordinary link and never a new chain.
- Records travel in the sync exchange’s
recordsmember or through the mailbox. The payload issite_ids and one public key that every keyring row for that node already holds. No personal data may enter it, and the chain’s history is retained as evidence, so it is not erasable.
A verifier MUST check a link in this order:
- the link decodes under the SSP/1 COSE profile:
content type known, unprotected bucket empty, payload fields present and
correctly sized,
adminsnot empty, andsigner_ik_pubthe 33-byte compressed encoding of a valid P-256 point, rejected and never converted (encoding canonicity); kidre-derives fromsigner_ik_pub;- for the genesis link,
generationis0,predecessoris null, and themesh_idre-derived fromsigner_ik_pubis the verifier’s own. For a later link, the verifier holds the predecessor,generationis exactly one greater than the predecessor’s, andkidis in the predecessor’sadmins. A later link whose predecessor the verifier does not hold is held, not applied, as substrate §11 requires; - the COSE signature, under
signer_ik_pub, withexternal_aadset to the localmesh_id.
The order is normative for the same reason as identity §21.2’s. Each step narrows what the next must consider.
No step reads the keyring. Every other SSP/1 record resolves its signer as a
currently trusted peer. This record does not: a
link is verified from mesh_id and the chain alone. A node that never held a row
for the founder, or for any signer, still verifies every link. That is how the
authority survives the founding device for every node admitted after the device is
gone: the founder’s key is in the genesis link, and mesh_id is what checks it.
For the same reason the freeze reaches no link.
The key a link carries is already in every keyring row and in every vouch for its
signer, so carrying it exposes nothing new.
The head answers the issuer question. The head is the latest link that
verifies (substrate §11). Every rule in
SSP/1 and SOP/1 that names an authorized issuer asks one question: is the issuer’s
site_id in the head’s admins? Those rules are
§15.3, §15.4,
§15.5,
§15.7.1 and
SOP/1 §5.7. A record whose
issuer is not in the head’s admins is dropped and surfaced, whatever its
signature. A node that holds no verified chain has no head, and every one of those
rules denies at that node.
Vouching is not one of those rules. Any currently trusted peer vouches, and admission is still k vouches and a human (identity §21). Being an admin decides who may mint the records above. It does not decide who may join.
The chain changes before a keyring row does. No link resolves through the
keyring, so removing a node or retiring its identity does not end its power to sign
a link. Only a link that drops it from admins does. An implementation that
removes or retires a site_id named in the head’s admins MUST mint the link that
drops it first, and MUST deliver that link ahead of, or together with, the removal
or the succession record. For a
retirement, the link names the successor in the predecessor’s place, and the
predecessor signs it while its key still exists.
A forked chain. Two links that verify at one generation are a fork. Both are retained and the fork is surfaced, as substrate §11 requires. While the fork stands:
- the head for every rule above is the last unforked link;
- the
adminsevery one of those rules reads is the intersection of the last unforked link’sadminswith theadminsof every branch head. A branch head is a retained link with no retained successor.
The intersection is deny-safe in both directions. Nothing a forked link added is
granted, and nothing a forked link dropped is restored. If an admin’s key is
stolen and the owner drops it with a link, the thief can mint a second link at the
same generation. That link forks the chain, and the intersection still leaves the
stolen key out. Concurrent honest links that disagree on one member leave the mesh
running on the members they share. A fork at generation 0 has no unforked link,
so there is no head until it is cleared.
Clearing a fork pins it. A fork is cleared only by a human act on each node,
never by a link, never by preferring the first link seen, and never by chain
length. A link that chose a branch would let whoever can mint one choose. The act
chooses one branch head. The node then pins the chosen branch’s link at every
generation at or below that head’s, and keeps the other branch’s links as
evidence. From then on, a link at a pinned generation that is not the pinned link
is retained as evidence, surfaced and not applied, and it does not reopen the
fork. The pin forecloses the whole lineage of the branch not chosen, not only its
links at pinned generations: a link at any generation whose predecessor
references pass through such a link is treated the same way, and is never a
branch head. A link that extends the pinned head is an ordinary link. The pin is
what stops a dropped key from forcing a new fork after every clearing: once the
branch that dropped it is pinned, that key can extend nothing and reopen nothing
at that node. A node that has never cleared a fork holds no pin, so the bound
starts at its first clearing
(limitations §40.9).
Two states an implementation MUST surface. An admins of one site_id
(admin_count == 1), because losing that key loses the authority for good; and an
empty admins while a fork stands, because the mesh then has no admin until a human
acts. A mesh SHOULD name a second admin when it admits its second device. What
neither state closes is a limitation.
A joiner’s copy. The peer that seats a joiner hands it the chain at admission. That hand-off is one source. The joiner’s ordinary sync with every other peer corrects a stale or equivocated copy, by the rule every peer applies: the latest link that verifies, and a fork surfaced. No joiner’s view rests on the peer that seated it, and neither does a clearing. A joiner that receives both branches of a fork holds the fork until its own human act clears it, whatever the seating peer pinned.
The admission authority is core, not a module. Every node verifies it, because an implementation that omitted it would accept records from issuers the rest of the mesh refuses.
15.9. Share links between meshes
Section titled “15.9. Share links between meshes”Every mechanism above this section works inside one mesh: a record’s issuer is resolved through the keyring or the admission authority, and section 42 draws the trust boundary around the nodes one authority has admitted. A share link is the one construct that accepts events from outside that boundary, and it does so without moving the boundary: it admits exactly one foreign root, for exactly one share, over exactly the tables that share declares, into a namespace of its own. Nothing a link carries reaches the keyring, the policy store, the admission authority or the row state of the mesh that receives it.
A link joins two meshes for one share. The sharer is the mesh whose rows leave; its endpoint is the one node of that mesh that authors to the link. The recipient is the mesh that accepts them, through one node of its own. The link exists for as long as the share’s grant is live, and no longer.
The grant record. A share is a sovm/ssp-share-grant-v1 record, chained per
share with the shape of section 15.3:
ShareGrant = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-share-grant-v1", kid : sharer endpoint site_id (16 bytes) }, payload = deterministic CBOR { share_id : bstr 16, recipient_mesh_id : bstr 16 / null, recipient_ik_pub : bstr 33 / null, recipient_site_id : bstr 16 / null, tables : [* [tstr, tstr]], expires_at_s : unsigned / null, onward : bool, ended : bool, consent_digest : bstr 32, generation : unsigned, previous_record_hash : bstr 32 / null }, external_aad = sharer mesh_id (16 raw bytes))Rules:
- It is signed by the endpoint’s root identity key. An
event-signing subkey
MUST NOT sign it: a grant authorizes, and everything that authorizes stays with
IK_priv. The protectedkidMUST equal thesite_idthe recipient pinned at the ceremony below. share_idis sixteen bytes the sharer mints at random, once, and is the chain’s subject:generationis dense for thatshare_id,previous_record_hashis the BLAKE3 hash of the exact bytes of the record it supersedes, and the genesis record carries generation0with a null predecessor. Two records claiming one predecessor are the fork substrate section 11 requires be surfaced, and so is a second genesis.tablesnames each shared table exactly, as a[schema, table]pair, under the rules section 15.7 gives an interest list: sorted, no pair twice, no empty component, no*. A successor record MAY drop a pair and MUST NOT add one: a widening is a new share with a newshare_id, because the recipient accepted the grant it accepted.expires_at_sis wall-clock seconds, ornullfor a share that ends only by record. A successor MAY lower it and MUST NOT raise it.onwardstates whether the recipient may deliver what it receives to a third mesh. A successor MAY clear it and MUST NOT set it. What a verifier does with it is the host’s: SSP/1 carries the flag and enforces nothing on it.endedisfalseon every record but the chain’s last: a record withendedtrueends the share, and a verifier MUST refuse any successor to it.consent_digestis the BLAKE3 hash of the host’s consent record for this generation. The record itself, whatever it holds, travels beside the grant and never inside it: the grant carries no row data, no free text, and no identifier of the sharer’s other nodes.recipient_mesh_id,recipient_ik_pubandrecipient_site_idarenulltogether or not at all: a record in which one or two of them isnullMUST be refused. A null recipient is admitted on a genesis only. It is the grant of a share the host hands over outside this protocol, to a recipient that runs no mesh; every other member, the protectedkidand the external AAD are as above, so such a grant still verifies under the endpoint’s root. A chain whose genesis names no recipient admits no successor: a verifier MUST refuse a null recipient on any record above generation0, and MUST refuse any record whoseprevious_record_hashnames such a genesis. A node that receives a grant with a null recipient on a link MUST drop and surface it, as it drops any record a link does not carry: a link’s grant always names the recipient the ceremony pinned.
The ceremony pins both roots. A link is created out of band, in the shape of the
pairing ceremony’s QR or SAS authenticator, and
consults no directory. The sharer’s endpoint presents its mesh_id, its root identity
key and site_id, the static address of its
transport binding, and the share_id.
The recipient’s node returns its own mesh_id, root identity key and site_id, its
static address, and a KEM public key record for an asynchronous channel a later
revision may define. Each side MUST display the other’s site_id fingerprint as
section 21.3 item 2 displays one. Each side
stores what it received as a link anchor. An anchor is not a trusted peer: it is
written into neither keyring, satisfies no predicate of
section 20.4, and resolves no vouch, binding, role,
custodian, capability or policy row. A node MUST NOT let an anchor stand in for a
keyring row anywhere outside this section. A grant with a null recipient has no
ceremony, no anchor and no link record: the host hands it over in its export bundle,
outside this protocol.
Acceptance is a link record. The recipient’s node accepts a grant by signing:
ShareLink = COSE_Sign1( protected = { alg : ES256, content type : "sovm/ssp-share-link-v1", kid : recipient site_id (16 bytes) }, payload = deterministic CBOR { share_id : bstr 16, sharer_site_id : bstr 16, recipient_site_id : bstr 16, grant_hash : bstr 32, accepted_at_s : unsigned }, external_aad = sharer mesh_id (16 raw bytes))It is signed by the recipient node’s root identity key, never a subkey, and
grant_hash is the BLAKE3 hash of the exact bytes of the grant record accepted. The
external AAD is the sharer’s mesh_id on every record a link carries, in both
directions: a link record therefore verifies in neither party’s own mesh and cannot
be mistaken for a record of either. The sharer’s endpoint MUST verify a link record
under the recipient root it pinned, and MUST NOT author a change event to the link
before it holds one. A link record is not chained: the live link is the pair (grant head, link record
whose grant_hash names the head or a generation of the same chain the head descends
from), the descent read from the sharer’s own chain by hash. A narrowing successor is
therefore live under the record that accepted the generation it descends from and
needs no new record, because a successor can only narrow or end; a replacement
endpoint (below) needs a new record, because the record names sharer_site_id. A
record naming a generation outside the chain or a recipient not the head’s, and a
head that is ended or expired, make no link live.
What travels on a link. Exactly these, in the sync exchange’s
records member and events member:
- the grant chain;
- the link record;
- the sharer endpoint’s event-signing subkey chain;
- the sharer mesh’s admission authority chain,
which the recipient verifies from the sharer’s
mesh_idand the chain alone, as every verifier does; - succession and removal records that concern the sharer’s endpoint;
- change events over the tables the grant head names, authored by the sharer’s endpoint.
A record of any other content type received on a link, and an event from any
site_id but the endpoint’s, MUST be dropped and surfaced. A link carries no vouch,
no role, custodian, capability, module-set or interest record, and no policy of
either mesh.
Of the six, the link record travels recipient to sharer; the other five travel sharer to recipient. A recipient’s body on a link carries at most one record, the link record, and no event: the sharer’s endpoint MUST refuse a recipient’s body that carries any other record or any event, deciding so on content type and count before the record is decoded further, and MUST hand the one link record to its host for verification under the recipient root it pinned, deciding nothing about it in the transport. Until it holds a verified link record it delivers items 1, 3, 4 and 5 and no event.
The per-link verifier. A node MUST evaluate every record and event received on a link against that link’s anchor and grant head, never against its keyring, in this order:
- the record decodes under the COSE profile;
- the protected
kidis the pinned endpointsite_id, and the signing key is the pinned root or anevent_pubwhosesovm/ssp-eventkey-v1chain verifies under the pinned root by data model §10.3, with the anchor in the keyring’s place; - the signature verifies with the sharer’s
mesh_idas external AAD, not the receiver’s own; - for a change event, its table is in the grant head’s
tables; - the
share_idis the link’s; - the grant chain has one genesis and no fork, its head is not
ended, and the event’shlc_physical_msis not afterexpires_at_sby the receiver’s own clock; - the authoring
site_idhas not been removed by the sharer’s admission authority, and is not retired at a cutoff below the event’shlc_physical_ms, by a record received on this link.
Every failure drops the record and surfaces it. Nothing is held, nothing stalls a
watermark of the mesh, and nothing is applied: the
apply chokepoint is not the path a link
event takes. An accepted event lands in a link namespace keyed by share_id,
materialized under the rules of section 13
but apart from every table of the receiving mesh; how the host reads that namespace
is the host’s, and no event in it is re-signed, replicated to the mesh’s peers as the
mesh’s own, or forwarded to another link. A refusal on a link reaches neither
party’s keyring, policy or authority chain.
Rotation, revocation, expiry and ending. A succession record signed by the pinned
root moves the anchor to the successor it names, and the link continues. A removal
of the endpoint by the sharer’s admission authority, received on the link, ends the
link; one whose signer neither the endpoint’s lineage nor an authority link the
receiver has applied on this link resolves MUST be dropped and surfaced, and the link
continues. A rotation the receiver cannot verify under its anchor MUST end the link rather
than widen it; the remedy is a new ceremony. A grant head with ended ends the link;
expiry ends it by the receiver’s own clock, so an ended share stops at the receiving
end whatever the sending end does. The sharer MAY replace a lost endpoint by a new
ceremony that re-anchors the same share_id on the recipient’s confirmation; the
grant chain continues under the new endpoint’s signature from its next generation,
and a verifier MUST accept the new endpoint’s kid only after that confirmation.
A link ending recalls nothing: section 40.1
holds for a recipient exactly as for a removed node.
Not membership, not a role, not a policy row. A link grants no role, writes no row of section 15.2 in either mesh, admits no node to either keyring, and consults no interest record: what a link offers is the grant head, and what the recipient keeps is the grant it accepted. The sharer’s other nodes MUST NOT author to the link, and a recipient node removed from its own mesh loses the link with it. What a sender offers a link peer is decided by the grant head and by nothing in the policy store; a link peer MUST NOT have a policy row.
Transport. A link dials the static address the ceremony carried, under the
binding’s static-addressing default. A link endpoint MUST present its own current
transport binding record, signed under its own mesh_id as external AAD, and the
peer MUST resolve the endpoint’s channel key through that record under the root it
pinned, with the presenter’s mesh_id as external AAD and the anchor in the keyring’s
place in section 29 step 2: the binding record
is presented at connection establishment and is not one of the six things a link
carries, so the sharer’s mesh_id governs those six and not it. A link dialler
MUST send, as the frame after its binding record on that first stream, the share_id
the connection serves, as one byte string of exactly sixteen bytes, and a connection
carries one share: the responder, having resolved the dialler’s channel key under an
anchor and not its keyring, MUST hand the connection to the one live link it holds
for that site_id and share_id, and MUST close with TRUST_FAILED a share frame
naming a share it holds no live link for, a link dialler that sends none, and a share
frame from a dialler whose channel key resolved through its keyring; two shares
between one pair of endpoints are two connections. The have_max_hlc a recipient
reports on a link connection is the highest HLC its link namespace for that share
has landed from the endpoint on the other side of that connection, not over every
author it holds, and the sharer MAY select what it delivers by it: a link connection
has one author per endpoint, so the hole
section 32 warns of in a scalar spanning many
sites does not arise, and a replacement endpoint reads zero and is delivered its
whole first batch. A link endpoint
MUST NOT register with a discovery service, or dial a relay, that its operator has not
named for that link, and a conforming default names none; a dial that finds no direct
path MUST fail closed and surface the stalled state rather than fall back to any
relay. This revision defines no asynchronous carriage for a link: a link is live, and
the mailbox contract is not extended to it
here.
16. Widening backfill
Section titled “16. Widening backfill”When policy widens, history that was previously withheld must flow, or the peer’s view stays permanently incomplete in a way no live tail repairs.
The sender enqueues a durable job per (peer, schema, table) that re-sends each row’s
covering set — the original events that between them determine the row’s current
materialized state — ordered by row_key, resuming from a durable
resume_after_row_key cursor.
The unit of backfill is a row; the unit of merge is a
column.
Those differ, and the difference is the whole of this rule. An event carries only the
columns it changed, so the latest event for a row does not carry the winning value of
every column of that row: a row whose column a was last written at HLC 5 and whose
column b was last written at HLC 9, by two separate events, has no single event that
reconstructs it. Re-sending only the HLC 9 event backfills b and silently drops a.
Nor may the sender synthesize one event carrying both. Signed under either original
HLC it would be different content under a used HLC, which
section 9.1
forbids, and signed under a new HLC it would attribute an old state to a new moment.
What has to cross is therefore not the row’s values but the clocks that produce them. Every rule in materialization is decided by comparing an incoming HLC against a stored clock — a column write must beat the column clock and the tombstone clock, existence is the highest-HLC existence event — so two nodes agree on a row’s future only once they hold the same clocks for it, and a clock is carried only by the event that owns it.
A row’s covering set is therefore the events owning the clocks the row carries,
deduplicated by event_id:
- for each column carrying a clock, the event that owns it: the highest-HLC applied upsert carrying that column;
- the event that currently wins existence;
- the highest-HLC
deleteever applied to the row, whether or not it won existence — the event the tombstone clock records.
For the ordinary row written once by one event, all three resolve to that event and the covering set is a single message. The last two entries are the ones an implementation will be tempted to drop, because omitting them still reproduces the row’s current state; what they carry is its future behaviour. Without the losing delete, the receiver’s tombstone clock sits below the sender’s, so a late write the sender rejects the receiver accepts — a divergence that first appears long after the backfill finished.
The first entry selects on the clock and not on the value, and that distinction is
load-bearing rather than pedantic. A column whose current value is null still
carries a clock, and dropping it reproduces the same divergence one level down. An
upsert may carry an explicit null for a column
(13.1),
so a null cell is not always a delete’s work; omit its supplier and the receiver
finishes the backfill holding no clock for that column while the sender holds one, and
a later write below that clock is then rejected by the sender and accepted by the
receiver. Where the null was a delete’s work, the delete that wrote it is already
the second or third entry and event_id deduplication collapses the two, so selecting
on the clock costs an implementation nothing in the case the value test was reaching
for.
The covering set is also sufficient: backfill is not obliged to re-send the whole log. Resurrection rebuild consults only upserts that beat the tombstone clock, the tombstone clock is monotonic non-decreasing, and an upsert that lost a column to a higher-HLC upsert cannot win it back under a higher tombstone. No event outside the covering set can ever reach the receiver’s materialized state.
Requirements:
- A backfilled event is the original record: its signed input is the one its
producer signed. It is a re-delivery, not a new event: the derived
event_idis therefore unchanged, and a receiver that already has it converges to a no-op via idempotent apply. A sender re-sends the bytes it holds, since it cannot sign another site’s event. Signing a backfilled mutation anew is forbidden: under its original HLC with changed content it breaks section 9.1, and under a new HLC it mints a new identity for an old mutation and attributes it to a new moment. - The sender MUST re-check policy at emit time and drop rows a standing narrow has since excluded. Policy can change while a backfill is in flight.
- Live tail SHOULD be sent before backfill within a cycle, so current activity is not starved by history.
- Backfill progress MUST commit only after a successful push.
- A row’s covering set MUST be pushed within one cycle, and
resume_after_row_keyMUST NOT advance past a row until all of it has been pushed. A cursor that can certify half a row is a cursor that certifies a row missing columns. - Implementations SHOULD bound rows per cycle. The bound is a resource decision, not a protocol invariant. It is a bound on rows, not on events: a row’s covering set is indivisible.
17. Eviction is not deletion
Section titled “17. Eviction is not deletion”A storage-constrained node MAY evict cold history below an HLC horizon. Eviction is strictly local and MUST NOT be confused with deletion.
The horizon MAY be held per stream, one for each (site_id, schema, table) the node
receives, and an event is below the horizon when its HLC is below the horizon of the
stream that authored it. A per-table horizon is the case in which every stream of the
table holds one value. Every requirement below holds per stream.
Requirements:
- Eviction MUST NOT emit any event. It is a local storage operation, and emitting one would replicate a local capacity decision as a semantic one.
- The horizon MUST be monotonic non-decreasing.
- Events below the horizon count as applied for watermark purposes but write nothing. A peer must not be asked to re-send data the receiver deliberately discarded.
- Producers MUST suppress deletes inferred from the absence of evicted rows. This is the trap eviction sets: a naive change-detector sees a missing row and concludes it was deleted, then replicates that conclusion to peers that still have it.
- Only categories the implementation declares evictable may be evicted, and the declaration MUST be documented.
- The declaration MUST state that resurrection on the category may come back partial. A category whose rows must resurrect exactly MUST NOT be declared evictable — that is how a table opts into full retention, per table rather than mesh-wide.
A receiver whose interest no longer lists a table MAY evict, under this section, the history it received for that table: it raises the horizon of each stream another site authored, and only those. It MUST NOT evict on that ground an event it authored itself, and it MUST NOT raise the horizon of its own stream on that ground. A sender cannot re-send what it has itself evicted, so an author that evicted its own events would remove the last copy of any that no peer had yet received. A narrowing evicts history only from nodes that hold another copy of it, its author among them.
Eviction is local in its mechanism and not in its effect. Two nodes holding the same events under different horizons materialize different rows; convergence states which rows, and what does and does not repair them. Declaring a category evictable makes that trade on the application’s behalf, which is why the declaration is where it has to be visible.
Rehydration zeroes the horizon and relies on backfill to re-deliver the covering set. Eviction is where the per-column shape of that set stops being a corner case: the columns a rehydrating node has lost were last written at different HLCs, so the events that restore them are different events, and a latest-event-per-row backfill would leave the node permanently short of exactly those columns whose last write was not the row’s last write.
A sender cannot re-send what it has itself evicted, so rehydration reaches only as far below the horizon as some peer still retains. Where every node has evicted below the same horizon, that history is gone — a consequence of the mesh’s retention choices rather than a protocol failure, and the reason the evictable declaration above is a retention policy and not a storage detail.
Ambiguous eviction markers MUST fail open — keep the row. This is the one place SSP/1 prefers availability over strictness, and the reason is that the cost of being wrong is asymmetric: failing open wastes local storage, failing closed destroys data.
17.1. Withdrawn tables
Section titled “17.1. Withdrawn tables”A node’s schema MAY mark a table withdrawn: the application keeps no rows under that name any more and will not use the name again. A withdrawn table is evicted whole, under this section, and it is the one case in which a node evicts the events it authored itself.
Requirements:
- The mark MUST be explicit: a statement in the node’s schema that names the table. A node MUST NOT infer withdrawal from a table’s absence — from a schema that no longer lists it, an interest that no longer names it, or a destination table that is missing. An absent table is missing, and its history is kept. Absence is the ambiguous marker of §17: a truncated schema and a plugin that failed to load look the same as a table nobody wants, and failing closed on them destroys data.
- A table is live or withdrawn, never both. A schema that names one table both ways MUST be refused, and resolved in neither direction. Once a name is withdrawn, no later schema of the same application MAY name a live table by it: the horizon below stands, so the new table’s events would count as applied and write nothing.
- A node whose schema withdraws a table MAY evict the history of every stream of that table, its own stream included. When it does, it MUST raise the horizon of every stream of the table above every HLC, so that any event of the table offered later counts as applied, writes nothing and is not retained.
- Withdrawal MUST NOT emit any event, for the reason eviction does not.
- A node MUST NOT rehydrate a withdrawn table. Dropping the horizon would take back from a peer exactly the history the withdrawal discarded.
The own-stream permission belongs to the withdrawn case and to no other. A node whose interest no longer lists a table still MUST NOT evict on that ground an event it authored, and still MUST NOT raise its own stream’s horizon on that ground; narrowing an interest is not a way to withdraw a table. The two cases differ in whether the last copy is wanted. A narrowed table is still live, so an author evicting its own events would lose the last copy of any event no peer had yet received. A withdrawn table has no reader, and removing the last copy is what the withdrawal is for.
Withdrawal is local, as eviction is. A peer whose schema still lists the table as live keeps its copies and offers them. The withdrawing node counts those offers as applied, keeps none of them, and does not ask for them again. The table’s history is gone from a mesh only once every node that held it has withdrawn it. Withdrawal is therefore not a purge: it makes no claim about any other node. An implementation MUST NOT present it as erasure from the mesh, for the reason a soft delete must not stand in for a purge.
18. Deletion
Section titled “18. Deletion”Two modes, one of which is not available.
18.1. Soft delete
Section titled “18.1. Soft delete”An operation: "delete" event with a null payload. It replicates and merges like any
other event, participates in
causal-length existence, advances the
tombstone clock, and is resurrectable by a
later higher-HLC upsert.
A soft delete hides a row and clears its column values. It does not erase history: the retained log is what makes resurrection rebuild possible.
18.2. Purge
Section titled “18.2. Purge”Specified, and reserved on the wire. The "purge" token is registered so that no
extension reuses it, and this revision gives it a record: the purge record of
§18.2.1, what a holder does with one
(§18.2.2), how it travels
(§18.2.3) and how its completion is accounted
(§18.2.4). The record is not available: its
content type and the domain-separation labels its derivations use are not registered in
this revision, and §54 and
the registry make an unregistered identifier unusable. They
are registered, with the conformance vectors that pin them, by the revision that makes
purge available, together with the record that carries the genesis tombstone secret of
§18.2.1 to an admitted node
(limitations §40.2).
Until then an implementation MUST fail a purge request closed — an explicit error, never a silent downgrade to soft delete. A caller that asked for permanent erasure and received a tombstone has been given a false assurance, and that is worse than a rejection.
The record is unrelated to the object plane’s physical purge, which is a specified storage operation on PME objects rather than a sync-layer message — the reservation here is what keeps the two apart on the wire.
What a purge is for: a holder that applies it has no copy of the row, and says so. What it is not: a purge is not a removal — it changes no membership and no trust — and it is not key destruction, which makes a copy unreadable to the mesh and does not make it gone (SOP/1 §19.6).
18.2.1. The purge record
Section titled “18.2.1. The purge record”A purge is not a change event. The change event’s payload is a closed map and its
row_key has no null form (data model §7), and a
purge MUST NOT name its row in clear: a relay that stores and forwards it would
otherwise hold, for every erased row, the address of what was erased. So the purge is a
record of its own, carried in the records member
and through the mailbox like every control record, and signed by the issuing node as a
change event is (data model §10).
Purge = COSE_Sign1( protected = { alg : ES256, content type : the purge record's content type (not registered in this revision), kid : issuing node's site_id (16 bytes) }, unprotected = {}, MUST be empty payload = deterministic CBOR { key_commitment : bstr 32, request_token : bstr 32, hlc_physical_ms : unsigned, hlc_logical : unsigned, sealed_coordinates : bstr }, external_aad = mesh_id (16 raw bytes))| Field | Rule |
|---|---|
key_commitment |
A keyed hash of the row’s address under the tombstone key. It is the only form in which the record names its row to a holder without that key, and it is matched, never reversed: a key-holding node recomputes it from its own rows of the table pair named inside sealed_coordinates |
request_token |
A keyed hash of the erasure request’s identifier under the tombstone key. It is what a holder that cannot open sealed_coordinates verifies, against the register of issued tokens the erasure authority publishes to it, and it names no request to such a holder |
hlc_physical_ms, hlc_logical |
The purge HLC: the issuing node’s clock, ticked (data model §11), and strictly above every event that node holds for the row |
sealed_coordinates |
table_schema, table_name, row_key and request_id, as a deterministic CBOR map, sealed so that only the mesh’s key-holding members open it — where SOP/1 is deployed, to the current domain KEK generation (SOP/1 §7.2). It is the only place the row and the request are named |
Every field is REQUIRED, the map is closed, and a receiver MUST reject a record with a
missing or extra field, as for a change event. A record that carries row_key, a table
name, a payload or request_id in clear is malformed and is dropped before anything
is stored.
The three derivations, each under a domain-separation label of its own that the registering revision names in §52:
tombstone_key = HKDF-SHA256(ikm = the tombstone secret, salt = "", info = the purge-key label, L = 32)key_commitment = BLAKE3_keyed(tombstone_key, the commitment label || deterministic CBOR [table_schema, table_name, row_key])request_token = BLAKE3_keyed(tombstone_key, the request label || request_id)BLAKE3_keyed is the one hash in its keyed mode. The
address is hashed as a deterministic CBOR array, never as a concatenation, so that no
pair of addresses shares a pre-image.
The tombstone secret is the mesh’s genesis tombstone secret: 32 random bytes
the founder mints when it founds the mesh, beside the genesis link of
the admission authority, and that the mesh keeps
unchanged for its life. It MUST be held by every key-holding member of the mesh and by
no relay, and no removal, retirement or key rotation changes it. It MUST NOT be a
domain KEK generation, an MLS group secret or an event-signing subkey, because every
one of those is rotated by an exclusion, and a commitment keyed under a rotated secret
is one a surviving member can no longer recompute — which would let a row purged before
the rotation be resurrected after it. The genesis domain KEK generation fails from the
other side: a member admitted FORWARD_ONLY (SOP/1 §8.2)
never holds it, so not every key-holding member could match a commitment. A node’s root
identity cannot serve either: IK_priv never leaves its element
(identity §19.1) and is one node’s, not the
mesh’s. And the commitment is keyed rather than a plain hash of the address so that a
relay, which stores purges and holds no secret, cannot enumerate guessed addresses
against it.
Admission. Any admitting member that holds the secret seals it to the new node under
that node’s root identity — over the channel the node’s IK authenticates: where
SOP/1 is deployed, the authenticated confidential channel that provisions a
FULL_HISTORY member’s historical generations
(SOP/1 §8.3); otherwise the key the pairing ceremony
agrees (identity §20.1) — as a record of its own,
whose content type the registering revision names with the purge record’s. The founder
is therefore not a single point of failure: a mesh keeps its secret while any
key-holding member does. A node stores the secret at rest as it stores a retained
application key (SOP/1 §7.9).
What the secret does not give. An excluded node keeps it: a secret an exclusion
rotated could not key a commitment a surviving member must still recompute. What the
node can learn from a purge it later obtains is whether the commitment names an address
it already held before the exclusion, and nothing else — sealed_coordinates is sealed
to a generation it no longer receives. That residue, and the position of a mesh whose
members have all lost the secret, are the limits
limitations §40.2 records.
18.2.2. Applying a purge
Section titled “18.2.2. Applying a purge”A purge enters the apply chokepoint and is checked in this order. The first three checks are the purge’s own; the rest are the chokepoint’s.
- Shape. Malformed, or a coordinate in clear: drop, never store.
- Signature, as for any record. A record whose signature fails has no identity and is never deduplicated against.
- Authorization. A node that opens
sealed_coordinatesaccepts the record only ifrequest_idresolves, at the erasure authority or in the authority’s record it already holds, to a request that is issued, bound to this mesh, names this row’s table pair, and is not consumed for thiskey_commitment. A holder that cannot open the body verifiesrequest_tokenagainst the register of issued tokens the authority publishes to it. A purge that fails either check MUST be refused: not stored, not forwarded, not acknowledged, and logged withrequest_tokenonly. A node signature authorizes no purge, however many nodes sign; only a request the authority issued does. - Clock-skew bound, as for any event (data model §11.1).
- Idempotent insert by record identity. A second delivery is a no-op and still produces the acknowledgement of §18.2.4, so a lost acknowledgement is recovered by re-delivery.
- Apply.
- Suppression. Every event for
key_commitmentat or below the purge HLC is suppressed permanently: dropped if it arrives later, removed now from the materialized row and from the retained log. Suppression is checked before materialization and is independent of arrival order, which is the property the removal-closure quarantine already requires of the chokepoint. - Re-creation. An upsert for the same
row_keywith an HLC above the purge HLC is a new row and applies; one at or below it is rejected. The issuing node chose the purge HLC above everything it held, so the two cases do not overlap there; on another node an event between its last-seen HLC and the purge HLC is, by construction, one the purge meant to cover. - Resurrection rebuild (semantics §13.4) never reads a suppressed event.
- Compaction. The suppressed events’ bytes are physically removed from the log at the node’s next compaction; until then the node’s copy is pending, never gone. The purge record itself carries no coordinates and MAY be retained indefinitely; it MUST be retained at least until the request it belongs to has completed at every replica, or D of §18.2.3 plus 30 days, whichever is later.
- Suppression. Every event for
- HLC observe, as for any event.
18.2.3. Distribution and order
Section titled “18.2.3. Distribution and order”The issuing node sends a purge on every channel it has: the sync exchange to each reachable peer, and the mailbox for each peer it cannot reach. A purge survives a mailbox’s drop of a recipient’s queued synchronization payloads: the mailbox MAY drop what it queues for a recipient on a purge it has verified, and MUST keep the purge itself queued for that recipient.
Stale peer first. When two peers exchange and either holds a purge the other has not acknowledged, those purges are exchanged and applied before any other event is offered in either direction, and before the applying node serves a query over the affected tables. Only then does the ordinary exchange resume. In cursor terms a purge is not behind the cursor: it is ahead of every cursor, and a sender’s cursor for a peer MUST NOT advance past a purge that peer has not acknowledged. The re-offer re-offers a purge like any event a peer’s watermark does not cover.
A peer that has not acknowledged a purge within D = 30 days of the purge HLC is dark for that request. What the erasure authority then records for it is the disposition of §18.2.4, never a completion.
18.2.4. Acknowledgement and completion
Section titled “18.2.4. Acknowledgement and completion”A holder that applied a purge sends a purge acknowledgement to the erasure authority, directly, through the issuing node, or through the mailbox:
PurgeAck = deterministic CBOR { purge_id : the purge record's record identity, holder : site_id, or a mailbox region identifier, applied_hlc : the holder's HLC at apply, disposition : "purged" | "pending" | "not_found"}signed by the holder — a mailbox region under its service identity. It names no
coordinates. purged says the holder’s copy is physically gone; pending that the
purge is applied and physical removal waits on compaction; not_found that the holder
never held the row. A holder re-sends its acknowledgement on every re-delivery.
The completion a requester is told is accounted per replica, and a replica is every registered member of the mesh at issue — every admitted node that is neither retired nor removed, read from the admission authority’s head — plus every mailbox region the mesh uses, never the set that happened to be online. The accounting is the applied watermark’s failure-closed rule applied to one row: a purge is pending with respect to a replica until that replica’s acknowledgement names it, and a replica that has not acknowledged within D is recorded as unreached, with the date it went dark. A replica unreached within D MAY be shut out of the mesh’s future key generations by the layer that holds them (SOP/1 §19.2); what is then recorded for it is that it was shut out and that the copy it holds was not reached. That record MUST NOT be reported, or aggregated, as a copy that is gone (SOP/1 §19.6, §19.7). A dark replica that returns receives the purge first (§18.2.3), applies it, and acknowledges it; only then is its copy gone.
The erasure authority — the holder that issues request_id, publishes the register of
issued tokens, and marks (request_id, key_commitment) consumed on the first
acknowledgement that names it, so that a token cannot be replayed to purge a different
row — is a mesh role. A mesh designates it by a
capability requirement record, and a mesh that
has designated none cannot issue a purge. Where a mesh has a hosted account, its
account’s erasure process is the ordinary instance of that role.