claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Cannot disable the buggy Interactive Question Tool

Open apolopena opened this issue 3 months ago • 9 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I consider it a bug to roll out an experimental UI change that users cannot disable. The new Interactive Question Tool introduced as per the CHANGELOG in version 2.0.21 breaks my workflow quite a bit for multiple reasons.

Issues with the Interactive Question Tool:

  1. Loss of flexibility: I cannot answer questions freely - I'm locked into what is essentially a linear multiple-choice session
  2. Truncated content in subagents: When used with AskUserQuestion in a subagent, the subagent's question list is truncated so I can't even see the description of my options in the UI

What Should Happen?

A critical workflow UI change that severely hinders user workflows should be able to be disabled via /config settings.

Error Messages/Logs

N/A - This is a UI/UX issue, not a technical error

Steps to Reproduce

  1. Create or use a subagent that calls AskUserQuestion with multiple questions
  2. Dispatch the subagent
  3. Interactive Question Tool UI appears with forced multiple-choice interface
  4. Attempt to provide free-form text response - cannot do so, locked into selecting from predetermined options only
  5. Observe truncated question descriptions and inability to freely navigate/answer

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

v2.0.26

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

apolopena avatar Oct 24 '25 16:10 apolopena

Anyone find a way to fix this with prompts somehow? To me it feels like a harness rendering issue so I haven't spent the time to try.

apolopena avatar Oct 24 '25 16:10 apolopena

The workaround is to just instruct the model to not use that interface moving forward in the current session, basically bypassing AskUserQuestion tool. This is still a bug though, as I should be able to use that tool without the buggy interface.

apolopena avatar Nov 04 '25 17:11 apolopena

I agree with this issue. It is a pain to have to instruct disabling this tool every session.

ketema avatar Nov 04 '25 21:11 ketema

Dear Anthropic engineers who work on Claude Code, AskUserQuestion is an unfinished feature.

Specifically, it doesn't handle narrow terminals, truncating its output and cutting off the top bar with the questions. It also doesn't handle resizing the terminal, not re-rendering. Any truncated output is lost.

But you know what's most annoying of all, more annoying than any UX or UI issue?

Claude puts things in AskUserQuestion that are answered in the prompt. It gets so excited to use the new tool that it redundantly asks for answers to things I already anticipated and answered, forcing me to read more text, find the arrow keys, and sometimes type out "please reread the prompt" as I have lost confidence that it knows what it was asked to do.

To others facing issues with this tool just ban it. In .claude/settings.json or wherever you prefer to put your configuration, add:

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "AskUserQuestion",
        "hooks": [
          {
            "type": "command",
            "command": "echo 'BLOCKED: The AskUserQuestion tool is banned. Please ensure you do not already have answers to these questions, then state what you would have asked. If you need to ask multiple questions, prefer a numbered list.' >&2; exit 2"
          }
        ]
      }
    ]
  }
}

Note the exit 2 which will present standard error to Claude Code as described in https://code.claude.com/docs/en/hooks#exit-code-2-behavior

I agree with OP that this feature constitutes a regression.

cadamsdotcom avatar Nov 13 '25 02:11 cadamsdotcom

Hi I cannot repro this, could you provide a screenshot and or transcript (using /export) of an example?

ThariqS avatar Nov 21 '25 20:11 ThariqS

@ThariqS Thank you for taking a look at this. It looks like this portion of the bug has been addressed:

  • Truncated content in subagents: When used with AskUserQuestion in a subagent, the subagent's question list is
  • truncated so I can't even see the description of my options in the UI

However The issue remains that the AskUserQuestion tool should not force the user into a scenario when they MUST use this UI.

We can illustrate the time and flexibility lost by running through the forced Ui with a prompt like this:

I need help making several architectural decisions. Please use the AskUserQuestion tool to ask me these questions with detailed context:

  1. Which authentication strategy should we use?
     - Option A: "JWT tokens with RS256 signing, refresh token rotation, short-lived access tokens (15min), HttpOnly cookies for refresh
  tokens, CSRF protection via double-submit cookie pattern, and automatic token refresh on 401 responses"
     - Option B: "OAuth 2.0 authorization code flow with PKCE extension, external identity provider integration (Auth0/Okta/Cognito), social
  login support (Google/GitHub/Microsoft), MFA enforcement, and delegated user management with SSO capabilities"
     - Option C: "API key authentication with HMAC request signing, rate limiting per key, key rotation policies, IP allowlisting, scope-based
  permissions, and audit logging for all key usage with automatic revocation on suspicious activity"
     - Option D: "Session-based authentication with Redis session store, sliding expiration windows, concurrent session limits, device
  fingerprinting, remember-me functionality with separate long-lived tokens, and geographic anomaly detection"

  2. What database architecture should we implement?
     - Option A: "Single PostgreSQL instance with read replicas, connection pooling via PgBouncer, automated failover using Patroni, WAL
  archiving to S3, point-in-time recovery capabilities, and scheduled full backups with 30-day retention"
     - Option B: "Multi-region PostgreSQL cluster with Citus for horizontal sharding, distributed transactions, automatic rebalancing,
  cross-region replication with conflict resolution, and geographic data locality for GDPR compliance"
     - Option C: "MongoDB with replica sets, sharded collections based on tenant ID, change streams for real-time updates, aggregation
  pipelines for analytics, text search indexes, and automated backup to Azure Blob Storage"
     - Option D: "DynamoDB with on-demand capacity, global tables for multi-region writes, DynamoDB Streams for change data capture, GSI/LSI
  for flexible querying, and integration with Lambda for data transformation pipelines"

  3. Which CI/CD platform should we adopt?
     - Option A: "GitHub Actions with self-hosted runners, matrix builds for multiple platforms, Docker layer caching, artifact storage,
  environment-specific deployment workflows, manual approval gates, and Slack notifications for build status"
     - Option B: "GitLab CI with Auto DevOps, Kubernetes integration, review apps for every merge request, security scanning
  (SAST/DAST/dependency scanning), container registry, package registry, and built-in feature flag management"
     - Option C: "CircleCI with orbs for reusable config, parallelism across 10x containers, test splitting by timing data, SSH debugging into
  failed builds, workflow orchestration, approval jobs, and scheduled pipeline execution"
     - Option D: "Jenkins with declarative pipelines, Blue Ocean UI, distributed builds across agent pools, artifact archival, JUnit test
  reporting, code coverage tracking, and integration with SonarQube for quality gates"

Then force the model to ask the same question with using the AskUserQestion Tool:

You are forbidden to use the Ask User Question tool. The UI that it creates is unacceptable.

Then ask the same question:

1. Which authentication strategy should we use?
     - Option A: "JWT tokens with RS256 signing, refresh token rotation, short-lived access tokens (15min), HttpOnly cookies for refresh
  tokens, CSRF protection via double-submit cookie pattern, and automatic token refresh on 401 responses"
     - Option B: "OAuth 2.0 authorization code flow with PKCE extension, external identity provider integration (Auth0/Okta/Cognito), social
  login support (Google/GitHub/Microsoft), MFA enforcement, and delegated user management with SSO capabilities"
     - Option C: "API key authentication with HMAC request signing, rate limiting per key, key rotation policies, IP allowlisting, scope-based
  permissions, and audit logging for all key usage with automatic revocation on suspicious activity"
     - Option D: "Session-based authentication with Redis session store, sliding expiration windows, concurrent session limits, device
  fingerprinting, remember-me functionality with separate long-lived tokens, and geographic anomaly detection"

  2. What database architecture should we implement?
     - Option A: "Single PostgreSQL instance with read replicas, connection pooling via PgBouncer, automated failover using Patroni, WAL
  archiving to S3, point-in-time recovery capabilities, and scheduled full backups with 30-day retention"
     - Option B: "Multi-region PostgreSQL cluster with Citus for horizontal sharding, distributed transactions, automatic rebalancing,
  cross-region replication with conflict resolution, and geographic data locality for GDPR compliance"
     - Option C: "MongoDB with replica sets, sharded collections based on tenant ID, change streams for real-time updates, aggregation
  pipelines for analytics, text search indexes, and automated backup to Azure Blob Storage"
     - Option D: "DynamoDB with on-demand capacity, global tables for multi-region writes, DynamoDB Streams for change data capture, GSI/LSI
  for flexible querying, and integration with Lambda for data transformation pipelines"

  3. Which CI/CD platform should we adopt?
     - Option A: "GitHub Actions with self-hosted runners, matrix builds for multiple platforms, Docker layer caching, artifact storage,
  environment-specific deployment workflows, manual approval gates, and Slack notifications for build status"
     - Option B: "GitLab CI with Auto DevOps, Kubernetes integration, review apps for every merge request, security scanning
  (SAST/DAST/dependency scanning), container registry, package registry, and built-in feature flag management"
     - Option C: "CircleCI with orbs for reusable config, parallelism across 10x containers, test splitting by timing data, SSH debugging into
  failed builds, workflow orchestration, approval jobs, and scheduled pipeline execution"
     - Option D: "Jenkins with declarative pipelines, Blue Ocean UI, distributed builds across agent pools, artifact archival, JUnit test
  reporting, code coverage tracking, and integration with SonarQube for quality gates"

The user can now simply answer: 1. a 2 b 3 c, thus avoiding the forced, time consuming linear flow imposed by the AskUserQuestion tool.

All we are asking for here is the we have a supported (not hacked) way to DISABLE this forced UI in our settings.

apolopena avatar Nov 22 '25 18:11 apolopena

I came to add, when running claude with the "-p" option the questions tool should be automatically disabled. You can't provide a response in this mode so all it does is break autonomy and my scripts which had been working fine.

dabstractor avatar Dec 18 '25 11:12 dabstractor

Bump. I also do not like the questions feature in its current form, as it grays out the text behind the question on which the question is based, making it harder to read. A toggle would be greatly appreciated. This feature breaks the otherwise smooth and refined flow.

misha-sunborn avatar Dec 19 '25 13:12 misha-sunborn

We want it to be turned off by passing a flag for those that can use voice only. Don't forget aria people!

Morriz avatar Dec 24 '25 13:12 Morriz