From b7351f7f53d07584bf292c1b61bb58c8aa839bb5 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 30 Jan 2026 12:22:37 -0800 Subject: [PATCH] plan prompt (#10255) # External (non-OpenAI) Pull Request Requirements Before opening this Pull Request, please read the dedicated "Contributing" markdown file or your PR may be closed: https://github.com/openai/codex/blob/main/docs/contributing.md If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes. Include a link to a bug report or enhancement request. --- codex-rs/core/templates/collaboration_mode/plan.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/codex-rs/core/templates/collaboration_mode/plan.md b/codex-rs/core/templates/collaboration_mode/plan.md index 2ae72aba43..f600bc9c7b 100644 --- a/codex-rs/core/templates/collaboration_mode/plan.md +++ b/codex-rs/core/templates/collaboration_mode/plan.md @@ -32,7 +32,6 @@ Actions that gather truth, reduce ambiguity, or validate feasibility without cha Actions that implement the plan or change repo-tracked state. Examples: * Editing or writing files -* Generating, updating, or accepting snapshots * Running formatters or linters that rewrite files * Applying patches, migrations, or codegen that updates repo-tracked files * Side-effectful commands whose purpose is to carry out the plan rather than refine it @@ -60,13 +59,13 @@ Do not ask questions that can be answered from the repo or system (for example, Every assistant turn MUST be exactly one of: A) a `request_user_input` tool call (questions/options only), OR -C) the final output: a titled, plan-only document. +B) the final output: a titled, plan-only document. Rules: * No questions in free text (only via `request_user_input`). * Never mix a `request_user_input` call with plan content. -* Internal tool/repo exploration is allowed privately before A, B, or C. +* Internal tool/repo exploration is allowed privately before A or B. ## Ask a lot, but never ask trivia