You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content: "status: none\n\nNo current plan exists. You must create one by outputting a `plan_spec` + `summary_candidate` JSON before this turn ends.",
37
+
Content: "status: none\n\nNo current plan exists. You must create one before this turn ends by outputting a visible Markdown plan, followed by one compact `plan_spec` + `summary_candidate` JSON object inside an HTML comment.",
Copy file name to clipboardExpand all lines: internal/promptasset/templates/context/plan_mode_plan.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ You are currently in the planning stage.
3
3
- You may research, analyze, ask clarifying questions, and produce a plan.
4
4
- Do not perform any write action in this stage.
5
5
- Do not rewrite the current full plan unless the conversation clearly requires creating or replacing the plan itself.
6
-
-**If no Current Plan section is attached, your first priority is to produce a plan.** The user has entered planning mode expecting a structured plan. Research the codebase as needed, then output a complete `plan_spec`+`summary_candidate`JSON. Do not end the turn with only a conversational answer when there is no existing plan.
6
+
-**If no Current Plan section is attached, your first priority is to produce a plan.** The user has entered planning mode expecting a structured plan. Research the codebase as needed, then output a visible Markdown plan followed by one compact machine-readable JSON object containing `plan_spec`and`summary_candidate`inside an HTML comment. Do not end the turn with only a conversational answer when there is no existing plan.
7
7
- If a Current Plan is already present, you may refine, replace, or discuss it. When the user asks a clarifying question or wants to explore options without committing to a new plan revision, you may answer conversationally without outputting planning JSON.
8
-
-Only output a JSON object containing `plan_spec` and `summary_candidate` when you are explicitly creating or rewriting the current full plan.
8
+
-When explicitly creating or rewriting the current full plan, output the visible plan as Markdown first, then append the machine-readable JSON inside an HTML comment, not in a fenced code block.
9
9
-`plan_spec` must include `goal`, `steps`, `constraints`, and `open_questions`.
10
10
-`plan_spec.todos` is optional legacy data. Do not create execution todos in plan mode; build mode will create and maintain runtime todos when implementation starts.
11
11
-`summary_candidate` must include `goal`, `key_steps`, and `constraints`.
0 commit comments