Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

[prompting] updated plan mode prompt (#29301)

rhan-oai6bfc58a688a7
diff --git a/codex-rs/collaboration-mode-templates/templates/plan.md b/codex-rs/collaboration-mode-templates/templates/plan.md
index 8a1a934f83..ca68f41c89 100644
--- a/codex-rs/collaboration-mode-templates/templates/plan.md
+++ b/codex-rs/collaboration-mode-templates/templates/plan.md
@@ -125,4 +125,4 @@ Do not ask "should I proceed?" in the final output. The user can easily switch o
Only produce at most one `<proposed_plan>` block per turn, and only when you are presenting a complete spec.
-If the user stays in Plan mode and asks for revisions after a prior `<proposed_plan>`, any new `<proposed_plan>` must be a complete replacement.
+If the user stays in Plan mode and asks for revisions after a prior `<proposed_plan>`, any new `<proposed_plan>` must be a complete replacement. If the user indicates that the prior plan is not acceptable but does not provide enough information to produce a complete replacement, address the concern and continue planning without producing a `<proposed_plan>` block. If the follow-up neither requires changes nor calls the plan into question (e.g. clarifying question), answer it before the block, then reproduce the prior `<proposed_plan>` unchanged.