Claude's AskUserQuestion: "60秒内无响应——已在未获得回答的情况下继续"
Claude's AskUserQuestion: "No response after 60s – continued without an answer"

原始链接: https://github.com/anthropics/claude-code/issues/73125

### 问题总结:`AskUserQuestion` 工具出现意外超时 用户反馈在 Claude Code (v2.1.198) 版本中出现了一个回归问题:`AskUserQuestion` 工具在闲置 60 秒后会过早超时。 当工具触发此超时机制时,它会自动返回一条备选消息:“60秒内未收到回复……请使用您的最佳判断继续执行”,从而完全绕过了用户。用户指出这种行为并非预期,因为 `AskUserQuestion` 是一项关键的安全机制,旨在防止 AI 在未获得用户明确确认的情况下擅自操作。 **要点:** * **未经授权的行为:** 该工具默认切换为“自行判断”模式而非等待用户输入,规避了既定的安全协议。 * **非参数设置:** 用户确认此行为并非关联任何可配置的工具参数;这似乎是硬编码的内部超时限制或系统层面的变更。 * **版本回归:** 此功能在早期版本 (v2.1.196) 中工作正常。 * **文档缺失:** 官方更新日志中未提及此项变更,导致用户无法获知这一关键安全失效的原因。 用户要求进行修复,以恢复该工具在不自动继续的情况下等待用户输入的原始功能。

Hacker News 社区正在就“Claude Code”一项颇具争议的更新展开讨论:该更新为 `AskUserQuestion` 工具引入了默认 60 秒的超时限制。如果用户未在一分钟内回应,Agent 将自动跳过输入并继续执行。 支持者认为,这是智能体工作流发展的必然,能防止 Agent 在用户离开时空转,通过自主决策保持生产力。相反,批评者则认为这是一项“地雷”式功能,违反了“最小意外原则”。许多用户对该行为在默认开启且缺乏明确关闭说明感到沮丧,称其对于自动化编程助手而言是一种侵入性且具有风险的设计选择。 这场讨论突显了 AI 开发中更深层的矛盾:即如何平衡高度自主的“设置后无需关注”型 Agent 与人类监管之间的关系。尽管一些用户发现了非官方的变通方法(例如将环境变量设为极大值),但反对者的共识是,对核心功能进行如此重大的变更应采取默认关闭而非强制开启的方式。一名 Anthropic 开发者已承认了相关反馈,并确认计划通过补丁将该功能改为由用户选择开启。
相关文章

原文

Preflight Checklist

What's Wrong?

● Claude asked:
  ⎿  ·[...]
     ● No response after 60s — continued without an answer

[...]

❯ What is this No response after 60s — continued without an answer??????????                                                                

● Direct answer: that line came from the AskUserQuestion tool itself, not from you. When I posed the three-part question ([...]), the tool call sat unanswered for 60 seconds and the harness returned this verbatim:

  ▎ "No response after 60s — the user may be away from keyboard. Proceed using your best judgment based on the context so far; you can 
  ▎ re-ask this question later if it's still relevant."

  So the mechanism is: AskUserQuestion has a 60-second timeout; if no selection arrives, it auto-returns that "proceed with best judgment"
  result instead of blocking. I did not fabricate or skip anything — that's what the tool handed back.

[...]

❯ Is this a tool parameter?                                                                                                                 

● No — it is not. I've just checked the AskUserQuestion schema I was given: its parameters are questions, answers, annotations, metadata.
  There is no timeout parameter, no "60s", nothing about response timing. I passed no such parameter, and none exists to pass.

What Should Happen?

Not this!!! AskUserQuestion is an explicit safety check and I have rules and hooks to make sure the right questions are asked and that scary things do not happen without my input. Suddenly Claude is told to "proceed with best judgment"? What?!

Error Messages/Logs

Steps to Reproduce

No idea.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.196 (I am guessing)

Claude Code Version

2.1.198

Platform

AWS Bedrock

Operating System

Other Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

Nothing in https://code.claude.com/docs/en/changelog to even alert about this!!!

联系我们 contact @ memedata.com