Repository navigation
Description
Operating system
macOS
Orca version
1.4.136-rc.0
Details
Short summary
After Claude presents an interactive AskUserQuestion prompt, the worktree correctly changes to the solid amber needs-attention status. After the user answers and Claude resumes working, the sidebar status remains stuck on needs attention instead of returning to the animated working indicator.
What happened?
The Claude terminal visibly resumes work and continues running tools such as Read, Bash, and Edit. Its terminal title also shows the live working spinner. However, the worktree's sidebar indicator remains a solid amber dot.
Runtime inspection shows the agent's explicit status is still cached as waiting with toolName: "AskUserQuestion", even though later tool activity and terminal output prove that the agent is working.
The stale status can persist across later working activity. Pressing Esc to interrupt the agent and then continuing with a new manual prompt resets the indicator.
How can we reproduce it?
- Open a worktree in Orca and start Claude.
- Give Claude a task that causes it to call
AskUserQuestion. - Confirm the worktree changes to the solid amber needs-attention dot while the question is waiting.
- Answer the question.
- Let Claude continue with another tool call, such as reading or editing a file.
- Observe that Claude is visibly working, but the worktree remains on the solid amber needs-attention dot instead of showing the animated working indicator.
- Press Esc and submit a new prompt; observe that this resets the status.
Expected behavior
The worktree should show needs attention only while Claude is waiting for the user's answer. Once the answer is accepted and subsequent tool work begins, the status should return to the animated working indicator. Genuine tool permission requests should remain sticky until the relevant permission is resolved.
Technical notes
AskUserQuestion is normalized from a Claude PreToolUse event into waiting. The hook server's sticky Claude permission guard currently applies to every Claude waiting → working transition, not only to an actual PermissionRequest.
As a result, the later working event is discarded unless it matches the identity of an approved permission-gated tool. A normal tool following an answered interactive question has a different tool name and execution ID, so the stale AskUserQuestion wait remains cached and continues to outrank the title-derived working state.
The likely correction is to retain sticky behavior only when the originating hook event is PermissionRequest, while allowing an interactive-question wait to clear on the next working hook. Regression coverage should include both:
AskUserQuestion waiting → Read workingchanges to working.PermissionRequest waiting → unrelated Read workingremains waiting.
Scope notes
The issue was reproduced with a local macOS worktree and Claude. The affected hook-server transition is shared by local and remote/SSH ingestion paths, so both paths should preserve the same behavior. No layout, styling, or other visual design change is required.
Activity
nwparker commentedon Jul 11, 2026
will be in next release, usually within 24 hours