Skip to content

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

refactor(subagent_host): extract runner ops into dedicated module

Steven Enamakelaf99d8ea4ac8
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
index fcbf673c96..047aadca93 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs
@@ -423,7 +423,7 @@ async fn offload_outcome_artifacts(
// A worktree-isolated worker offloads into its own checkout; everyone else
// uses the live policy's action root, which is the same root a parent's
// relative read resolves the returned path against.
- let policy = crate::security::live_policy::effective();
+ let policy = crate::security::live_policy::effective_in(&options.run_context.dispatch_ctx());
let Some(action_dir) = options
.worktree_action_dir
.clone()