commit 17cb977de2374d8d0486eb7429bd4adfbb88f4ed parent 6fc8028403b756be47c549dcf47c9f5710184525 Author: triesap <tyson@radroots.org> Date: Sun, 1 Mar 2026 15:47:19 +0000 contract: add replica architecture charter Diffstat:
| M | contract/README.md | | | 1 | + |
| A | contract/replica.toml | | | 17 | +++++++++++++++++ |
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/contract/README.md b/contract/README.md @@ -24,6 +24,7 @@ The sdk contract includes only public interoperability primitives: - schema and conformance fixtures The sdk contract excludes app/runtime/storage implementation crates. +Offline-first replica crates are internal surfaces governed by `contract/replica.toml` and are excluded from public sdk exports. ## governance diff --git a/contract/replica.toml b/contract/replica.toml @@ -0,0 +1,17 @@ +[replica] +name = "radroots-replica-contract" +version = "0.1.0" +purpose = "offline-first local replica state and deterministic sync" + +[crate_family] +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" + +[policy] +transport_agnostic_sync_core = true +deterministic_emit_and_ingest = true +wasm_exports_prefix = "replica_" +forbid_legacy_tangle_identifiers = true