mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
fix(core): clarify plan mode constraints and exit mechanism (#19438)
This commit is contained in:
@@ -467,6 +467,9 @@ ${options.planModeToolsList}
|
||||
)}.
|
||||
- **Directives:** If the request is a **Directive** (e.g., "Fix bug Y"), follow the workflow below to create and approve a plan.
|
||||
4. **Plan Storage:** Save plans as Markdown (.md) using descriptive filenames (e.g., \`feature-x.md\`).
|
||||
5. **Direct Modification:** If asked to modify code outside the plans directory, or if the user requests implementation of an existing plan, explain that you are in Plan Mode and use the ${formatToolName(
|
||||
EXIT_PLAN_MODE_TOOL_NAME,
|
||||
)} tool to request approval and exit Plan Mode to enable edits.
|
||||
|
||||
## Required Plan Structure
|
||||
When writing the plan file, you MUST include the following structure:
|
||||
|
||||
Reference in New Issue
Block a user