Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(ci): refresh agent runtime boundary baseline

Steven Enamakel7fc339242bb8
diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.json
index 17340ae924..e353aef2f7 100644
--- a/scripts/ci/agent-runtime-boundary-baseline.json
+++ b/scripts/ci/agent-runtime-boundary-baseline.json
@@ -6,109 +6,25 @@
"text": "let outcome = turn_origin::with_origin(",
"occurrence": 1
},
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 170,
- "text": "tokio::task_local! {",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 174,
- "text": "pub static PARENT_CONTEXT: ParentExecutionContext;",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 181,
- "text": "pub fn current_parent() -> Option<ParentExecutionContext> {",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 182,
- "text": "PARENT_CONTEXT.try_with(|ctx| ctx.clone()).ok()",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 193,
- "text": "PARENT_CONTEXT.scope(ctx, Box::pin(future)).await",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/mod.rs",
- "line": 25,
- "text": "pub mod fork_context;",
- "occurrence": 1
- },
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs",
- "line": 188,
+ "line": 189,
"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": 190,
+ "line": 191,
"text": "crate::agent::turn_origin::with_inherited_origin(",
"occurrence": 1
},
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/orchestration/ops.rs",
- "line": 169,
- "text": "let parent = current_parent().ok_or(OrchestrationError::NoParentContext)?;",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/orchestration/ops.rs",
- "line": 416,
- "text": "let handle = tokio::spawn(crate::agent::turn_origin::propagate(async move {",
- "occurrence": 1
- },
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/orchestration/ops.rs",
"line": 418,
- "text": "let result = with_parent_context(parent, async move {",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs",
- "line": 168,
- "text": "if current_parent().is_some() {",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs",
- "line": 172,
- "text": "Ok(with_parent_context(parent, fut).await)",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/orchestration/tools.rs",
- "line": 70,
- "text": "crate::agent::harness::current_parent().map(|parent| {",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/orchestration/tools/close_subagent.rs",
- "line": 98,
- "text": "crate::agent::harness::current_parent(),",
+ "text": "let handle = tokio::spawn(crate::agent::turn_origin::propagate(async move {",
"occurrence": 1
},
{
@@ -121,28 +37,28 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs",
- "line": 67,
+ "line": 69,
"text": "let inherited_origin = crate::agent::turn_origin::capture();",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs",
- "line": 71,
+ "line": 73,
"text": "crate::agent::turn_origin::with_inherited_origin(",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs",
- "line": 206,
+ "line": 208,
"text": "let inherited_origin = crate::agent::turn_origin::capture();",
"occurrence": 2
},
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs",
- "line": 210,
+ "line": 212,
"text": "crate::agent::turn_origin::with_inherited_origin(",
"occurrence": 2
},
@@ -160,13 +76,6 @@
"text": "crate::agent::turn_origin::with_origin(",
"occurrence": 1
},
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/session_host/runtime_session/parent_snapshot.rs",
- "line": 36,
- "text": "workspace_descriptor: crate::agent::harness::current_parent()",
- "occurrence": 1
- },
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/session_host/runtime_session/tool_rules.rs",
@@ -174,13 +83,6 @@
"text": "crate::agent::turn_origin::current_is_user_authored().then(|| request.input.text());",
"occurrence": 1
},
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/subagent_host/lifecycle.rs",
- "line": 45,
- "text": "context.parent = crate::agent::harness::current_parent();",
- "occurrence": 1
- },
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/tinyagents/host/security_gate.rs",
@@ -240,14 +142,14 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/turn_origin.rs",
- "line": 322,
+ "line": 321,
"text": "Some(origin) => with_origin(origin, fut).await,",
"occurrence": 2
},
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/turn_origin.rs",
- "line": 385,
+ "line": 384,
"text": "pub fn current_request_id() -> Option<String> {",
"occurrence": 1
},
@@ -468,13 +370,6 @@
"text": "crate::agent::turn_origin::with_origin(origin, agent.run_single(prompt)),",
"occurrence": 1
},
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/memory/tools.rs",
- "line": 150,
- "text": "crate::agent::harness::fork_context::current_parent()",
- "occurrence": 1
- },
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/security/approval/gate_intercept.rs",
@@ -583,7 +478,7 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/web_chat/ops/turn_guards.rs",
- "line": 156,
+ "line": 247,
"text": "crate::agent::turn_origin::with_origin(",
"occurrence": 1
},
@@ -594,20 +489,6 @@
"text": "Some(origin) => openhuman_core::agent::turn_origin::with_origin(origin, dispatch).await,",
"occurrence": 1
},
- {
- "rule": "openhuman-upstream-reexport",
- "path": "crates/openhuman-core/src/core/observability.rs",
- "line": 3096,
- "text": "pub use tinyinference_llm::failure::body_indicates_quota_exhausted as is_quota_exhausted_message;",
- "occurrence": 1
- },
- {
- "rule": "openhuman-upstream-reexport",
- "path": "crates/openhuman-core/src/threads/store/backend.rs",
- "line": 21,
- "text": "pub use tinyagents_session::threads::ConversationPurgeStats;",
- "occurrence": 1
- },
{
"rule": "openhuman-upstream-reexport",
"path": "crates/openhuman-core/src/tools/registry/mod.rs",