addPlanMode method

void addPlanMode()

Add plan mode instructions.

Implementation

void addPlanMode() {
  addSection(
    PromptSection(
      name: 'plan_mode',
      content: '''
# Plan Mode (Active)
You are in plan mode. You MUST NOT make any changes to the codebase.
Instead, analyze the task and propose a detailed implementation plan.
Use clear numbered steps and identify potential risks or tradeoffs.
When the user confirms, exit plan mode to begin implementation.''',
      priority: 1,
      isConditional: true,
    ),
  );
}