fix(question-tool): stop silent skips when tool looks unavailable (#620)
This commit is contained in:
@@ -18,7 +18,7 @@ For multiple files (static screenshots tier), upload each file separately.
|
||||
|
||||
## Step 2: Approval Gate
|
||||
|
||||
Present the preview URL to the user for approval. Use the platform's blocking question tool (`AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini).
|
||||
Present the preview URL to the user for approval. Use 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 options 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.
|
||||
|
||||
**Question:** "Evidence preview (1h link): [PREVIEW_URL]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user