Skip to content

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

chore(ci): remove obsolete agent context prepared sources boundary checks

Steven Enamakel2ed086b371dd
diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.json
index 00cbe6a867..bc45a8aa83 100644
--- a/scripts/ci/agent-runtime-boundary-baseline.json
+++ b/scripts/ci/agent-runtime-boundary-baseline.json
@@ -97,13 +97,6 @@
"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 static AGENT_CONTEXT_PREPARED_SOURCES: Arc<Vec<AgentContextPreparedSource>>;",
- "occurrence": 1
- },
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
@@ -125,27 +118,6 @@
"text": "PARENT_CONTEXT.scope(ctx, Box::pin(future)).await",
"occurrence": 1
},
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 205,
- "text": "pub fn current_agent_context_prepared_sources() -> Vec<AgentContextPreparedSource> {",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 206,
- "text": "AGENT_CONTEXT_PREPARED_SOURCES",
- "occurrence": 1
- },
- {
- "rule": "openhuman-task-local",
- "path": "crates/openhuman-core/src/agent/harness/fork_context.rs",
- "line": 223,
- "text": "AGENT_CONTEXT_PREPARED_SOURCES",
- "occurrence": 2
- },
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/harness/mod.rs",
diff --git a/scripts/ci/check-agent-runtime-boundary.mjs b/scripts/ci/check-agent-runtime-boundary.mjs
index bf7596882c..0a742f64cb 100644
--- a/scripts/ci/check-agent-runtime-boundary.mjs
+++ b/scripts/ci/check-agent-runtime-boundary.mjs
@@ -49,8 +49,8 @@ const deletedTaskLocalModules = [
"resolved_route", "run_cancellation_context", "thread_context",
];
const taskLocalAccessors = [
- "current_parent", "with_parent_context", "current_agent_context_prepared_sources",
- "with_agent_context_prepared_sources", "current_sandbox_mode", "with_current_sandbox_mode",
+ "current_parent", "with_parent_context",
+ "current_sandbox_mode", "with_current_sandbox_mode",
"current_spawn_depth", "with_spawn_depth", "current_task_recency_window",
"with_task_recency_window", "current_turn_image_placeholders",
"with_current_turn_image_placeholders", "with_dispatch_guard", "record_subagent_usage",
@@ -61,7 +61,7 @@ const taskLocalAccessors = [
"with_origin", "with_inherited_origin", "current_request_id",
];
const taskLocalStatics = [
- "PARENT_CONTEXT", "AGENT_CONTEXT_PREPARED_SOURCES", "CURRENT_AGENT_SANDBOX_MODE",
+ "PARENT_CONTEXT", "CURRENT_AGENT_SANDBOX_MODE",
"TASK_RECENCY_WINDOW", "CURRENT_TURN_IMAGE_PLACEHOLDERS", "AGENT_PROGRESS_SINK",
"RESOLVED_PROVIDER_ROUTE", "CURRENT_RUN_CANCELLATION", "THREAD_ID", "AGENT_TURN_ORIGIN",
"AGENT_TURN_WORKSPACE",