claude-code - 💡(How to fix) Fix Feature flag (tengu_grey_step2) silently overrides explicit effortLevel setting [1 comments, 2 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#47139Fetched 2026-04-13 05:40:26
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Fix Action

Workaround

Manually set tengu_grey_step2.enabled to false in .claude.json. However, this may be overwritten on the next Growthbook sync.

RAW_BUFFERClick to expand / collapse

Bug

The Growthbook feature flag tengu_grey_step2 (cached in .claude.json) silently overrides the user's explicit "effortLevel": "max" setting in settings.json, resetting effort to auto/medium.

Steps to reproduce

  1. Set "effortLevel": "max" in ~/.claude/settings.json
  2. Observe that tengu_grey_step2 in .claude.json has "enabled": true with messaging about recommending medium effort for Opus
  3. UI shows effort as "auto" despite the explicit user setting

Expected behavior

An explicit user setting in settings.json should take precedence over a server-pushed feature flag. A/B tests should not silently override user preferences - especially ones the user deliberately configured.

Workaround

Manually set tengu_grey_step2.enabled to false in .claude.json. However, this may be overwritten on the next Growthbook sync.

Environment

  • Windows 11 Enterprise
  • Claude Code (VS Code extension)
  • Model: opus[1m]

extent analysis

TL;DR

Manually setting tengu_grey_step2.enabled to false in .claude.json may temporarily resolve the issue, but a more permanent solution is needed to ensure user settings take precedence over feature flags.

Guidance

  • Verify that the tengu_grey_step2 feature flag is indeed the cause of the override by checking the .claude.json file for its current state and the settings.json for the explicit user setting.
  • Check for any existing logic in the code that handles the precedence of user settings over feature flags and ensure it is correctly implemented.
  • Consider adding a check to prevent feature flags from overriding explicit user settings, potentially by introducing a new configuration option or modifying the existing logic to prioritize user preferences.
  • Review the Growthbook sync process to understand how it updates the .claude.json file and see if there's a way to prevent it from overwriting manual changes to feature flags.

Example

No code example is provided due to the lack of specific code details in the issue.

Notes

The provided workaround may not be permanent due to the Growthbook sync overwriting manual changes. A more robust solution would involve modifying the code to respect user settings over feature flags.

Recommendation

Apply workaround: Manually set tengu_grey_step2.enabled to false in .claude.json as a temporary fix, and then work on implementing a code change to prioritize user settings over feature flags to prevent future overrides.

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…

FAQ

Expected behavior

An explicit user setting in settings.json should take precedence over a server-pushed feature flag. A/B tests should not silently override user preferences - especially ones the user deliberately configured.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING