[BUG] Add path to problematic config file as part of `Found invalid settings files. They will be ignored. Run /doctor for details.` message

Resolved 💬 3 comments Opened Aug 16, 2025 by MarcinOrlowski Closed Aug 20, 2025

I am facing

Found invalid settings files. They will be ignored. Run /doctor for details.

while deploying CC in a worktree. Unfortunately /doctor tells me nothing useful really:

Diagnostics
└ Currently running: npm-local (1.0.83)
└ Path: /usr/bin/node
└ Invoked: /home/<USER>/.claude/local/node_modules/.bin/claude
└ Config install method: local
└ Auto-updates enabled: true

Memory Files · 19.1k tokens
└ User (/home/<USER>/.claude/CLAUDE.md): 0.1k tokens
└ Project (<PATH>/CLAUDE.md): 9.1k tokens
└ Local (<PATH>/CLAUDE.local.md): 0.4k tokens
└ Project (<PATH>/.worktree/0665/CLAUDE.md): 9.1k tokens
└ Local (<PATH>/.worktree/0665/CLAUDE.local.md): 0.4k tokens

Agent Configurations
└ Loaded custom agents: 0

so I have no clue what is wrong. It would be pretty useful if that error message could at least tell which file triggered that warning

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗