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 Enamakelde8d62736284
diff --git a/scripts/ci/saas-ambient-baseline.json b/scripts/ci/saas-ambient-baseline.jsonindex bd8d04daa2..0c463f1c86 100644--- a/scripts/ci/saas-ambient-baseline.json+++ b/scripts/ci/saas-ambient-baseline.json@@ -30,17 +30,24 @@{"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": 545,+ "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 +58,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 +79,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/config/migrations/mod.rs",- "line": 108,+ "line": 96,"text": "tokio::task::spawn_blocking(move || phase_out_profile_md::run(&workspace_dir)).await;","occurrence": 1},@@ -184,7 +191,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},@@ -240,7 +247,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 +258,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 +349,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 +370,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": 275,+ "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",@@ -371,37 +434,37 @@"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() {} });",+ "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},{"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": 229,"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": 262,"text": "crate::core::runtime::context::CoreContext::current()","occurrence": 1},@@ -422,35 +485,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},@@ -492,14 +555,14 @@{"rule": "ambient-context","path": "crates/openhuman-core/src/mcp/module_client.rs",- "line": 431,+ "line": 432,"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": 435,"text": "context.session_agent().is_some()","occurrence": 1},@@ -541,7 +604,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/modules/boot.rs",- "line": 130,+ "line": 133,"text": "tokio::spawn(async move {","occurrence": 1},@@ -653,7 +716,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},@@ -706,25 +769,18 @@"text": "let config_snapshot = match Config::load_or_init().await {","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/skills/runtime/run_machinery.rs",- "line": 162,- "text": "tokio::spawn(async move {",- "occurrence": 1- },{"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},{"rule": "bare-spawn","path": "crates/openhuman-core/src/skills/runtime/run_machinery.rs",- "line": 222,- "text": "let bridge = tokio::spawn(run_log::drain_to_log(rx, log_path.clone()));",+ "line": 238,+ "text": "let bridge = tokio::spawn(run_log::drain_to_log(","occurrence": 1},{@@ -779,21 +835,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": 40,+ "text": "tokio::task::spawn_blocking(move || {",+ "occurrence": 1+ },{"rule": "bare-spawn","path": "crates/openhuman-core/src/storage/import_state.rs",- "line": 240,+ "line": 431,"text": "std::thread::spawn(move || {","occurrence": 1},@@ -835,14 +898,21 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/storage/local.rs",- "line": 179,+ "line": 239,"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": 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": 252,"text": "crate::core::runtime::CoreContext::current()","occurrence": 1},@@ -898,14 +968,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": 577,"text": "let domains = crate::core::runtime::context::CoreContext::current().map(|c| c.domains());","occurrence": 1},@@ -1020,68 +1090,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}]