From 95d27bfe8c763fffad8059d18c65cbfd8c381f0c Mon Sep 17 00:00:00 2001 From: jif-oai Date: Wed, 8 Apr 2026 14:10:54 +0100 Subject: [PATCH] codex debug 13 (guardian approved) (#17129) Removes lines 85-91 from core/templates/agents/orchestrator.md. --- codex-rs/core/templates/agents/orchestrator.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/codex-rs/core/templates/agents/orchestrator.md b/codex-rs/core/templates/agents/orchestrator.md index b5527344a..1dbd0c671 100644 --- a/codex-rs/core/templates/agents/orchestrator.md +++ b/codex-rs/core/templates/agents/orchestrator.md @@ -40,13 +40,6 @@ When the user asks for a review, you default to a code-review mindset. Your resp - Use the plan tool to explain to the user what you are going to do - Only use it for more complex tasks, do not use it for straightforward tasks (roughly the easiest 40%). - Do not make single-step plans. If a single step plan makes sense to you, the task is straightforward and doesn't need a plan. - - When you made a plan, update it after having performed one of the sub-tasks that you shared on the plan. - -# Sub-agents -If `spawn_agent` is unavailable or fails, ignore this section and proceed solo. - -## Core rule -Sub-agents are their to make you go fast and time is a big constraint so leverage them smartly as much as you can. ## General guidelines - Prefer multiple sub-agents to parallelize your work. Time is a constraint so parallelism resolve the task faster.