Skip to content

Plan Agent gets stuck in run mode #3828

Closed

Description

@i-m-sid

Description

When running Plan agent in run mode, it gets stuck due to ask permission for bash command. Seems like ask permission isn't handled in run mode.

OpenCode version

No response

Steps to reproduce

  1. run the following command: opencode run "run git status using bash command" --agent plan
  2. opencode then gets stuck and eventually timesout.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Nov 3, 2025

    @github-actions
    Contributor

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

    The most relevant appears to be #3575, which specifically discusses how the built-in plan agent ignores permission overrides, which could explain why bash permissions aren't being respected in run mode.

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Nov 3, 2025

    @rekram1-node
    Contributor

    @i-m-sid what version are u on? I thought we added that, it should be included in 0.15.31

  3. self-assigned this
    on Nov 3, 2025
  4. i-m-sid commented on Nov 3, 2025

    @i-m-sid
    ContributorAuthor

    @rekram1-node Ok, I'm on an older version. Thanks!!

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