[BUG] Kimi K2 does not follow plan mode and edits file in Desktop #8140

Open
opened 2026-02-16 18:09:15 -05:00 by yindo · 1 comment
Owner

Originally created by @deadcoder0904 on GitHub (Jan 31, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Kimi K2 edits files in plan mode without explicit permission. Even when plan mode is enabled, the tool proceeds to edit files when it shouldn't.

Expected Behavior
Plan mode should prevent automatic file edits until user approval.

Actual Behavior
Files are edited automatically despite plan mode being active.

Environment

  • Desktop
  • Plan mode enabled
Originally created by @deadcoder0904 on GitHub (Jan 31, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Kimi K2 edits files in plan mode without explicit permission. Even when plan mode is enabled, the tool proceeds to edit files when it shouldn't. **Expected Behavior** Plan mode should prevent automatic file edits until user approval. **Actual Behavior** Files are edited automatically despite plan mode being active. **Environment** - Desktop - Plan mode enabled
yindo added the bugweb labels 2026-02-16 18:09:15 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 31, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #11441: 'Plan' agent does not adhere to the plan rule - describes the same problem with plan mode not preventing code changes
  • #10741: Changing files in plan mode - directly addresses files being modified during plan mode
  • #7292: Plan mode is editing my files (gemini 3 pro) - same behavior with different model
  • #9378: Changes made while in planning mode - automatic code changes despite being in planning mode
  • #10314: Experimental Plan Mode made code changes - plan mode allowing file modifications when it shouldn't
  • #5475: Files were modified even being under 'Plan Mode' - files modified while plan mode is active
  • #8507: Plan goes on autopilot - creates files and compiles without confirmation - plan mode proceeding autonomously

These issues all describe the same core problem: plan mode not preventing automatic file edits. The issue affects multiple models and versions, suggesting a systemic issue rather than Kimi-specific.

Feel free to ignore if this specific case is distinct from these existing reports.

@github-actions[bot] commented on GitHub (Jan 31, 2026): This issue might be a duplicate of existing issues. Please check: - #11441: 'Plan' agent does not adhere to the plan rule - describes the same problem with plan mode not preventing code changes - #10741: Changing files in plan mode - directly addresses files being modified during plan mode - #7292: Plan mode is editing my files (gemini 3 pro) - same behavior with different model - #9378: Changes made while in planning mode - automatic code changes despite being in planning mode - #10314: Experimental Plan Mode made code changes - plan mode allowing file modifications when it shouldn't - #5475: Files were modified even being under 'Plan Mode' - files modified while plan mode is active - #8507: Plan goes on autopilot - creates files and compiles without confirmation - plan mode proceeding autonomously These issues all describe the same core problem: plan mode not preventing automatic file edits. The issue affects multiple models and versions, suggesting a systemic issue rather than Kimi-specific. Feel free to ignore if this specific case is distinct from these existing reports.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8140