claude-code - 💡(How to fix) Fix Decouple /feedback from telemetry/nonessential-traffic env vars [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52787Fetched 2026-04-25 06:20:57
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Root Cause

You already have a dedicated mechanism (/feedback) to receive direct, authored, opt-in feedback from users. But the umbrella flag turns it off and reframes it as "nonessential traffic" — as if feedback were a side-effect of telemetry rather than its own channel.

The consequence: you systematically lose feedback from exactly the users most likely to have thought carefully about the product — the privacy-conscious ones. They opted out of passive collection, so the current design treats them as if they opted out of communicating with you at all. That is the opposite of what the /feedback command is for.

It also reads as aggressive: "if you don't let us collect all your data, you don't get to talk to us either." That is almost certainly not the intent, but it is the current behavior.

Code Example

{
  "env": {
    "DISABLE_TELEMETRY": "1",
    "DISABLE_ERROR_REPORTING": "1",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
  }
}

---

/feedback has been disabled via the CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC environment variable
RAW_BUFFERClick to expand / collapse

Problem

CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 silently overrides the dedicated DISABLE_FEEDBACK_COMMAND flag and blocks /feedback, even when the user only opted out of passive telemetry.

These are two different things:

  • Passive telemetry (Statsig, Sentry): data emitted automatically that I did not author.
  • /feedback: content I explicitly type and choose to send.

Coupling them means a privacy-conscious user cannot send product feedback at all — unless they re-enable passive tracking as the price of being allowed to talk to you.

Reproduction

{
  "env": {
    "DISABLE_TELEMETRY": "1",
    "DISABLE_ERROR_REPORTING": "1",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
  }
}

Run /feedback:

/feedback has been disabled via the CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC environment variable

Even though DISABLE_FEEDBACK_COMMAND is explicitly unset.

Why this matters

You already have a dedicated mechanism (/feedback) to receive direct, authored, opt-in feedback from users. But the umbrella flag turns it off and reframes it as "nonessential traffic" — as if feedback were a side-effect of telemetry rather than its own channel.

The consequence: you systematically lose feedback from exactly the users most likely to have thought carefully about the product — the privacy-conscious ones. They opted out of passive collection, so the current design treats them as if they opted out of communicating with you at all. That is the opposite of what the /feedback command is for.

It also reads as aggressive: "if you don't let us collect all your data, you don't get to talk to us either." That is almost certainly not the intent, but it is the current behavior.

Proposal

/feedback should be gated only by DISABLE_FEEDBACK_COMMAND. Invoking a command and typing a message is an explicit, authored user action; it is not "nonessential traffic" and should not be classified as such.

More generally: umbrella flags like NONESSENTIAL_TRAFFIC should affect only automatic/passive channels (telemetry, surveys, auto-update probes). Explicit user-invoked commands remain governed by their own dedicated flags.

This keeps the feedback channel open for users who want to help improve the product without surrendering passive privacy controls to do so.

extent analysis

TL;DR

The CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC flag should be modified to not override the DISABLE_FEEDBACK_COMMAND flag, allowing users to send feedback without enabling passive telemetry.

Guidance

  • Review the current implementation of the CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC flag to understand how it interacts with the DISABLE_FEEDBACK_COMMAND flag.
  • Update the logic to ensure that the /feedback command is only gated by the DISABLE_FEEDBACK_COMMAND flag, and not by the CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC flag.
  • Consider refactoring the umbrella flags to only affect automatic/passive channels, such as telemetry and surveys, and keep explicit user-invoked commands governed by their own dedicated flags.
  • Verify that the change allows users to send feedback without enabling passive telemetry by testing the /feedback command with the CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC flag set.

Example

No code snippet is provided as the issue does not include specific implementation details.

Notes

The proposed change requires careful consideration of the existing flag logic and potential interactions with other features. It is essential to test the updated implementation thoroughly to ensure that it meets the desired behavior.

Recommendation

Apply workaround: Update the CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC flag logic to not override the DISABLE_FEEDBACK_COMMAND flag, as this will allow users to send feedback without enabling passive telemetry, aligning with the intended purpose of the /feedback command.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Decouple /feedback from telemetry/nonessential-traffic env vars [1 participants]