Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Clarify guardian timeout guidance (#17521)

Won Park3895ddd6b1ca
diff --git a/codex-rs/core/src/guardian/review.rs b/codex-rs/core/src/guardian/review.rs
index bb494918f1..861d3576cd 100644
--- a/codex-rs/core/src/guardian/review.rs
+++ b/codex-rs/core/src/guardian/review.rs
@@ -39,9 +39,9 @@ const GUARDIAN_REJECTION_INSTRUCTIONS: &str = concat!(
);
const GUARDIAN_TIMEOUT_INSTRUCTIONS: &str = concat!(
- "The automatic approval review did not finish before its deadline. ",
+ "The automatic permission approval review did not finish before its deadline. ",
"Do not assume the action is unsafe based on the timeout alone. ",
- "You may retry once with a narrower or simpler request, or ask the user for guidance or explicit approval.",
+ "You may retry once, or ask the user for guidance or explicit approval.",
);
pub(crate) fn new_guardian_review_id() -> String {