Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(config): add schema-controller parity tests

Steven Enamakelbdcefc1ba2f4
diff --git a/crates/openhuman-core/src/config/schemas_tests.rs b/crates/openhuman-core/src/config/schemas_tests.rs
index 1f92844d40..c1a9b684e8 100644
--- a/crates/openhuman-core/src/config/schemas_tests.rs
+++ b/crates/openhuman-core/src/config/schemas_tests.rs
@@ -1,5 +1,15 @@
use super::schema_defs::schemas;
use super::*;
+use crate::core::all::assert_schema_controller_parity;
+
+#[test]
+fn config_schema_catalog_matches_registered_controllers() {
+ assert_schema_controller_parity(
+ &all_controller_schemas(),
+ &all_registered_controllers(),
+ "get_settings",
+ );
+}
use crate::core::runtime::DispatchCtx;
#[test]
diff --git a/crates/openhuman-core/src/inference/tokenjuice/schemas_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/schemas_tests.rs
index a439ff9f53..29fad7b2ac 100644
--- a/crates/openhuman-core/src/inference/tokenjuice/schemas_tests.rs
+++ b/crates/openhuman-core/src/inference/tokenjuice/schemas_tests.rs
@@ -1,6 +1,16 @@
use super::*;
+use crate::core::all::assert_schema_controller_parity;
use crate::core::runtime::DispatchCtx;
+#[test]
+fn tokenjuice_schema_catalog_matches_registered_controllers() {
+ assert_schema_controller_parity(
+ &all_controller_schemas(),
+ &all_registered_controllers(),
+ "compress",
+ );
+}
+
/* Module-backed behavior is covered by TinyJuice's loader E2E. */
// ── #6088: `compress` must expose all five ContentHint fields ────────────────