[Bug] Approval prompt fails to render intermittently, causing session to hang

Resolved 💬 2 comments Opened Jun 6, 2026 by rhgg2 Closed Jul 12, 2026

Bug Description
Title: Permission/approval prompt intermittently fails to render. Severity: High. Session hangs, forcing an interrupt and reissuing of work. Summary: Relatively often, a tool call that requires approval (Edit/Write, Bash) gates internally but does not render the approval prompt. The session freezes because it's waiting for an approval which I have no opportunity to provide. Details: - Intermittent; no obvious correlation to anything else going on. - Process is sleeping (S+), caffeinate child present (harness believes it's mid-tool-call), no command shell running, no zombie child. - Transcript shows the tool_use with no matching tool_result (dangling) for the entire hang. - Redraw nudges do not help: Ctrl+L, keypresses, terminal resize, and SIGWINCH all fail. - Shift+Tab (switching permission mode to accept-edits) does release the queued operation. Expected: the approval prompt always renders when a tool gates on it. If a render fails, the harness re-emits/recovers it rather than waiting forever. Environment: macOS 13.7.6 (ARM64), iTerm2; Claude Code 2.1.162.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.165
  • Feedback ID: 2f3b3d85-8cdc-4e11-889d-74a63a349b55

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗