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
chore(ci): refresh saas ambient baseline
Steven Enamakelc046b5edf6df
diff --git a/scripts/ci/saas-ambient-baseline.json b/scripts/ci/saas-ambient-baseline.jsonindex 856ae639cf..1bb89a0857 100644--- a/scripts/ci/saas-ambient-baseline.json+++ b/scripts/ci/saas-ambient-baseline.json@@ -1,18 +1,4 @@[- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/agent/orchestration/ops.rs",- "line": 386,- "text": "let handle = tokio::spawn(crate::security::turn_origin::propagate(async move {",- "occurrence": 1- },- {- "rule": "ambient-config",- "path": "crates/openhuman-core/src/agent/orchestration/spawn_parallel/run.rs",- "line": 180,- "text": "match crate::config::Config::load_or_init().await {",- "occurrence": 1- },{"rule": "bare-spawn","path": "crates/openhuman-core/src/agent/session_host/runtime_session_progress.rs",@@ -20,27 +6,27 @@"text": "tokio::spawn(async move {","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs",- "line": 589,- "text": "tokio::spawn(async move {",- "occurrence": 1- },{"rule": "ambient-config","path": "crates/openhuman-core/src/agent_registry/host_definition.rs",- "line": 213,+ "line": 231,"text": "let config = crate::config::Config::load_or_init().await?;","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/agent_registry/host_definition.rs",- "line": 304,+ "line": 322,"text": "crate::core::runtime::CoreContext::current()","occurrence": 1},+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/agent_runs/agent_chat/session_turn.rs",+ "line": 661,+ "text": "tokio::spawn(async move { while rx.recv().await.is_some() {} });",+ "occurrence": 1+ },{"rule": "home-dir","path": "crates/openhuman-core/src/channels/host/adapters.rs",@@ -51,14 +37,14 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs",- "line": 122,+ "line": 134,"text": "_acknowledgment_task = Some(AbortOnDropHandle::new(tokio::spawn(async move {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs",- "line": 252,+ "line": 265,"text": "Some(AbortOnDropHandle::new(tokio::spawn(async move {","occurrence": 1},@@ -72,7 +58,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/config/migrations/mod.rs",- "line": 108,+ "line": 97,"text": "tokio::task::spawn_blocking(move || phase_out_profile_md::run(&workspace_dir)).await;","occurrence": 1},@@ -121,7 +107,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/config/schema/load/config_file_read.rs",- "line": 105,+ "line": 106,"text": "match tokio::task::spawn_blocking(move || {","occurrence": 1},@@ -184,7 +170,7 @@{"rule": "home-dir","path": "crates/openhuman-core/src/config/schema/types/defaults.rs",- "line": 16,+ "line": 15,"text": "UserDirs::new().map_or_else(|| PathBuf::from(\".\"), |u| u.home_dir().to_path_buf());","occurrence": 1},@@ -226,7 +212,7 @@{"rule": "env-mutation","path": "crates/openhuman-core/src/core/agent_cli.rs",- "line": 728,+ "line": 726,"text": "std::env::set_var(\"RUST_LOG\", \"error\");","occurrence": 1},@@ -240,7 +226,7 @@{"rule": "ambient-context","path": "crates/openhuman-core/src/core/all.rs",- "line": 89,+ "line": 62,"text": "crate::core::runtime::context::CoreContext::current().map(|c| c.domains())","occurrence": 1},@@ -251,6 +237,20 @@"text": "std::env::set_var(\"RUST_LOG\", default);","occurrence": 1},+ {+ "rule": "home-dir",+ "path": "crates/openhuman-core/src/core/runtime/context_boot.rs",+ "line": 125,+ "text": "dirs::home_dir()",+ "occurrence": 1+ },+ {+ "rule": "ambient-config",+ "path": "crates/openhuman-core/src/core/runtime/context_boot.rs",+ "line": 155,+ "text": "None => crate::config::Config::load_or_init().await,",+ "occurrence": 1+ },{"rule": "home-dir","path": "crates/openhuman-core/src/core/runtime/saas.rs",@@ -328,6 +328,13 @@"text": "tokio::spawn(async move {","occurrence": 1},+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/cron/scheduler/dispatcher.rs",+ "line": 615,+ "text": "Ok(tokio::spawn(work))",+ "occurrence": 1+ },{"rule": "bare-spawn","path": "crates/openhuman-core/src/desktop/app_state/ops/runtime_snapshot.rs",@@ -342,6 +349,41 @@"text": "tokio::task::spawn_blocking(move || load_app_session_profile(&config_for_profile))","occurrence": 1},+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/doctor/checks/storage.rs",+ "line": 55,+ "text": "match tokio::task::spawn_blocking(move || sqlite_probe(&path)).await {",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/doctor/checks/storage.rs",+ "line": 72,+ "text": "match tokio::task::spawn_blocking(move || file_probe(&dir)).await {",+ "occurrence": 1+ },+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/doctor/contract.rs",+ "line": 272,+ "text": "let core = CoreContext::current();",+ "occurrence": 1+ },+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/doctor/ops.rs",+ "line": 211,+ "text": "let Some(parent) = CoreContext::current() else {",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/doctor/runner.rs",+ "line": 177,+ "text": "tokio::task::spawn_blocking(move || {",+ "occurrence": 1+ },{"rule": "bare-spawn","path": "crates/openhuman-core/src/flows/caps_host/service.rs",@@ -370,38 +412,31 @@"text": "let loaded = tokio::task::spawn_blocking(move || {","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/agent_runs/agent_chat/session_turn.rs",- "line": 512,- "text": "tokio::spawn(async move { while rx.recv().await.is_some() {} });",- "occurrence": 1- },{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/http/backend.rs",- "line": 43,+ "line": 40,"text": "let config = Config::load_or_init().await.map_err(|e| {","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/http/backend.rs",- "line": 84,+ "line": 81,"text": "let config = Config::load_or_init().await.map_err(|e| {","occurrence": 2},{"rule": "home-dir","path": "crates/openhuman-core/src/inference/provider/factory/access_gates.rs",- "line": 189,+ "line": 368,"text": ".map(|d| d.home_dir().join(\".openhuman\"))","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/inference/provider/factory/access_gates.rs",- "line": 222,+ "line": 401,"text": "crate::core::runtime::context::CoreContext::current()","occurrence": 1},@@ -422,35 +457,35 @@{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 294,+ "line": 332,"text": "None => match crate::config::Config::load_or_init().await {","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 375,+ "line": 413,"text": "let config = crate::config::Config::load_or_init()","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 388,+ "line": 434,"text": "let config = crate::config::Config::load_or_init()","occurrence": 2},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 410,+ "line": 464,"text": "let config = crate::config::Config::load_or_init()","occurrence": 3},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 421,+ "line": 483,"text": "let config = crate::config::Config::load_or_init()","occurrence": 4},@@ -464,42 +499,42 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rs",- "line": 262,+ "line": 241,"text": "tokio::spawn(async move {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/mod.rs",- "line": 86,+ "line": 92,"text": "tokio::spawn(async move {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/mod.rs",- "line": 95,+ "line": 101,"text": "tokio::spawn(async move {","occurrence": 2},{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/mod.rs",- "line": 169,+ "line": 175,"text": "let task = tokio::spawn(async move {","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/mcp/module_client.rs",- "line": 431,+ "line": 438,"text": "let Some(context) = crate::core::runtime::CoreContext::current() else {","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/mcp/module_client.rs",- "line": 434,+ "line": 441,"text": "context.session_agent().is_some()","occurrence": 1},@@ -541,24 +576,10 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/modules/boot.rs",- "line": 130,+ "line": 135,"text": "tokio::spawn(async move {","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/modules/storage_import_tinymcp.rs",- "line": 114,- "text": "let (legacy_servers, legacy_audit) = tokio::task::spawn_blocking(move || {",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/modules/storage_import_tinymcp.rs",- "line": 195,- "text": "let (legacy_servers, legacy_audit) = tokio::task::spawn_blocking(move || {",- "occurrence": 2- },{"rule": "bare-spawn","path": "crates/openhuman-core/src/platform/llm_gate/throttle.rs",@@ -611,7 +632,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/sandbox/native_jail.rs",- "line": 113,+ "line": 117,"text": "tokio::spawn(async move {","occurrence": 1},@@ -667,7 +688,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/skills/catalog/store.rs",- "line": 53,+ "line": 54,"text": "tokio::task::spawn_blocking(move || {","occurrence": 1},@@ -723,7 +744,7 @@{"rule": "ambient-config","path": "crates/openhuman-core/src/skills/runtime/run_machinery.rs",- "line": 168,+ "line": 180,"text": "let mut config = match Config::load_or_init().await {","occurrence": 1},@@ -779,28 +800,28 @@{"rule": "ambient-config","path": "crates/openhuman-core/src/storage/import/schemas.rs",- "line": 105,+ "line": 110,"text": "let configured = crate::config::Config::load_or_init()","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/storage/import/schemas.rs",- "line": 126,+ "line": 131,"text": "let reports = tokio::task::spawn_blocking(move || {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/storage/import/tinyflows_reader/legacy_db.rs",- "line": 38,+ "line": 40,"text": "tokio::task::spawn_blocking(move || {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/storage/import_state.rs",- "line": 240,+ "line": 455,"text": "std::thread::spawn(move || {","occurrence": 1},@@ -842,21 +863,21 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/storage/local.rs",- "line": 179,+ "line": 268,"text": "tokio::task::spawn_blocking(move || backend_for(&workspace_dir))","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/storage/scope_move.rs",- "line": 396,+ "line": 398,"text": "let inventory = tokio::task::spawn_blocking(move || {","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/storage/sessions/mod.rs",- "line": 305,+ "line": 259,"text": "crate::core::runtime::CoreContext::current()","occurrence": 1},@@ -912,14 +933,14 @@{"rule": "ambient-config","path": "crates/openhuman-core/src/tools/impl/presentation/engine.rs",- "line": 65,+ "line": 63,"text": "loaded_config = match crate::config::Config::load_or_init().await {","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/tools/ops.rs",- "line": 575,+ "line": 546,"text": "let domains = crate::core::runtime::context::CoreContext::current().map(|c| c.domains());","occurrence": 1},@@ -1034,68 +1055,5 @@"line": 87,"text": "tokio::spawn(crate::core::runtime::context::CoreContext::propagate(","occurrence": 1- },- {- "rule": "home-dir",- "path": "crates/openhuman-core/src/core/runtime/context_boot.rs",- "line": 125,- "text": "dirs::home_dir()",- "occurrence": 1- },- {- "rule": "ambient-config",- "path": "crates/openhuman-core/src/core/runtime/context_boot.rs",- "line": 155,- "text": "None => crate::config::Config::load_or_init().await,",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/cron/scheduler/dispatcher.rs",- "line": 615,- "text": "Ok(tokio::spawn(work))",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/doctor/checks/storage.rs",- "line": 62,- "text": "match tokio::task::spawn_blocking(move || sqlite_probe(&path)).await {",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/doctor/checks/storage.rs",- "line": 79,- "text": "match tokio::task::spawn_blocking(move || file_probe(&dir)).await {",- "occurrence": 1- },- {- "rule": "ambient-context",- "path": "crates/openhuman-core/src/doctor/contract.rs",- "line": 275,- "text": "let core = CoreContext::current();",- "occurrence": 1- },- {- "rule": "ambient-context",- "path": "crates/openhuman-core/src/doctor/ops.rs",- "line": 210,- "text": "let Some(parent) = CoreContext::current() else {",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/doctor/runner.rs",- "line": 177,- "text": "tokio::task::spawn_blocking(move || {",- "occurrence": 1- },- {- "rule": "ambient-context",- "path": "crates/openhuman-core/src/inference/auth_error_registry.rs",- "line": 115,- "text": "let context = crate::core::runtime::CoreContext::current()?;",- "occurrence": 1}]