Skip to content

[FEATURE]: ability to modify the path of "always allow" on file reads #48011

Open

Description

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Whenever my agent tries to read a file, sometimes that file is in a directory (or nested directory) that I want it to always be able to access. When it's a nested directory, eg. /foo/bar, but I want it to have permanent access to /foo, right now my only option is to pop open the config (or another chat window) and configure access to /foo. It'd be nice if I could just modify the path I'm "always allow"ing in the tool confirmation prompt.

Activity

  1. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the suggestion! You'd like to be able to change the path in the permission prompt before choosing "always allow", for example widening /foo/bar to /foo, so you don't have to open the config to grant access to a parent directory.

    Right now the path that gets saved is fixed when the request is made: it's the project root containing the file (or the file's own directory) plus /*. The prompt shows that path but doesn't let you edit it. This also can't be done with a plugin at the moment, because plugins can't change the permission prompt or what an "always" reply saves.

    Maintainers will consider this request.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions