fix(question-tool): stop silent skips when tool looks unavailable (#620)
This commit is contained in:
@@ -37,7 +37,7 @@ These local branches have been deleted from the remote:
|
||||
Delete all of them? (y/n)
|
||||
```
|
||||
|
||||
Wait for the user's answer using the platform's question tool (e.g., `AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini). If no question tool is available, present the list and wait for the user's reply before proceeding.
|
||||
Wait for the user's answer using the platform's blocking question tool: `AskUserQuestion` in Claude Code (call `ToolSearch` with `select:AskUserQuestion` first if its schema isn't loaded), `request_user_input` in Codex, `ask_user` in Gemini. Fall back to presenting the list in chat only when no blocking tool exists in the harness or the call errors (e.g., Codex edit modes) — not because a schema load is required. Never silently skip the question.
|
||||
|
||||
This is a yes-or-no decision on the entire list -- do not offer multi-selection or per-branch choices.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user