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
fix(shell): correct sandbox runtime test expectations
Steven Enamakelbe96c8a58a1b
diff --git a/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rs b/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rsindex d609ca3406..14100576ff 100644--- a/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rs+++ b/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rs@@ -258,3 +258,28 @@ fn shell_family_tools_route_to_sandbox_when_sandboxed_mode_active() {);}}++#[test]+fn saas_sandbox_is_not_resolved_outside_saas() {+ let resolved = saas_sandbox_with(false, || panic!("must not resolve a policy"));+ assert!(resolved.is_none());+}++#[test]+fn saas_sandbox_refuses_instead_of_falling_back_to_the_host() {+ let resolved = saas_sandbox_with(true, || Err("no such sandbox".to_string()));+ let why = match resolved {+ Some(Err(why)) => why,+ other => panic!("expected a refusal, got {other:?}"),+ };+ let (allowed, result) = saas_sandbox_refusal(&why);+ assert!(!allowed);+ assert!(result.is_error);+ assert!(result.output().contains("Sandbox unavailable: no such sandbox"));+}++#[test]+fn runtime_path_is_withheld_only_in_saas() {+ assert!(!passes_runtime_path_with(true));+ assert!(passes_runtime_path_with(false));+}