Separate user settings from app-created settings

Status Fixed / completed
Maintainer reply None cached
Activity 8 comments · opened Jul 30, 2025 · closed Aug 10, 2025

I use NixOS which makes ~/.claude/settings.json read only because of how the configuration is handled. I noticed in 1.0.64 you introduced a setting feedbackSurveyState which writes itself onto the settings.json file and will throw an error when it attempts a write on the file.

Can you please adjust your settings to separate user-driven settings from application-driven settings. This is a similar separation in Linux, how user-driven settings will often go into ~/.config while application-driven settings go into /.local/share.

This will also affect anybody who uses settings as dotfiles, although more insidiously as it won't error on them but your feedback state variable will be wiped every time they refresh their settings files.

View original on GitHub ↗

8 Comments

rcdailey · 1 year ago

This change is horrible. I have a dotfiles repo (managed with chezmoi) and I am constantly having to overwrite this file now because of the modifications.

sfearl1 · 1 year ago

This is forcing the vscode ide integration to drop the connection. Needs to be resolved asap.

flowernotfound · 1 year ago

I find the automatic changes to settings.json problematic. They create unwanted diffs in version-controlled environments.

fred-drake · 1 year ago

A workaround for this to help people with dotfiles or Nix configurations is to add this to your settings:

"feedbackSurveyState": {
  "lastShownTime": 2069451551000
}

This sets the last shown time to somewhere in the year 2035. Definitely not what they would probably want, but it will allow you to continue with your own settings until it changes!

fred-drake · 1 year ago

They appear to have removed feedbackSurveyState from the configuration as of 1.0.66.

rcdailey · 1 year ago

I appreciate the update Fred. I found that the workaround you shared wasn't working for me; not sure why. Also unrelated but it's frustrating that the changelog.md isn't updated before they publish new versions of the software.

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/1455
  2. https://github.com/anthropics/claude-code/issues/2350
  3. https://github.com/anthropics/claude-code/issues/764

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.