Skip to content

opencode asked for incorrect/too broad permissions #29897

@bebbi

Description

@bebbi

Description

The proposed plan was:

$ cd a/b/c/lib1 && git stash && cd ../lib2 && git stash --include-untracked && cd ../../../.. && pnpm --filter @somescope/lib2 test 2>&1 | grep -E "(failed|passed|tests)" | tail -10

Opencode asked for permissions on the ../../../../ folder which is overly broad, not needed for the command.

Desired: No extra permissions would be needed for this command

Plugins

No response

OpenCode version

1.15.11 via brew

Steps to reproduce

You can probably pass the above command to the permission engine and see it this way.

Screenshot and/or share link

No response

Operating System

Macos

Terminal

ghostty

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions