lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

commit e4ab42f9e07cf5716aba70dc42d20fbe2bf161d5
parent 17cb977de2374d8d0486eb7429bd4adfbb88f4ed
Author: triesap <tyson@radroots.org>
Date:   Sun,  1 Mar 2026 15:53:57 +0000

contract: define replica naming policy

Diffstat:
Mcontract/manifest.toml | 12++++++++++++
Mcontract/version.toml | 2++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/contract/manifest.toml b/contract/manifest.toml @@ -18,6 +18,13 @@ wasm_crates = [ "radroots-events-codec-wasm", ] +[surface.internal_replica_crates] +schema = "radroots-replica-db-schema" +storage = "radroots-replica-db" +storage_wasm = "radroots-replica-db-wasm" +sync = "radroots-replica-sync" +sync_wasm = "radroots-replica-sync-wasm" + [export.ts] packages = [ "@radroots/core", @@ -32,3 +39,8 @@ packages = [ exclude_internal_workspace_crates = true require_reproducible_exports = true require_conformance_vectors = true + +[policy.replica] +forbid_legacy_tangle_identifiers = true +require_transport_agnostic_sync_contract = true +require_deterministic_emit_ingest = true diff --git a/contract/version.toml b/contract/version.toml @@ -10,6 +10,7 @@ major_on = [ "change_exported_enum_variant", "change_exported_algorithm_behavior", "change_wasm_function_signature", + "rename_internal_replica_crate_family", ] minor_on = [ "add_exported_type", @@ -17,6 +18,7 @@ minor_on = [ "add_enum_variant", "add_wasm_function", "add_conformance_vector", + "add_replica_transport_adapter", ] patch_on = [ "fix_docs",