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(sandbox): fail closed when command config cannot load
Steven Enamakela288eee59be0
diff --git a/crates/openhuman-core/src/sandbox/ops.rs b/crates/openhuman-core/src/sandbox/ops.rsindex 8f65dfa4cc..115e3c733e 100644--- a/crates/openhuman-core/src/sandbox/ops.rs+++ b/crates/openhuman-core/src/sandbox/ops.rs@@ -93,13 +93,9 @@ pub(crate) async fn resolve_command_policy(if crate::core::runtime::is_saas() {return crate::profiles::tools::sandbox_policy(action_dir, state_dir);}- let config = match crate::config::ops::load_config_with_timeout().await {- Ok(config) => config,- Err(error) => {- tracing::warn!(%error, "[sandbox] using default configuration for command policy");- crate::config::Config::default()- }- };+ let config = crate::config::ops::load_config_with_timeout()+ .await+ .map_err(|error| format!("Cannot read sandbox configuration: {error}"))?;let mut policy = resolve_sandbox_policy(SandboxMode::Sandboxed,action_dir,