Commit graph CultLib/src/GameCult.Networking/Contracts/cultnet-distributed-database.md
Author SHA1 Message Date
Meta Vens
fcc49cffa0 Consolidate CultNet schema contracts into CultLib/contracts/cultnet
REC-032 commit 1: move the canonical 33 TS + witness-artifact-bundle
schema files (34 total) into runtime-neutral CultLib/contracts/cultnet,
move the interop-note schema (and delete the zero-consumer discovery-*
schemas per D3, tagged parked/cultnet-discovery-contracts) into
contracts/cultnet/interop, and delete the 27 C# and 24 Rust duplicate
copies after confirming byte-for-byte equivalence (only
cultnet.snapshot-request differs: TS carries shardId/shardEpoch, a
known drift already resolved in favor of the TS shape).

Rewrite every $id from https://github.com/GameCult/cultnet-ts/contracts/
and .../cultnet-ts/integration/contracts/ to
https://github.com/GameCult/CultLib/contracts/cultnet/(interop/); give
the two shard-catalog schemas URL ids per D1, replacing the bare
cultnet.shard_catalog_*.v0 identifiers; leave ghostlight.agent-state's
Ghostlight-owned $id untouched per D5.

Repoint every runtime's load path and id literal at the new location:
C# csproj EmbeddedResource + LogicalName, Rust include_str! paths,
TS contracts.ts imports + swarm-contracts manifest/tooling + package.json
files/prepack, and the id/path literals in the C#, Rust, Python and
Kotlin interop tests and peers. Python and Kotlin still build their own
schema JSON in-process (D2); only their base constants, id literals,
and (for Kotlin) contentHash literals were swapped. Every Kotlin
contentHash was recomputed from the final canonical files using the
runtime's own stable-stringify + SHA-256 function; all matched the
planner's precomputed values except cultnet.schema-catalog-response,
where the planner's proposed value did not match recomputation and the
freshly computed value was used instead.

REC-032, decisions D1/D2/D3/D5.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 17:27:41 +02:00
Meta Vens
ba5f4ef824 Update RUDP service adoption map 2026-06-17 14:09:52 +01:00
Meta Vens
031d879695 Probe Python peer health 2026-06-14 13:44:57 +01:00
Meta Vens
2cdb730b7b Schedule Python snapshot fanout 2026-06-14 13:34:50 +01:00
Meta Vens
09ec185355 Schedule Python observation fanout 2026-06-14 13:26:51 +01:00
Meta Vens
3514465db5 Fan out Python snapshot sync 2026-06-14 13:17:50 +01:00
Meta Vens
fde8a9e681 Add Python prediction rollback helpers 2026-06-14 13:08:16 +01:00
Meta Vens
4da13643dd Fan out Python simulation observations 2026-06-14 12:58:18 +01:00
Meta Vens
ef77a03cdb Verify Python CultMesh authority leases 2026-06-14 12:46:30 +01:00
Meta Vens
1a87ac35b4 Add CultMesh game session facade 2026-05-20 07:45:10 +01:00
Meta Vens
06293b3f6e Commit simulation facts from witness quorum 2026-05-20 01:58:36 +01:00
Meta Vens
e5e993e7aa Add CultMesh authority lease checks 2026-05-20 01:49:18 +01:00
Meta Vens
46cb4820ff Add CultMesh peer exchange client 2026-05-20 01:41:12 +01:00
Meta Vens
c612eb4307 Add CultMesh peer exchange catalogs 2026-05-20 01:35:39 +01:00
Meta Vens
b831a8f3bf Add CultMesh Verse discovery contracts 2026-05-19 21:23:11 +01:00
Meta Vens
8fc548e452 Add CultMesh durable shard log defaults 2026-05-19 21:13:33 +01:00
Meta Vens
c2b2239853 Recover replicas from compacted shard history 2026-05-19 21:07:46 +01:00
Meta Vens
901e980ca6 Add shard log compaction boundary 2026-05-19 20:53:45 +01:00
Meta Vens
2ff82365cb Add durable shard mutation log storage 2026-05-19 19:55:29 +01:00
Meta Vens
9fa85d755f Add CultNet simulation observation server 2026-05-19 18:48:53 +01:00
Meta Vens
4c48015e6c Add CultNet simulation observation hub 2026-05-19 18:44:29 +01:00
Meta Vens
f99edc5c43 Add CultNet simulation observation wire contracts 2026-05-19 18:39:53 +01:00
Meta Vens
75ebc727f2 Add CultNet simulation witness consensus 2026-05-19 18:35:16 +01:00
Meta Vens
ffedd6e973 Add CultNet client prediction authority 2026-05-19 18:30:03 +01:00
Meta Vens
ff0436b529 Persist CultNet replica cursors 2026-05-19 18:19:09 +01:00
Meta Vens
d778c36c27 Add CultNet shard replication puller 2026-05-19 18:12:24 +01:00
Meta Vens
e8b2322420 Apply CultNet shard logs on replicas 2026-05-19 18:05:51 +01:00
Meta Vens
a900687751 Add CultNet shard log catch-up 2026-05-19 18:01:11 +01:00
Meta Vens
65078c54a7 Add CultNet shard mutation logs 2026-05-19 17:52:29 +01:00
Meta Vens
061ffe54bc Add CultNet schema write forwarder 2026-05-19 17:47:43 +01:00
Meta Vens
1f527ae99b Add CultNet shard write forwarding policy 2026-05-19 17:40:19 +01:00
Meta Vens
4af500a87d Add CultNet shard catalog routing 2026-05-19 17:34:49 +01:00
Meta Vens
b54ed59135 Add CultNet database subscriptions 2026-05-19 17:10:24 +01:00
Meta Vens
6065bb9ad5 Route CultNet schema messages through database bridge 2026-05-19 17:03:31 +01:00