You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Claude request results leave stale permission waits across reconnects #28186
Claude's tool request can finish without a later hook clearing Orca's cached permission wait. A remote disconnect adds another failure: the execution host can observe the result, then receive a newer tool hook that replaces the only cached settlement evidence. Reconnecting the desktop replays the newer working row, but the desktop retains the earlier permission wait.
The following sequence is reproduced with the real main and relay hook servers and a synthetic persisted transcript:
Deliver PermissionRequest for tool A to the desktop.
Disconnect forwarding while leaving the execution host running.
Append a terminal result for A on its transcript branch.
Deliver PreToolUse for tool B on the execution host.
Reconnect and replay the relay's cached status.
Expected: the exact completed request A no longer appears pending, and the current tool/child state is retained. A result must not imply permission approval, user cancellation, or completion of the whole agent turn. Unrelated requests and live child work must remain intact.
Related cases include PostToolUseFailure clearing display fields before the matching logic runs, multiple child requests settling while disconnected, and a transient status-admission error stopping subsequent reconciliation.
This report distinguishes deterministic source-level reproduction from installed-runtime acceptance. The proposed transcript ancestry reader still needs validation against real persisted Claude CLI transcripts and Windows-to-Mac sessions. No permission or trust dialog should be answered automatically to make that validation pass.
Related: #15078 proposes a different local-only denial inference; #25854 concerns missing visible wait reporting. Request settlement should not be converted into done or interrupted without independent evidence.
Thanks for the very thorough report, @thebestmensch. Two fixes landed: #29387 clears a Claude permission wait when the approved tool fails, and #29482 releases a wait that ended while the SSH link was down. Please try the latest build; if stale waits still show after a reconnect, reply or reopen with the hook log.
Hi @thebestmensch, we haven't heard back since our last question, so we're closing this for now. If it still happens on the latest version, please open a new issue with your Orca version, OS, steps to reproduce, and logs, and link back to this one. Thanks for reporting!
Activity
AmethystLiang commentedon Oct 14, 2026
Thanks for reporting. Looking into it
fix(agent-hooks): release a Claude permission wait that ended during …
nwparker commentedon Oct 24, 2026
Thanks for the very thorough report, @thebestmensch. Two fixes landed: #29387 clears a Claude permission wait when the approved tool fails, and #29482 releases a wait that ended while the SSH link was down. Please try the latest build; if stale waits still show after a reconnect, reply or reopen with the hook log.
nwparker commentedon Nov 8, 2026
Hi @thebestmensch, we haven't heard back since our last question, so we're closing this for now. If it still happens on the latest version, please open a new issue with your Orca version, OS, steps to reproduce, and logs, and link back to this one. Thanks for reporting!