The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(core): cover permissive boolean defaults in bound parser
Steven Enamakel1b7847481db3
diff --git a/crates/openhuman-core/src/core/all_bound_controller_tests.rs b/crates/openhuman-core/src/core/all_bound_controller_tests.rsindex 7b0770607e..3e13e17cb9 100644--- a/crates/openhuman-core/src/core/all_bound_controller_tests.rs+++ b/crates/openhuman-core/src/core/all_bound_controller_tests.rs@@ -394,6 +394,19 @@ fn production_registry_binds_computer_status_to_its_declared_parser() {.decode_params(params).expect("bound decoder accepts independent example");}++ // Runtime parsing intentionally keeps its permissive false default for+ // non-boolean inputs; these maps are parser cases, not schema examples.+ for example in [+ json!({"load":null}),+ json!({"load":"true"}),+ json!({"load":1}),+ ] {+ let params = example.as_object().expect("parser case object").clone();+ entry+ .decode_params(params)+ .expect("actual bound parser preserves permissive false defaults");+ }}#[test]