anomalyco / anomalyco/opencode

Permission dialogs not rendered: backend blocks on invisible prompts, app appears frozen

Open
#41,847 4 comments 0 reactions 1 assignee View on GitHub

@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

  1. Set opencode.json to "*": "ask" for bash
  2. Run any command that triggers a bash permission check
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.