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.
This commit is contained in:
Ahmed Ibrahim
2026-01-30 12:22:37 -08:00
committed by GitHub
parent 2457bb3c40
commit b7351f7f53

View File

@@ -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