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): update agent runtime boundary baseline line numbers
Steven Enamakel0a77e5abba82
diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.jsonindex e8d3d41df6..25fad6d658 100644--- a/scripts/ci/agent-runtime-boundary-baseline.json+++ b/scripts/ci/agent-runtime-boundary-baseline.json@@ -16,28 +16,28 @@{"rule": "openhuman-runtime-bridge","path": "crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs",- "line": 13,+ "line": 12,"text": "use crate::agent::tinyagents::{run_turn_via_tinyagents_shared, SubagentScope};","occurrence": 1},{"rule": "openhuman-runtime-bridge","path": "crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs",- "line": 284,+ "line": 198,"text": "let run_result = Box::pin(run_turn_via_tinyagents_shared(","occurrence": 1},{"rule": "openhuman-runtime-bridge","path": "crates/openhuman-core/src/agent/tinyagents/harness_assembly.rs",- "line": 111,+ "line": 112,"text": "pub(super) fn assemble_turn_harness(","occurrence": 1},{"rule": "openhuman-runtime-bridge","path": "crates/openhuman-core/src/agent/tinyagents/mod.rs",- "line": 84,+ "line": 85,"text": "pub(crate) use turn_runner::{run_root_turn_via_hosted_agent, run_turn_via_tinyagents_shared};","occurrence": 1},@@ -58,7 +58,7 @@{"rule": "openhuman-runtime-bridge","path": "crates/openhuman-core/src/agent/tinyagents/turn_runner.rs",- "line": 261,+ "line": 266,"text": "} = assemble_turn_harness(","occurrence": 1},@@ -86,7 +86,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/goals/runtime.rs",- "line": 150,+ "line": 159,"text": "crate::agent::turn_origin::current(),","occurrence": 1},@@ -289,14 +289,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs",- "line": 178,+ "line": 181,"text": "let inherited_origin = crate::agent::turn_origin::capture();","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs",- "line": 180,+ "line": 183,"text": "crate::agent::turn_origin::with_inherited_origin(","occurrence": 1},@@ -359,14 +359,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs",- "line": 454,+ "line": 418,"text": "let join = tokio::spawn(crate::agent::turn_origin::propagate(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs",- "line": 455,+ "line": 419,"text": "crate::agent::turn_workspace::propagate(async move {","occurrence": 1},@@ -401,7 +401,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/plan_review/tool.rs",- "line": 103,+ "line": 123,"text": "let origin = turn_origin::current().unwrap_or(AgentTurnOrigin::Unknown);","occurrence": 1},@@ -443,35 +443,35 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/schemas.rs",- "line": 404,+ "line": 435,"text": "crate::agent::turn_origin::with_origin(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/session_host/builder/factory.rs",- "line": 1206,+ "line": 1230,"text": "let root = crate::agent::turn_workspace::current()?;","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",- "line": 240,+ "line": 239,"text": "if self.auto_save && crate::agent::turn_origin::current_is_user_authored() {","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",- "line": 932,+ "line": 845,"text": "workspace_descriptor: crate::agent::harness::current_parent()","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",- "line": 1383,+ "line": 1311,"text": "request_id: crate::agent::turn_origin::current_request_id(),","occurrence": 1},@@ -506,28 +506,28 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/subagent_host/ops/mod.rs",- "line": 72,+ "line": 67,"text": "pub(super) use crate::agent::harness::{with_spawn_depth, MAX_SPAWN_DEPTH};","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/subagent_host/ops/runner.rs",- "line": 492,+ "line": 483,"text": ".max(current_spawn_depth().saturating_add(1));","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/subagent_host/ops/runner.rs",- "line": 642,+ "line": 633,"text": "let run_result = with_spawn_depth(attempted_depth, async {","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/subagent_host/ops/runner.rs",- "line": 644,+ "line": 635,"text": "with_current_sandbox_mode(definition.sandbox_mode, async {","occurrence": 1},@@ -632,14 +632,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/cron/scheduler/agent_run.rs",- "line": 147,+ "line": 153,"text": "let turn = crate::agent::turn_origin::with_origin(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/cron/scheduler/agent_run.rs",- "line": 161,+ "line": 167,"text": "crate::agent::harness::with_task_recency_window(","occurrence": 1},@@ -674,14 +674,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/flows/ops/builder.rs",- "line": 177,+ "line": 198,"text": "let run = with_origin(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/flows/ops/builder.rs",- "line": 230,+ "line": 251,"text": "let run = with_origin(AgentTurnOrigin::Cli, agent.run_single(&prompt));","occurrence": 1},@@ -758,14 +758,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/host_runtime/ops/agent_chat.rs",- "line": 197,+ "line": 287,"text": "if let Some(tx) = crate::agent::progress_sink::current_progress_sink() {","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/host_runtime/ops/agent_chat.rs",- "line": 208,+ "line": 298,"text": "let run = crate::agent::turn_origin::with_origin(","occurrence": 1},@@ -779,49 +779,49 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/provider/factory/managed_backend.rs",- "line": 46,+ "line": 38,"text": ".with_thread_id(thread_id),","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/provider/openhuman_backend_model.rs",- "line": 121,+ "line": 140,"text": "pub fn with_thread_id(mut self, thread_id: Option<impl AsRef<str>>) -> Self {","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/provider/openhuman_backend_model.rs",- "line": 461,+ "line": 484,"text": "fn with_thread_id(request: ModelRequest, thread_id: Option<&str>) -> ModelRequest {","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/provider/openhuman_backend_model.rs",- "line": 575,+ "line": 613,"text": ".invoke(state, with_thread_id(request, self.thread_id.as_deref()))","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/provider/openhuman_backend_model.rs",- "line": 602,+ "line": 640,"text": ".stream(state, with_thread_id(request, self.thread_id.as_deref()))","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/integrations/composio/action_tool.rs",- "line": 43,+ "line": 38,"text": "use crate::agent::harness::current_sandbox_mode;","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/integrations/composio/action_tool.rs",- "line": 258,+ "line": 249,"text": "if matches!(current_sandbox_mode(), Some(SandboxMode::ReadOnly)) {","occurrence": 1},@@ -870,7 +870,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/mcp/server/tools/dispatch.rs",- "line": 396,+ "line": 376,"text": "crate::agent::turn_origin::with_origin(origin, agent.run_single(&prompt)),","occurrence": 1},@@ -905,14 +905,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/security/approval/gate_intercept.rs",- "line": 22,+ "line": 24,"text": "let origin = turn_origin::current().unwrap_or(AgentTurnOrigin::Unknown);","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/security/policy/path_checks.rs",- "line": 487,+ "line": 498,"text": "if let Some(turn_root) = crate::agent::turn_workspace::current() {","occurrence": 1},@@ -940,28 +940,28 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/skills/webhooks/ops.rs",- "line": 207,+ "line": 173,"text": "crate::agent::turn_origin::with_origin(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/tools/impl/system/node_exec.rs",- "line": 276,+ "line": 280,"text": "crate::agent::harness::current_sandbox_mode(),","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/tools/impl/system/npm_exec.rs",- "line": 279,+ "line": 283,"text": "crate::agent::harness::current_sandbox_mode(),","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/tools/impl/system/python_exec.rs",- "line": 248,+ "line": 252,"text": "crate::agent::harness::current_sandbox_mode(),","occurrence": 1},@@ -982,7 +982,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/voice/realtime_harness/agent.rs",- "line": 147,+ "line": 149,"text": "let fut = with_origin(","occurrence": 1},@@ -1010,35 +1010,35 @@{"rule": "openhuman-task-local","path": "crates/openhuman-embed/src/lib.rs",- "line": 78,+ "line": 83,"text": "current_progress_sink, with_progress_sink, ProgressSink, AGENT_PROGRESS_SINK,","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-embed/src/turn.rs",- "line": 365,+ "line": 472,"text": "openhuman_core::agent::progress_sink::with_progress_sink(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-embed/src/turn.rs",- "line": 367,+ "line": 474,"text": "openhuman_core::agent::turn_origin::with_origin(origin, dispatch),","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-embed/src/turn.rs",- "line": 372,+ "line": 479,"text": "openhuman_core::agent::turn_origin::with_origin(origin, dispatch).await","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-embed/src/turn.rs",- "line": 375,+ "line": 482,"text": "openhuman_core::agent::progress_sink::with_progress_sink(sink, dispatch).await","occurrence": 1},@@ -1077,17 +1077,10 @@"text": "pub use tinyagents_graph::orchestration::OrchestrationTaskStatus;","occurrence": 1},- {- "rule": "openhuman-upstream-reexport",- "path": "crates/openhuman-core/src/agent/subagent_host/handoff.rs",- "line": 37,- "text": "pub(crate) use tinyagents_harness::handoff::{",- "occurrence": 1- },{"rule": "openhuman-upstream-reexport","path": "crates/openhuman-core/src/agent/todos/ops.rs",- "line": 16,+ "line": 17,"text": "pub use tinyagents_graph::todos::TodosSnapshot;","occurrence": 1},@@ -1129,7 +1122,7 @@{"rule": "openhuman-upstream-reexport","path": "crates/openhuman-core/src/tools/mod.rs",- "line": 73,+ "line": 76,"text": "pub use tinytools::{PermissionLevel, Tool, ToolCategory, ToolResult, ToolScope, ToolSpec};","occurrence": 1},@@ -1143,7 +1136,7 @@{"rule": "openhuman-upstream-reexport","path": "crates/openhuman-core/src/voice/cloud_transcribe.rs",- "line": 9,+ "line": 7,"text": "pub use tinyinference_voice::cloud::{CloudTranscribeOptions, CloudTranscribeResult};","occurrence": 1},@@ -1395,7 +1388,7 @@{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/dialect.rs",- "line": 20,+ "line": 21,"text": "use tinytools_agent::dialect::{CodeDialect, CodeStyle, PFormatDialect};","occurrence": 1},@@ -1409,28 +1402,28 @@{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/dialect.rs",- "line": 22,+ "line": 23,"text": "use tinytools_agent::{PFormatRegistry, StreamScrubber};","occurrence": 1},{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/dialect/test.rs",- "line": 22,+ "line": 64,"text": "use tinytools_agent::dialect::CodeStyle;","occurrence": 1},{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/tools.rs",- "line": 2189,+ "line": 2247,"text": "use tinytools_agent::repair::args;","occurrence": 1},{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/lib.rs",- "line": 110,+ "line": 116,"text": "pub use tinytools_agent;","occurrence": 1},@@ -1451,7 +1444,7 @@{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-registry/src/lib.rs",- "line": 35,+ "line": 34,"text": "pub use tinyagents_harness::error::{Result, TinyAgentsError};","occurrence": 1},