Problem
In ACP mode (e.g. Zed), clicking "Always allow" on a permission prompt stores the approval in the per-project database. If you want the same rule to apply across all projects, you have to manually edit ~/.config/opencode/opencode.json and add the pattern to the permission block.
For common tools like grep, python3, or git, this means repeated prompts in every new project until you remember to update the config by hand.
Proposed solution
Add a fourth option to the ACP permission prompt alongside the existing three:
- Allow once
- Always allow (current project)
- Always allow (all projects) ← new
- Reject
Selecting "Always allow (all projects)" would write the pattern directly into the global config file under the appropriate permission key, making it effective immediately for all projects.
Related
Problem
In ACP mode (e.g. Zed), clicking "Always allow" on a permission prompt stores the approval in the per-project database. If you want the same rule to apply across all projects, you have to manually edit
~/.config/opencode/opencode.jsonand add the pattern to thepermissionblock.For common tools like
grep,python3, orgit, this means repeated prompts in every new project until you remember to update the config by hand.Proposed solution
Add a fourth option to the ACP permission prompt alongside the existing three:
Selecting "Always allow (all projects)" would write the pattern directly into the global config file under the appropriate
permissionkey, making it effective immediately for all projects.Related