[BUG] /doctor reports setup issue for Remote Control when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set intentionally

Open 💬 0 comments Opened Jul 1, 2026 by nlebedenco

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?

Description

When CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set, /doctor reports a setup
issue for Remote Control even when the user does not use that feature.

## Observed behavior

The status bar shows ⚠ 1 setup issue: settings · /doctor.

The Remote Control section reports:

  • ✗ Feature-flag evaluation enabled (disabled by CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC)
  • ✗ tengu_ccr_bridge gate (no server response this session)

The diagnostic message reads:
> Remote Control requires feature-flag evaluation, which is disabled because
> CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. Unset it (or run in a shell
> without it) to use Remote Control.

What Should Happen?

Expected behavior

If Remote Control is not in use and the user has deliberately restricted
non-essential traffic, /doctor should either:

  • Not flag this as a setup issue, or
  • Provide a way to acknowledge/suppress the check for features the user does not need

Error Messages/Logs

## Context

  `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` is a documented environment variable.
  Users who set it are opting out of non-essential traffic intentionally. Treating
  its effect as a setup issue creates noise and implies a misconfiguration where
  none exists.

Steps to Reproduce

Steps to reproduce

  1. Set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 in the environment
  2. Run /doctor

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.175 (linux-x64, native)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗