From f8a580cad1f7e75aea4e7fded3cfe6b7b3e96eea Mon Sep 17 00:00:00 2001 From: Charles Cunningham Date: Tue, 24 Mar 2026 20:57:08 -0700 Subject: [PATCH] Remove execve guardian short-circuit note Co-authored-by: Codex --- codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs b/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs index 56a9b91ebd..303ab48465 100644 --- a/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs +++ b/codex-rs/core/src/tools/runtimes/shell/unix_escalation.rs @@ -434,9 +434,6 @@ impl CoreShellActionProvider { let approval_id = Some(Uuid::new_v4().to_string()); Ok(stopwatch .pause_for(async move { - // Guardian-routed execve reviews short-circuit in - // `process_decision()` before calling this helper. `prompt()` - // is only the human approval path. let available_decisions = vec![ Some(ReviewDecision::Approved), // Currently, ApprovedForSession is only honored for skills,