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 agent runtime boundary and saas ambient baselines
Steven Enamakelf37e9a3b78ec
diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.jsonindex f3b57ad52f..c7ca72a48a 100644--- a/scripts/ci/agent-runtime-boundary-baseline.json+++ b/scripts/ci/agent-runtime-boundary-baseline.json@@ -2,14 +2,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent_runs/agent_chat/session_turn.rs",- "line": 559,+ "line": 675,"text": "let run = crate::security::turn_origin::with_origin(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent_runs/schemas.rs",- "line": 418,+ "line": 400,"text": "crate::security::turn_origin::with_origin(","occurrence": 1},@@ -22,50 +22,22 @@},{"rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs",- "line": 180,- "text": "let inherited_origin = crate::security::turn_origin::capture();",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs",- "line": 182,- "text": "let owner_result = crate::security::turn_origin::with_inherited_origin(",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "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": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs",- "line": 141,- "text": "let inherited_origin = crate::security::turn_origin::capture();",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs",- "line": 143,- "text": "move |future| crate::security::turn_origin::with_inherited_origin(inherited_origin, future);",+ "path": "crates/openhuman-core/src/agent/turn_host.rs",+ "line": 163,+ "text": "Box::pin(with_origin(origin, turn)).await","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/channels/proactive.rs",- "line": 307,+ "line": 229,"text": "let (outcome, request_id) = crate::security::turn_origin::with_origin(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/cron/scheduler/agent_run.rs",- "line": 286,+ "line": 302,"text": "crate::security::turn_origin::with_origin(origin, Box::pin(agent.run_single(prompt)));","occurrence": 1},@@ -86,7 +58,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/flows/caps_host/agent_harness.rs",- "line": 171,+ "line": 174,"text": "Box::pin(turn_origin::with_origin(","occurrence": 1},@@ -156,28 +128,28 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/mcp/server/tools/dispatch.rs",- "line": 382,+ "line": 383,"text": "crate::security::turn_origin::with_origin(origin, agent.run_single(prompt)),","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/security/turn_origin.rs",- "line": 268,+ "line": 272,"text": "Some(origin) => with_origin(origin, fut).await,","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/security/turn_origin.rs",- "line": 364,+ "line": 368,"text": "pub fn current_request_id() -> Option<String> {","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/skills/runtime/run_machinery.rs",- "line": 262,+ "line": 257,"text": "r = crate::security::turn_origin::with_origin(","occurrence": 1},@@ -226,14 +198,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/voice/live/session.rs",- "line": 209,+ "line": 210,"text": "Box::pin(with_origin(origin, task))","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/voice/realtime_harness/agent.rs",- "line": 13,+ "line": 12,"text": "use crate::security::turn_origin::{with_origin, AgentTurnOrigin};","occurrence": 1},@@ -254,36 +226,57 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/web_chat/ops/system_turn.rs",- "line": 89,+ "line": 88,"text": "let result = with_origin(origin, agent.run_single(prompt))","occurrence": 1},{"rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/web_chat/ops/turn_guards.rs",- "line": 254,- "text": "crate::security::turn_origin::with_origin(",+ "path": "crates/openhuman-embed/src/turn_control.rs",+ "line": 417,+ "text": "openhuman_core::security::turn_origin::with_origin(origin, dispatch).await","occurrence": 1},{- "rule": "openhuman-task-local",- "path": "crates/openhuman-embed/src/turn_control.rs",- "line": 415,- "text": "openhuman_core::security::turn_origin::with_origin(origin, dispatch).await",+ "rule": "openhuman-upstream-reexport",+ "path": "crates/openhuman-core/src/agent/orchestration/subagent_sessions/ops.rs",+ "line": 22,+ "text": "pub use tinyagents_orchestration::subagent::normalize_task_key;",+ "occurrence": 1+ },+ {+ "rule": "openhuman-upstream-reexport",+ "path": "crates/openhuman-core/src/agent/subagent_host/mod.rs",+ "line": 73,+ "text": "pub use tinyagents_harness::progress::SubagentUsage;","occurrence": 1},{"rule": "openhuman-upstream-reexport","path": "crates/openhuman-core/src/agent/tinyagents/budget.rs",- "line": 10,+ "line": 8,"text": "pub use tinyagents_harness::cost::{","occurrence": 1},{"rule": "openhuman-upstream-reexport",- "path": "crates/openhuman-core/src/agent/tools.rs",- "line": 31,- "text": "pub use tinyagents_harness_tools::{WaitLoopTool, WaitTool};",+ "path": "crates/openhuman-core/src/config/schema/context.rs",+ "line": 7,+ "text": "pub use tinyagents_harness::config::{CompactionSettings, CompactionStrategy, ContextConfig};",+ "occurrence": 1+ },+ {+ "rule": "openhuman-upstream-reexport",+ "path": "crates/openhuman-core/src/progress.rs",+ "line": 20,+ "text": "pub use tinyagents_harness::progress::{AgentProgress, SubagentUsage};",+ "occurrence": 1+ },+ {+ "rule": "openhuman-upstream-reexport",+ "path": "crates/openhuman-core/src/tools/per_call.rs",+ "line": 14,+ "text": "pub(crate) use tinyagents_harness_tools::per_call::PerCallTool;","occurrence": 1},{@@ -293,6 +286,20 @@"text": "pub use tinytools::{","occurrence": 1},+ {+ "rule": "openhuman-upstream-reexport",+ "path": "crates/openhuman-core/src/web_chat/progress_ledger.rs",+ "line": 3,+ "text": "pub(super) use tinyagents_orchestration::run_progress_ledger::ProgressLedgerContext;",+ "occurrence": 1+ },+ {+ "rule": "openhuman-upstream-reexport",+ "path": "crates/openhuman-embed/src/budget.rs",+ "line": 25,+ "text": "pub use tinyagents_harness::cost::ModelBudget;",+ "occurrence": 1+ },{"rule": "openhuman-upstream-reexport","path": "crates/openhuman-embed/src/embeddings.rs",@@ -342,13 +349,6 @@"text": "pub use tinyagents_hooks::tool::{","occurrence": 1},- {- "rule": "openhuman-upstream-reexport",- "path": "crates/openhuman-embed/src/lib.rs",- "line": 253,- "text": "pub use tinyagents_harness_tools::todos::TodoList;",- "occurrence": 1- },{"rule": "openhuman-upstream-reexport","path": "crates/openhuman-embed/src/lib.rs",@@ -384,17 +384,38 @@"text": "pub use tinyagents_harness_tools::exec::timeout::ProcessCleanup as CommandCleanup;","occurrence": 1},+ {+ "rule": "tinyagents-moved-symbol-alias",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/close_tests.rs",+ "line": 816,+ "text": "struct RoutedStreamModel(tinyinference_llm::model::ResolvedModelRoute);",+ "occurrence": 1+ },{"rule": "tinyagents-moved-symbol-alias","path": "vendor/tinyagents/crates/tinyagents-harness/src/tool/mod.rs",- "line": 220,+ "line": 222,"text": "pub struct ToolRegistry<State: Send + Sync, Ctx: Send + Sync> {","occurrence": 1},+ {+ "rule": "tinyagents-moved-symbol-alias",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/subagent/child_turn_tests.rs",+ "line": 27,+ "text": "type Message = String;",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-moved-symbol-alias",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/subagent/child_turn.rs",+ "line": 178,+ "text": "type Message: Clone + Send + Sync;",+ "occurrence": 1+ },{"rule": "tinyagents-moved-symbol-alias","path": "vendor/tinyagents/crates/tinyagents-runtime/src/hooks.rs",- "line": 122,+ "line": 133,"text": "pub type SessionHookFuture<'a, T> = tinyagents_hooks::SessionHookFuture<'a, T, RuntimeError>;","occurrence": 1},@@ -415,24 +436,388 @@{"rule": "tinyagents-openhuman-domain-name","path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/mod_api_tests.rs",- "line": 46,+ "line": 97,"text": "let started = |call_id: &str| AgentProgress::ToolCallStarted {","occurrence": 1},{"rule": "tinyagents-openhuman-domain-name","path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/mod_api_tests.rs",- "line": 86,+ "line": 137,"text": "fn tool_completed(call_id: &str) -> AgentProgress {","occurrence": 1},{"rule": "tinyagents-openhuman-domain-name","path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/mod_api_tests.rs",- "line": 87,+ "line": 138,+ "text": "AgentProgress::ToolCallCompleted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 3,+ "text": "fn iteration_started() -> AgentProgress {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 4,+ "text": "AgentProgress::IterationStarted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 10,+ "text": "fn model_call_completed(subagent_task_id: Option<&str>) -> AgentProgress {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 11,+ "text": "AgentProgress::ModelCallCompleted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 27,+ "text": "fn tool_started(call_id: &str) -> AgentProgress {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 28,+ "text": "AgentProgress::ToolCallStarted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 38,+ "text": "fn tool_completed(call_id: &str) -> AgentProgress {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 39,"text": "AgentProgress::ToolCallCompleted {","occurrence": 1},+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 55,+ "text": "fn signal(tracker: &mut WorkTracker, event: &AgentProgress) -> Option<&'static str> {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 71,+ "text": "&AgentProgress::TextDelta {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 134,+ "text": "signal(&mut tracker, &AgentProgress::turn_completed(1)),",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker_tests.rs",+ "line": 140,+ "text": "signal(&mut tracker, &AgentProgress::turn_completed(1)),",+ "occurrence": 2+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker.rs",+ "line": 5,+ "text": "use crate::progress::AgentProgress;",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker.rs",+ "line": 31,+ "text": "pub fn observe(&mut self, event: &AgentProgress) -> Option<TurnSignal> {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker.rs",+ "line": 34,+ "text": "AgentProgress::IterationStarted { .. } => {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker.rs",+ "line": 38,+ "text": "AgentProgress::ModelCallCompleted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker.rs",+ "line": 42,+ "text": "AgentProgress::ToolCallStarted { call_id, .. } => {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker.rs",+ "line": 46,+ "text": "AgentProgress::ToolCallCompleted { call_id, .. } => {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/turn_runner/work_tracker.rs",+ "line": 49,+ "text": "AgentProgress::TurnCompleted { .. } => {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 3,+ "text": "use tinyagents_harness::progress::{AgentProgress, SubagentUsage};",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 34,+ "text": "ledger.observe(&AgentProgress::TurnStarted).await;",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 36,+ "text": ".observe(&AgentProgress::ToolCallStarted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 67,+ "text": ".observe(&AgentProgress::TurnCompleted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 105,+ "text": "ledger.observe(&AgentProgress::TurnStarted).await;",+ "occurrence": 2+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 107,+ "text": ".observe(&AgentProgress::TurnCompleted {",+ "occurrence": 2+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 160,+ "text": "ledger.observe(&AgentProgress::TurnStarted).await;",+ "occurrence": 3+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 165,+ "text": "ledger.observe(&AgentProgress::turn_completed(1)).await;",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 205,+ "text": "ledger.observe(&AgentProgress::TurnStarted).await;",+ "occurrence": 4+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 230,+ "text": "completed.observe(&AgentProgress::TurnStarted).await;",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 231,+ "text": "completed.observe(&AgentProgress::turn_completed(1)).await;",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 246,+ "text": ".observe(&AgentProgress::SubagentSpawned {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 261,+ "text": ".observe(&AgentProgress::SubagentToolCallStarted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 275,+ "text": ".observe(&AgentProgress::SubagentCompleted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 292,+ "text": ".observe(&AgentProgress::SubagentIterationStarted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 308,+ "text": ".observe(&AgentProgress::SubagentSpawned {",+ "occurrence": 2+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod_tests.rs",+ "line": 322,+ "text": ".observe(&AgentProgress::ModelCallCompleted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 16,+ "text": "use tinyagents_harness::progress::AgentProgress;",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 35,+ "text": "pub async fn observe(&self, event: &AgentProgress) -> ProgressLedgerContext {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 45,+ "text": "AgentProgress::TurnCompleted {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 50,+ "text": "AgentProgress::TurnCompleted { .. } => Some(AgentRunStatus::Completed),",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 234,+ "text": "fn serialize_event(event: &AgentProgress) -> Option<(String, Value)> {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 244,+ "text": "fn correlation_for(event: &AgentProgress, state: &mut LedgerState) -> ProgressLedgerContext {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 246,+ "text": "AgentProgress::SubagentSpawned {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 258,+ "text": "AgentProgress::SubagentCompleted { task_id, .. }",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 259,+ "text": "| AgentProgress::SubagentFailed { task_id, .. } => {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 263,+ "text": "AgentProgress::SubagentAwaitingUser { task_id, .. }",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 264,+ "text": "| AgentProgress::SubagentIterationStarted { task_id, .. }",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 265,+ "text": "| AgentProgress::SubagentToolCallStarted { task_id, .. }",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 266,+ "text": "| AgentProgress::SubagentToolCallCompleted { task_id, .. }",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 267,+ "text": "| AgentProgress::SubagentTextDelta { task_id, .. }",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 268,+ "text": "| AgentProgress::SubagentThinkingDelta { task_id, .. } => ProgressLedgerContext {",+ "occurrence": 1+ },+ {+ "rule": "tinyagents-openhuman-domain-name",+ "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/run_progress_ledger/mod.rs",+ "line": 271,+ "text": "AgentProgress::ModelCallCompleted {",+ "occurrence": 1+ },{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/dialect.rs",@@ -471,21 +856,21 @@{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/tools.rs",- "line": 2780,+ "line": 2781,"text": "use tinytools_agent::repair::args;","occurrence": 1},{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/close_tests.rs",- "line": 8,+ "line": 494,"text": "use tinytools_agent::dialect::NativeDialect;","occurrence": 1},{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/close.rs",- "line": 17,+ "line": 18,"text": "use tinytools_agent::dialect::{DialectResponse, ToolDialect};","occurrence": 1},@@ -499,7 +884,7 @@{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/lib.rs",- "line": 131,+ "line": 116,"text": "pub use tinytools_agent;","occurrence": 1},@@ -540,16 +925,9 @@},{"rule": "tinyagents-upstream-reexport",- "path": "vendor/tinyagents/crates/tinyagents-graph/src/lib.rs",- "line": 44,- "text": "pub use tinyagents_harness::error::{Result, TinyAgentsError};",- "occurrence": 1- },- {- "rule": "tinyagents-upstream-reexport",- "path": "vendor/tinyagents/crates/tinyagents-graph/src/orchestration.rs",- "line": 9,- "text": "pub use tinyagents_tasks::*;",+ "path": "vendor/tinyagents/crates/tinyagents-harness-tools/src/net/network/web_fetch.rs",+ "line": 670,+ "text": "pub use tinytools::status::web_fetch_status as status_of;","occurrence": 1},{@@ -559,20 +937,6 @@"text": "pub use tinytools::rank::{Bm25Index, tokenize};","occurrence": 1},- {- "rule": "tinyagents-upstream-reexport",- "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/status/mod.rs",- "line": 20,- "text": "pub use tinyagents_tasks::NoEquivalentStatus;",- "occurrence": 1- },- {- "rule": "tinyagents-upstream-reexport",- "path": "vendor/tinyagents/crates/tinyagents-orchestration/src/subagent/policy.rs",- "line": 19,- "text": "pub use tinyagents_graph::{SubAgentBudget, SubAgentPolicy};",- "occurrence": 1- },{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-registry/src/lib.rs",@@ -590,14 +954,14 @@{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-runtime/src/lib.rs",- "line": 32,+ "line": 37,"text": "pub use tinyagents_session::transcript::TranscriptPartial;","occurrence": 1},{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-session/src/lib.rs",- "line": 112,+ "line": 110,"text": "pub use tinyagents_harness::error::{Result, TinyAgentsError};","occurrence": 1},diff --git a/scripts/ci/saas-ambient-baseline.json b/scripts/ci/saas-ambient-baseline.jsonindex 856ae639cf..8a29309aa3 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",@@ -22,44 +8,51 @@},{"rule": "bare-spawn",- "path": "crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs",- "line": 589,+ "path": "crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch_helpers.rs",+ "line": 23,"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",- "line": 294,+ "line": 32,"text": ".map(|u| u.home_dir().to_path_buf())","occurrence": 1},{"rule": "bare-spawn",- "path": "crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs",- "line": 122,- "text": "_acknowledgment_task = Some(AbortOnDropHandle::new(tokio::spawn(async move {",+ "path": "crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs",+ "line": 223,+ "text": "tokio::spawn(async move {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs",- "line": 252,- "text": "Some(AbortOnDropHandle::new(tokio::spawn(async move {",+ "line": 127,+ "text": "_acknowledgment_task = Some(AbortOnDropHandle::new(tokio::spawn(async move {","occurrence": 1},{@@ -72,7 +65,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 +114,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 +177,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 +219,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,10 +233,17 @@{"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},+ {+ "rule": "ambient-config",+ "path": "crates/openhuman-core/src/core/cli.rs",+ "line": 485,+ "text": "let config = crate::config::Config::load_or_init()",+ "occurrence": 1+ },{"rule": "env-mutation","path": "crates/openhuman-core/src/core/logging.rs",@@ -251,6 +251,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",@@ -324,10 +338,17 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/core/runtime/subscribers.rs",- "line": 179,+ "line": 189,"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 +363,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",@@ -371,37 +427,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": 186,+ "text": "let Some(context) = crate::core::runtime::CoreContext::current() else {","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 +478,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 +520,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 +597,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 +653,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/sandbox/native_jail.rs",- "line": 113,+ "line": 117,"text": "tokio::spawn(async move {","occurrence": 1},@@ -639,7 +681,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/security/turn_origin.rs",- "line": 356,+ "line": 360,"text": "tokio::spawn(propagate(fut))","occurrence": 1},@@ -667,7 +709,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 +765,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 +821,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,31 +884,38 @@{"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},{"rule": "bare-spawn","path": "crates/openhuman-core/src/threads/ops/edit.rs",- "line": 399,+ "line": 498,"text": "let result = tokio::task::spawn_blocking(move || {","occurrence": 1},+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/threads/ops/purge.rs",+ "line": 40,+ "text": "let _admission = tokio::task::spawn_blocking(move || {",+ "occurrence": 1+ },{"rule": "ambient-config","path": "crates/openhuman-core/src/threads/ops/support.rs",@@ -891,8 +940,8 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/threads/ops/transcript.rs",- "line": 36,- "text": "let page = tokio::task::spawn_blocking(move || {",+ "line": 38,+ "text": "let mut page = tokio::task::spawn_blocking(move || {","occurrence": 1},{@@ -912,14 +961,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},@@ -972,130 +1021,25 @@"text": "None => std::env::remove_var(name),","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/web_chat/ops/followups.rs",- "line": 13,- "text": "tokio::spawn(crate::core::runtime::context::CoreContext::propagate(",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/web_chat/ops/parallel_turn.rs",- "line": 56,- "text": "let handle = tokio::spawn(crate::core::runtime::context::CoreContext::propagate(",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/web_chat/ops/parallel_turn.rs",- "line": 253,- "text": "tokio::spawn(async move {",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/web_chat/ops/parallel_turn.rs",- "line": 290,- "text": "tokio::spawn(async move {",- "occurrence": 2- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/web_chat/ops/start_chat.rs",- "line": 505,- "text": "let handle = tokio::spawn(crate::core::runtime::context::CoreContext::propagate(",- "occurrence": 1- },- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/web_chat/ops/state.rs",- "line": 117,- "text": "tokio::spawn(async move {",- "occurrence": 1- },{"rule": "bare-spawn","path": "crates/openhuman-core/src/web_chat/ops/system_turn.rs",- "line": 85,+ "line": 84,"text": "let progress_drain = tokio::spawn(async move { while progress_rx.recv().await.is_some() {} });","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/web_chat/presentation.rs",- "line": 111,+ "line": 122,"text": "let persisted = tokio::task::spawn_blocking(move || {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/web_chat/suggestions.rs",- "line": 87,+ "line": 88,"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}]