[BUG] Session rating prompt ("How is Claude doing this session?") forwards answer to model context instead of telemetry

Resolved 💬 2 comments Opened Apr 13, 2026 by dutiona Closed Apr 14, 2026

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?

The interactive "How is Claude doing this session?" rating prompt (options 1: Bad / 2: Fine / 3: Good / 0: Dismiss) is not being intercepted by the harness. When I typed 3 to answer it, the digit was not consumed by the feedback dialog — instead it was forwarded as a regular user message and arrived in the model's conversation turn. The model had no idea what "3" meant and had to ask for clarification, at which point I realized the rating never reached telemetry.

Expected: the rating prompt should be a UI-level interstitial, fully handled inside Claude Code, with the response posted to the telemetry/feedback endpoint and never appended to the conversation history.

What Should Happen?

  1. Numeric input (0/1/2/3) while the rating prompt is displayed should be consumed by the prompt's input handler.
  2. The selected rating should be sent to the feedback/telemetry pipeline.
  3. The prompt should be dismissed from the UI.
  4. Nothing should be appended to the conversation turn sent to the model.

Error Messages/Logs

No error messages. The failure is silent — the input falls through to the normal message path and the model receives a user turn containing only 3.

Steps to Reproduce

  1. Use Claude Code until the session-rating prompt appears organically (it seems to trigger after some number of turns / session time).
  2. When the prompt shows How is Claude doing this session? (optional) 1: Bad 2: Fine 3: Good 0: Dismiss, type one of the digits (e.g. 3) and press Enter.
  3. Observe the model's next response — it will treat 3 as a user message rather than a rating, confirming the digit was not consumed by the prompt handler.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

N/A (see above)

Claude Code Version

2.1.104

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

  • Claude Code version: 2.1.104
  • Installation channel: native installer, updated via claude update
  • OS: Ubuntu 24.04.4 LTS (Noble Numbat)
  • Kernel: Linux 6.17.0-1012-oem x86_64
  • Shell: zsh (/usr/bin/zsh)
  • Terminal: Mobaxterm Remote terminal (TERM=xterm)

Likely root cause: the prompt's input-capture mode is not active when the digit is typed, or the keystroke handler falls through to the message composer instead of being consumed by the feedback modal. A race between prompt display and input readiness would produce exactly this symptom.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗