Skip to content

Planning Mode instructions may be too strict #4627

Closed as not planned
Closed as not planned

Description

@jshield

Description

> "CRITICAL: Plan mode ACTIVE - you are in READ-ONLY phase. STRICTLY FORBIDDEN: ANY file edits, modifications, or system changes... Any modification attempt is a critical violation. ZERO exceptions."

Even providing source code analysis that could be used to perform file modifications violates this constraint. The reminder explicitly prohibits this, including "direct user requests."

certain models end up getting stuck in this loop, requiring significant prompt back tracking to figure out what triggered this specific interpretation, seems to be relating to questions around code refactoring, even after clarifying that the user will use those recommendations to make changes themselves.

might be better when in plan mode to just disable any tool calls that have side effects, and any unknown tools ask the user on a per call basis, then tell the model that they should only read files, permitting them to provide analysis, etc

as switching to build mode in order to do analysis work seems backwards

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. self-assigned this
    on Nov 23, 2025
  2. joshuachendyb commented on Jan 18, 2026

    @joshuachendyb

    please close it ASAP。thk

  3. duya25446 commented on Feb 24, 2026

    @duya25446

    I'm experiencing the same issue. My agent config explicitly allows editing .md files:

    permission:
      edit:
        "*.md": allow
    But the hardcoded system-reminder "STRICTLY FORBIDDEN" still overrides my config.
    User-defined permissions should take precedence over built-in defaults.
  4. github-actions commented on Apr 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions