diff --git a/src/pinky_daemon/tmux_session.py b/src/pinky_daemon/tmux_session.py index 0fd9a633..2726c72c 100644 --- a/src/pinky_daemon/tmux_session.py +++ b/src/pinky_daemon/tmux_session.py @@ -2927,6 +2927,10 @@ def _build_claude_cmd(self) -> str: if cli_effort and cli_effort != "auto": parts.extend(["--effort", cli_effort]) + # CC 2.1.200 removed AskUserQuestion's auto-continue fallback; headless + # agents now hang indefinitely if the model calls it (#850, #876). + parts.extend(["--disallowedTools", "AskUserQuestion"]) + # Claude Code 2.1.215 does not reliably discover project or local-scope # MCP configuration when the daemon launches its tmux REPL. Pass the # agent workspace config explicitly when present so both fresh and