@@ -80,14 +80,29 @@ manually during a session.
8080
8181### Planning Workflow
8282
83+ Plan Mode uses an adaptive planning workflow where the research depth, plan
84+ structure, and consultation level are proportional to the task's complexity:
85+
83861 . ** Explore & Analyze:** Analyze requirements and use read-only tools to map
84- the codebase and validate assumptions. For complex tasks, identify at least
85- two viable implementation approaches.
86- 2 . ** Consult:** Present a summary of the identified approaches via [ ` ask_user ` ]
87- to obtain a selection. For simple or canonical tasks, this step may be
88- skipped.
89- 3 . ** Draft:** Once an approach is selected, write a detailed implementation
90- plan to the plans directory.
87+ affected modules and identify dependencies.
88+ 2 . ** Consult:** The depth of consultation is proportional to the task's
89+ complexity:
90+ - ** Simple Tasks:** Proceed directly to drafting.
91+ - ** Standard Tasks:** Present a summary of viable approaches via
92+ [ ` ask_user ` ] for selection.
93+ - ** Complex Tasks:** Present detailed trade-offs for at least two viable
94+ approaches via [ ` ask_user ` ] and obtain approval before drafting.
95+ 3 . ** Draft:** Write a detailed implementation plan to the
96+ [ plans directory] ( #custom-plan-directory-and-policies ) . The plan's structure
97+ adapts to the task:
98+ - ** Simple Tasks:** Focused on specific ** Changes** and ** Verification**
99+ steps.
100+ - ** Standard Tasks:** Includes an ** Objective** , ** Key Files & Context** ,
101+ ** Implementation Steps** , and ** Verification & Testing** .
102+ - ** Complex Tasks:** Comprehensive plans including ** Background &
103+ Motivation** , ** Scope & Impact** , ** Proposed Solution** , ** Alternatives
104+ Considered** , a phased ** Implementation Plan** , ** Verification** , and
105+ ** Migration & Rollback** strategies.
911064 . ** Review & Approval:** Use the [ ` exit_plan_mode ` ] tool to present the plan
92107 and formally request approval.
93108 - ** Approve:** Exit Plan Mode and start implementation.
0 commit comments