Skip to content

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

refactor(ci): update baseline file paths and lines

Steven Enamakelfff620372538
diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.json
index a06b301139..395e6299e9 100644
--- a/scripts/ci/agent-runtime-boundary-baseline.json
+++ b/scripts/ci/agent-runtime-boundary-baseline.json
@@ -58,7 +58,7 @@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/cron/scheduler/agent_run.rs",
- "line": 198,
+ "line": 182,
"text": "let turn = crate::security::turn_origin::with_origin(",
"occurrence": 1
},
@@ -78,65 +78,51 @@
},
{
"rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/ops.rs",
- "line": 60,
- "text": "use crate::security::turn_origin::{with_origin, AgentTurnOrigin, TrustedAutomationSource};",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/ops/builder.rs",
- "line": 204,
- "text": "let run = with_origin(",
+ "path": "crates/openhuman-core/src/flows/caps_host/agent_harness.rs",
+ "line": 171,
+ "text": "Box::pin(turn_origin::with_origin(",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/ops/builder.rs",
- "line": 254,
- "text": "let run = with_origin(AgentTurnOrigin::Cli, agent.run_single(&prompt));",
+ "path": "crates/openhuman-core/src/flows/caps_host/tier.rs",
+ "line": 245,
+ "text": "turn_origin::with_origin(",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/ops/discovery.rs",
- "line": 45,
+ "path": "crates/openhuman-core/src/flows/ops.rs",
+ "line": 44,
"text": "use crate::security::turn_origin::{with_origin, AgentTurnOrigin};",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/ops/discovery.rs",
- "line": 78,
- "text": "let run = with_origin(AgentTurnOrigin::Cli, agent.run_single(FLOW_DISCOVER_PROMPT));",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/ops/execution.rs",
- "line": 315,
+ "path": "crates/openhuman-core/src/flows/ops/builder.rs",
+ "line": 179,
"text": "let run = with_origin(",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/ops/resume.rs",
- "line": 308,
- "text": "let run = with_origin(",
+ "path": "crates/openhuman-core/src/flows/ops/builder.rs",
+ "line": 229,
+ "text": "let run = with_origin(AgentTurnOrigin::Cli, agent.run_single(&prompt));",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/tinyflows/caps/agent.rs",
- "line": 467,
- "text": "Box::pin(turn_origin::with_origin(",
+ "path": "crates/openhuman-core/src/flows/ops/discovery.rs",
+ "line": 55,
+ "text": "use crate::security::turn_origin::{with_origin, AgentTurnOrigin};",
"occurrence": 1
},
{
"rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/flows/tinyflows/caps/tier.rs",
- "line": 116,
- "text": "turn_origin::with_origin(",
+ "path": "crates/openhuman-core/src/flows/ops/discovery.rs",
+ "line": 88,
+ "text": "let run = with_origin(AgentTurnOrigin::Cli, agent.run_single(FLOW_DISCOVER_PROMPT));",
"occurrence": 1
},
{
@@ -569,7 +555,7 @@
{
"rule": "tinyagents-upstream-reexport",
"path": "vendor/tinyagents/crates/tinyagents-session/src/lib.rs",
- "line": 128,
+ "line": 117,
"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.json
index 99b8354b7d..ef8f2453a1 100644
--- a/scripts/ci/saas-ambient-baseline.json
+++ b/scripts/ci/saas-ambient-baseline.json
@@ -30,14 +30,14 @@
{
"rule": "ambient-config",
"path": "crates/openhuman-core/src/agent_registry/host_definition.rs",
- "line": 208,
+ "line": 213,
"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": 299,
+ "line": 304,
"text": "crate::core::runtime::CoreContext::current()",
"occurrence": 1
},
@@ -233,7 +233,7 @@
{
"rule": "ambient-config",
"path": "crates/openhuman-core/src/core/agent_cli/debug/mod.rs",
- "line": 159,
+ "line": 165,
"text": "Config::load_or_init()",
"occurrence": 1
},
@@ -254,21 +254,21 @@
{
"rule": "home-dir",
"path": "crates/openhuman-core/src/core/runtime/context.rs",
- "line": 218,
+ "line": 226,
"text": "dirs::home_dir()",
"occurrence": 1
},
{
"rule": "ambient-config",
"path": "crates/openhuman-core/src/core/runtime/context.rs",
- "line": 248,
+ "line": 256,
"text": "None => crate::config::Config::load_or_init().await,",
"occurrence": 1
},
{
"rule": "home-dir",
"path": "crates/openhuman-core/src/core/runtime/saas.rs",
- "line": 444,
+ "line": 446,
"text": "home: dirs::home_dir(),",
"occurrence": 1
},
@@ -303,42 +303,35 @@
{
"rule": "bare-spawn",
"path": "crates/openhuman-core/src/core/runtime/services.rs",
- "line": 237,
- "text": "tokio::spawn(async {",
+ "line": 236,
+ "text": "tokio::spawn(async move {",
"occurrence": 2
},
{
"rule": "ambient-config",
"path": "crates/openhuman-core/src/core/runtime/services.rs",
- "line": 239,
- "text": "match crate::config::Config::load_or_init().await {",
- "occurrence": 3
- },
- {
- "rule": "ambient-config",
- "path": "crates/openhuman-core/src/core/runtime/services.rs",
- "line": 330,
+ "line": 339,
"text": "let config = match crate::config::Config::load_or_init().await {",
"occurrence": 1
},
{
"rule": "bare-spawn",
"path": "crates/openhuman-core/src/core/runtime/services.rs",
- "line": 445,
+ "line": 454,
"text": "tokio::spawn(async move {",
- "occurrence": 2
+ "occurrence": 3
},
{
"rule": "bare-spawn",
"path": "crates/openhuman-core/src/core/runtime/services.rs",
- "line": 502,
+ "line": 511,
"text": "tokio::spawn(async move {",
- "occurrence": 3
+ "occurrence": 4
},
{
"rule": "ambient-config",
"path": "crates/openhuman-core/src/core/runtime/services.rs",
- "line": 504,
+ "line": 513,
"text": "let config = match Config::load_or_init().await {",
"occurrence": 1
},
@@ -351,8 +344,8 @@
},
{
"rule": "bare-spawn",
- "path": "crates/openhuman-core/src/cron/ops.rs",
- "line": 235,
+ "path": "crates/openhuman-core/src/cron/scheduler/dispatcher.rs",
+ "line": 56,
"text": "tokio::spawn(async move {",
"occurrence": 1
},
@@ -372,23 +365,23 @@
},
{
"rule": "bare-spawn",
- "path": "crates/openhuman-core/src/flows/ops/builder_gates.rs",
- "line": 116,
- "text": "let loaded = tokio::task::spawn_blocking(move || load_flow_graph(&config, &id))",
+ "path": "crates/openhuman-core/src/flows/caps_host/service.rs",
+ "line": 209,
+ "text": "tokio::spawn(async move {",
"occurrence": 1
},
{
"rule": "bare-spawn",
- "path": "crates/openhuman-core/src/flows/ops/run.rs",
- "line": 125,
- "text": "tokio::spawn(crate::core::runtime::context::CoreContext::propagate(",
+ "path": "crates/openhuman-core/src/flows/caps_host/service_agent.rs",
+ "line": 25,
+ "text": "let progress = tokio::spawn(async move {",
"occurrence": 1
},
{
"rule": "bare-spawn",
- "path": "crates/openhuman-core/src/flows/tinyflows/caps/resolver.rs",
- "line": 45,
- "text": "let loaded = tokio::task::spawn_blocking(move || {",
+ "path": "crates/openhuman-core/src/flows/runs_adapter/session.rs",
+ "line": 206,
+ "text": "tokio::spawn(async move {",
"occurrence": 1
},
{
@@ -667,14 +660,7 @@
{
"rule": "bare-spawn",
"path": "crates/openhuman-core/src/security/credentials/ops/gated_services.rs",
- "line": 68,
- "text": "tokio::task::spawn_blocking(move || {",
- "occurrence": 1
- },
- {
- "rule": "bare-spawn",
- "path": "crates/openhuman-core/src/security/credentials/ops/gated_services.rs",
- "line": 88,
+ "line": 98,
"text": "tokio::spawn(async move {",
"occurrence": 2
},
@@ -744,10 +730,17 @@
{
"rule": "home-dir",
"path": "crates/openhuman-core/src/skills/ops_discover/api.rs",
- "line": 47,
+ "line": 142,
"text": "dirs::home_dir()",
"occurrence": 1
},
+ {
+ "rule": "home-dir",
+ "path": "crates/openhuman-core/src/skills/ops_discover/resource.rs",
+ "line": 31,
+ "text": "Some(core) if core.user_skill_roots() => dirs::home_dir(),",
+ "occurrence": 1
+ },
{
"rule": "home-dir",
"path": "crates/openhuman-core/src/skills/ops_install/fetch.rs",
@@ -888,6 +881,13 @@
"text": "let manifest = tokio::task::spawn_blocking(move || archive::restore(&archive_path, &profile))",
"occurrence": 1
},
+ {
+ "rule": "bare-spawn",
+ "path": "crates/openhuman-core/src/storage/local.rs",
+ "line": 179,
+ "text": "tokio::task::spawn_blocking(move || backend_for(&workspace_dir))",
+ "occurrence": 1
+ },
{
"rule": "ambient-context",
"path": "crates/openhuman-core/src/storage/sessions/mod.rs",