Plan Mode: Read all data prior to writing the plan
Plan Mode currently begins generating a plan before collecting the full project context, which can result in inaccurate or incomplete implementation steps.
Expected Behavior:
Plan Mode should follow a strict sequence to ensure relevance and precision:
  1. Read all available data before generating a plan:
- Local project files
-
README.md
- Linked documentation
- GitHub repositories (if provided)
- MCP (read-only)
- Any other relevant project context
  1. Generate a plan based on the fully gathered context without performing any file modification yet.
  2. Await explicit user confirmation before applying any changes or executing the plan.
Rationale:
Reading before planning ensures the generated steps are aligned with the real project setup. Skipping this stage removes the core advantage of Plan Mode: contextual intelligence.
Proposed Enhancement:
Introduce a mandatory data-gathering phase before planning begins. Optionally, display a summary of analyzed files/sources so users can verify the context was correctly understood before approving the plan.