Skip to content

agent: Prompt for permission for symlinks outside the project#49255

Merged
benbrandt merged 6 commits intomainfrom
symlink-tools
Feb 16, 2026
Merged

agent: Prompt for permission for symlinks outside the project#49255
benbrandt merged 6 commits intomainfrom
symlink-tools

Conversation

@benbrandt
Copy link
Member

It's possible that a given project/workspace has symlinks that go outside the current directories. In order to alert the user of some potential files the agent is accessing they may not be expecting, we ask for permission first.

Release Notes:

  • agent: Prompt for permission if the agent tries to access files whose symlinks resolve outside the current workspace

…e the project

Alert the user if the agent is trying to read or write to files outside the current workspace via symlinks. Shows the user the actual location that is being edited.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 16, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 16, 2026
@benbrandt benbrandt merged commit 24dbd21 into main Feb 16, 2026
37 checks passed
@benbrandt benbrandt deleted the symlink-tools branch February 16, 2026 09:39
rtfeldman pushed a commit that referenced this pull request Feb 17, 2026
It's possible that a given project/workspace has symlinks that go
outside the current directories. In order to alert the user of some
potential files the agent is accessing they may not be expecting, we ask
for permission first.

Release Notes:

- agent: Prompt for permission if the agent tries to access files whose
symlinks resolve outside the current workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant