AskUserQuestion returns empty answers, commit proceeds without confirmation

Resolved 💬 4 comments Opened Mar 4, 2026 by jcalderita Closed Apr 1, 2026

Description

When using the /commit skill, AskUserQuestion is used to ask the user for confirmation before committing. The user selects an option in the UI, but the tool returns an empty answer:

User has answered your questions: . You can now continue with the user's answers in mind.

The UI shows:

User answered Claude's questions:
  ⎿  

No selection is captured, so the answer is always empty regardless of what the user clicks.

Expected behavior

The selected option (e.g., "Commit", "Edit", "Cancel") should be returned in the tool result so the agent can act on it.

Actual behavior

The tool result contains no answer. The agent receives an empty response and — if it doesn't have explicit safeguards — proceeds with the action without actual user confirmation.

Reproduction

  1. Use a skill or workflow that calls AskUserQuestion with options
  2. Select any option in the UI
  3. Observe that the returned answer is empty

Environment

  • macOS 26 (Darwin 25.3.0)
  • Apple M1 Max
  • Shell: zsh

View original on GitHub ↗

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