commit 2ccb582a1a303f5eb9e01f42589da83883f30585
parent 8d872e0fdffd0d0cbc3941e09481288e8d7accd6
Author: triesap <tyson@radroots.org>
Date: Mon, 3 Aug 2026 13:11:37 +0000
bindings: use protocol as dto authority
- Refresh the protocol-owned generated DTO inventory from canonical sources.
- Record current source hashes for all sixty serialized protocol types.
- Preserve unique ordered schema metadata across the 121-entry registry.
- Verify protocol conformance, generated freshness, and architecture gates.
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contracts/codegen/protocol_v1.inventory.json b/contracts/codegen/protocol_v1.inventory.json
@@ -42,7 +42,7 @@
{
"module": "error::v1",
"path": "crates/protocol/src/error/v1.rs",
- "sha256": "f6f8578988a7a3cf57e0a3081fa592a5e16998e666696e24c41368ea93226b80",
+ "sha256": "58ac6c1f9a4ee3e0b3937df970ad3793706322e4feaf5005bc4968cfcde82ad4",
"types": [
{
"rust_path": "radroots_protocol::error::v1::CapabilityId",
diff --git a/contracts/codegen/protocol_v1.inventory.sha256 b/contracts/codegen/protocol_v1.inventory.sha256
@@ -1 +1 @@
-f197c1b3afaa8eb1420f4c9d27168a681b22023eede2eb8fb7e0e0fe8d920e82
+0448f589823990786f90c3eeeaba4bc164e3ee6a75cdae8ad08149d242f8ad5d
diff --git a/crates/protocol/tests/conformance.rs b/crates/protocol/tests/conformance.rs
@@ -86,10 +86,10 @@ fn generated_inventory_is_complete_unique_and_matches_the_schema_registry() {
.flat_map(|source| source["types"].as_array().expect("source types"))
.map(|item| item["rust_path"].as_str().expect("Rust path"))
.collect::<Vec<_>>();
- assert_eq!(type_paths.len(), 54);
+ assert_eq!(type_paths.len(), 60);
assert_eq!(
type_paths.iter().copied().collect::<BTreeSet<_>>().len(),
- 54
+ 60
);
assert!(type_paths.contains(&"radroots_protocol::runtime::v1::OperationId"));