Closed as not planned
Closed as not planned
Copy link
Description
Summary
Setting all permissions to "Allow" in Settings > Permissions UI has no effect. Backend still generates permission prompts according to the project opencode.json. 3270 prompts were generated while UI showed everything as allowed.
Evidence
- User set all permissions to "allow" in GUI (Settings > Permissions)
- Over 27 days: 3270 prompts generated (2743 bash, 1360 external_directory, 103 task, 57 todowrite)
- All prompts were invisible — dialog never rendered
- Backend sat idle for up to 12.5 minutes waiting for answers that could never arrive
- App appeared frozen but was just blocked on unanswered prompts
- 48.9% of prompts were repeats of previously allowed values
Root Cause
Project-level opencode.json takes precedence over UI settings. When opencode.json has "*": "ask", the permission toggle in Settings is silently ignored. Settings UI should either:
- Override opencode.json (reflect actual effective permissions)
- Or show a warning when project config overrides UI settings
Impact
- User trusts the UI, expects no prompts — gets thousands
- Prompts are invisible (dialog does not render)
- App appears frozen — user force-restarts, losing work
- Each restart resets all "allow always" decisions
Version: 1.18.16, Electron 42.3.3, Windows 10
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Aug 11, 2026
This issue might be a duplicate of, or closely related to, existing issues. Please check:
permission: "allow"andpermission.* = "allow"still trigger approval prompts #28482: Reports thatpermission: "allow"inopencode.jsonstill triggers approval prompts — similar issue of config not being respected.Since #41823, #41846, and #41847 all share the same dataset and environment, consider whether these can be consolidated into a single report or cross-linked.
github-actions commentedon Oct 11, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.