Bind CultMesh authority identity to physical routes
This commit is contained in:
parent
21163d83fa
commit
6c848bd6c0
45 changed files with 1671 additions and 194 deletions
|
|
@ -50,8 +50,12 @@ not the brand surface.
|
|||
### Verses
|
||||
|
||||
`CultMeshVerseDescriptor` describes a rule-bearing consensus graph. It includes
|
||||
transport compatibility, rules hash, authority model, discovery endpoints,
|
||||
known authority runtimes, optional parent Verse id, and plugin requirements.
|
||||
transport compatibility, rules hash, authority model, exact authority-route
|
||||
bindings, optional parent Verse id, and plugin requirements. Each route binds
|
||||
an authority runtime to one endpoint, protocol set, priority, and generation.
|
||||
The old endpoint/runtime arrays are derived projections; a legacy descriptor
|
||||
with several authority runtimes is rejected because it cannot identify which
|
||||
runtime owns which route.
|
||||
|
||||
`CultMeshVerseCatalog` is the local reactive catalog for discovered Verses.
|
||||
It can publish discovery updates and find compatible transfer targets.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ be equally good at files, realtime state, and same-machine memory access.
|
|||
registered connector for each traffic class. A connector owns only its physical
|
||||
connection and byte movement.
|
||||
|
||||
**Inputs:** stable Verse/provider identity, advertised physical candidates,
|
||||
**Inputs:** stable Verse/authority-runtime identity, exact Odin-bound physical
|
||||
routes with protocol and generation,
|
||||
connector support and priority, caller cancellation, and locality evidence for
|
||||
body negotiation.
|
||||
|
||||
|
|
@ -63,13 +64,22 @@ operation.
|
|||
transport diagnostics. None of these grant provider authority or become content
|
||||
identity.
|
||||
|
||||
Before a schema, content, or realtime session becomes online, the transport
|
||||
must prove that the connected peer matches the selected Verse, authority
|
||||
runtime, protocol, and route generation. TCP schema and content lanes use the
|
||||
portable CultNet session-open handshake. QUIC uses the exact Odin-bound route
|
||||
plus its TLS endpoint/certificate proof. A connector that returns bytes without
|
||||
authority proof is rejected; racing every endpoint in a Verse descriptor is
|
||||
not route selection.
|
||||
|
||||
**Forbidden writers:** applications and renderers do not choose unadvertised
|
||||
endpoints, implement reconnect loops, or bypass verification. Schema messages
|
||||
must not carry bulk bodies. RUDP/LiteNetLib cannot become an implicit default
|
||||
for any traffic class. QUIC does not own schemas or immutable files merely
|
||||
because it can transport bytes.
|
||||
|
||||
**Shared paths:** discovery and identity resolution remain common. Each traffic
|
||||
**Shared paths:** exact route resolution and peer verification remain common.
|
||||
Each traffic
|
||||
class has its own connector set, connection cache, priority tiers, and failure
|
||||
state. All content connectors feed the same transfer and promotion owner.
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,10 @@ The same transport can carry many Verses:
|
|||
subscribed overlay
|
||||
- `Compatibility`: transport version, rules hash, compatible Verse ids, and
|
||||
plugin requirements
|
||||
- `DiscoveryEndpoints`: endpoints where nodes for the Verse can be found
|
||||
- `AuthorityRuntimeIds`: known authoritative runtimes when cluster-shaped
|
||||
- `AuthorityRoutes`: exact authority-runtime, endpoint, protocol, priority, and
|
||||
generation bindings. This is the routing authority.
|
||||
- `DiscoveryEndpoints`: read-only endpoint projection for legacy inspection
|
||||
- `AuthorityRuntimeIds`: read-only authority projection for legacy inspection
|
||||
- `ParentVerseId`: source Verse for overlays or branches
|
||||
|
||||
## Compatibility
|
||||
|
|
@ -57,6 +59,13 @@ static config, cloud discovery, peer gossip, or mod portals. It does not care
|
|||
where the descriptor came from. That keeps discovery pluggable while the Verse
|
||||
model stays stable.
|
||||
|
||||
An endpoint and an authority id are not two independent facts. A descriptor
|
||||
with explicit routes binds them. The legacy parallel arrays are accepted only
|
||||
when exactly one authority runtime exists; a multi-authority legacy descriptor
|
||||
is ambiguous and fails closed. Session establishment then requires the selected
|
||||
physical route to prove the exact Verse, authority runtime, protocol, and route
|
||||
generation before the session becomes online.
|
||||
|
||||
Peer exchange is the torrent-shaped layer under Verse discovery. A Verse
|
||||
catalog says which graph exists; a peer catalog says which nodes can currently
|
||||
serve or observe parts of that graph. Peer cards can advertise discovery,
|
||||
|
|
|
|||
Loading…
Reference in a new issue