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
test(subagent_host): remove unnecessary worktree directory from artifact tests
Steven Enamakel7e956fec3e66
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner_artifacts_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner_artifacts_tests.rsindex 5482577522..c3b9481e24 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner_artifacts_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner_artifacts_tests.rs@@ -9,9 +9,8 @@ async fn byte_policy_projects_a_parent_readable_artifact_before_the_result_cap()let scratch = tempfile::tempdir().expect("artifact workspace");let parent_action_dir = scratch.path().join("parent-action");- let worktree_action_dir = scratch.path().join("worker-checkout");let workspace_dir = scratch.path().join("workspace");- for path in [&parent_action_dir, &worktree_action_dir, &workspace_dir] {+ for path in [&parent_action_dir, &workspace_dir] {std::fs::create_dir_all(path).expect("create artifact root");}let trusted_action_dir = parent_action_dir@@ -32,7 +31,6 @@ async fn byte_policy_projects_a_parent_readable_artifact_before_the_result_cap().with_core(Some(Arc::clone(&scoped)));let options = SubagentRunOptions {run_context,- worktree_action_dir: Some(worktree_action_dir.clone()),..SubagentRunOptions::default()};let mut definition = crate::agent::harness::test_support::test_main_def();@@ -97,8 +95,4 @@ async fn byte_policy_projects_a_parent_readable_artifact_before_the_result_cap()original,"the byte-policy store writes the complete pre-cap result");- assert!(- !worktree_action_dir.join(stored_path).exists(),- "a worktree worker returns an artifact readable from its parent's root"- );}