anomalyco / anomalyco/opencode
Permission dialogs not rendered: backend blocks on invisible prompts, app appears frozen
Open
@Hona is already working on this.
Since Aug 11, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Summary
Permission prompts are generated by the backend but the dialog is never rendered to the user. 3270 prompts were created over 27 days — the user never saw any of them. Backend blocked waiting for answers that could never arrive.
Evidence
- 3270 prompts in 27 days, zero user responses
- 10 of 54 sessions ended with an unanswered prompt as the last log line
- Longest stall: 7 days with hanging prompt
- During stalls: backend completely idle (zero log lines), not working, not retrying — just waiting
- Both tabs resumed within 2 seconds when someone accidentally triggered a response
- No error in renderer logs, no crash dumps, no "Not Responding" dialog
How to reproduce
- Set opencode.json to
"*": "ask"for bash - Run any command that triggers a bash permission check
- Dialog may or may not appear — inconsistent behavior
Impact
- App appears frozen
- User force-restarts, losing session state
- Same prompts repeat after restart (persistence also broken)
- Hours of productive time lost to stalls
Version: 1.18.16, Electron 42.3.3, Windows 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.