claude-code - 💡(How to fix) Fix [BUG] `"showClearContextOnPlanAccept": true` not working as a global setting for new projects started in v2.1.100 [3 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#46353Fetched 2026-04-11 06:22:31
View on GitHub
Comments
3
Participants
2
Timeline
8
Reactions
0
Author
Timeline (top)
labeled ×5commented ×3

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

Ever since v2.1.81 "showClearContextOnPlanAccept": true has been very essential for getting predictable behavior out of Claude Code. Previously, setting it as a global setting in ~/.claude/settings.json applied it to all local instances

I started a new project today under v2.1.100, and the global setting is not affecting local. To be clear, ./.claude/settings.local.json does not have "showClearContextOnPlanAccept" field, so the expected behavior is to pull from global settings. Other projects created before v2.1.100 do this successfully

What Should Happen?

Global settings should be global

Error Messages/Logs

Steps to Reproduce

  1. enable "showClearContextOnPlanAccept": true globally in ~/.claude/settings.json
  2. start a new project by going to a project directory and running 'claude' in terminal
  3. make a plan in planning mode
  4. fail to see Yes, clear context (<#>% used) and auto-accept edits

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

v2.1.100

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

Check the global settings override logic in the Claude Code version v2.1.100 to ensure it properly applies to new projects.

Guidance

  • Verify that the ~/.claude/settings.json file is correctly formatted and contains the "showClearContextOnPlanAccept": true setting.
  • Check if there are any changes in the global settings override logic between versions v2.1.81 and v2.1.100 that could be causing the issue.
  • Try adding the "showClearContextOnPlanAccept" field to the ./.claude/settings.local.json file to see if it overrides the global setting.
  • Investigate if there are any project-specific settings or configurations that could be interfering with the global settings.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue seems to be a regression introduced in version v2.1.100, and the exact cause is unclear. Further investigation is needed to determine the root cause of the problem.

Recommendation

Apply workaround: Add the "showClearContextOnPlanAccept" field to the ./.claude/settings.local.json file as a temporary solution until the global settings override issue is resolved.

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