From 6bfc58a688a73c287da51797d99c3345caecbae8 Mon Sep 17 00:00:00 2001 From: rhan-oai Date: Sun, 21 Jun 2026 13:35:25 -0700 Subject: [PATCH] [prompting] updated plan mode prompt (#29301) Update plan mode prompt to render the implementation plan to the user on relevant follow-ups, such that the user can exit out of plan mode to implement rather than manually switch of plan mode. --- codex-rs/collaboration-mode-templates/templates/plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/collaboration-mode-templates/templates/plan.md b/codex-rs/collaboration-mode-templates/templates/plan.md index 8a1a934f8..ca68f41c8 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 `` 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 ``, any new `` must be a complete replacement. +If the user stays in Plan mode and asks for revisions after a prior ``, any new `` 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 `` 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 `` unchanged.