chore: rework tools execution workflow (#5278)

Re-work the tool execution flow. Read `orchestrator.rs` to understand
the structure
This commit is contained in:
jif-oai
2025-10-20 20:57:37 +01:00
committed by GitHub
parent c84fc83222
commit 5e4f3bbb0b
59 changed files with 2630 additions and 3374 deletions

View File

@@ -44,6 +44,7 @@ async fn run_cmd(cmd: &[&str], writable_roots: &[PathBuf], timeout_ms: u64) {
env: create_env_from_core_vars(),
with_escalated_permissions: None,
justification: None,
arg0: None,
};
let sandbox_policy = SandboxPolicy::WorkspaceWrite {
@@ -146,6 +147,7 @@ async fn assert_network_blocked(cmd: &[&str]) {
env: create_env_from_core_vars(),
with_escalated_permissions: None,
justification: None,
arg0: None,
};
let sandbox_policy = SandboxPolicy::new_read_only_policy();