From c53c08f8f9dfaaaefb27f9a019cc769f8d4f82d7 Mon Sep 17 00:00:00 2001 From: jif-oai Date: Thu, 26 Feb 2026 17:54:48 +0000 Subject: [PATCH] chore: calm down awaiter (#12925) --- codex-rs/core/src/agent/role.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/codex-rs/core/src/agent/role.rs b/codex-rs/core/src/agent/role.rs index 81fd0b4d3..766497cda 100644 --- a/codex-rs/core/src/agent/role.rs +++ b/codex-rs/core/src/agent/role.rs @@ -190,15 +190,17 @@ Rules: ( "awaiter".to_string(), AgentRoleConfig { - description: Some(r#"Use an `awaiter` agent EVERY TIME you must run a command that might take some very long time. + description: Some(r#"Use an `awaiter` agent EVERY TIME you must run a command that will take some very long time. This includes, but not only: * testing * monitoring of a long running process * explicit ask to wait for something -When YOU wait for the `awaiter` agent to be done, use the largest possible timeout. -Be patient with the `awaiter`. -Close the awaiter when you're done with it."#.to_string()), +Rules: +- When an awaiter is running, you can work on something else. If you need to wait for its completion, use the largest possible timeout. +- Be patient with the `awaiter`. +- Do not use an awaiter for every compilation/test if it won't take time. Only use if for long running commands. +- Close the awaiter when you're done with it."#.to_string()), config_file: Some("awaiter.toml".to_string().parse().unwrap_or_default()), } )