claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Claude Code ignores `"attribution": false` in settings.json

Open jkaster opened this issue 3 weeks ago • 3 comments

Bug Description Claude Code ignores "attribution": false in ~/.claude/settings.json

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.62
  • Feedback ID: f5904572-767b-481b-a506-ab8ba09d2f94

Errors

[{"error":"Error: Tool mcp__atlassian__getJiraIssue not found\n    at n29 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2841:5952)\n    at A2 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:21820)\n    at J9 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:38061)\n    at pP (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:49007)\n    at PR (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:85342)\n    at is (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:84348)\n    at ls (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:84174)\n    at Km (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:80666)\n    at r1 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:8794)\n    at Immediate.kg1 [as _onImmediate] (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:732:5108)","timestamp":"2025-12-10T00:36:18.612Z"},{"error":"Error: Tool mcp__atlassian__getJiraIssue not found\n    at n29 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2841:5952)\n    at A2 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:21820)\n    at J9 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:38061)\n    at pP (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:49007)\n    at PR (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:85342)\n    at is (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:84348)\n    at ls (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:84174)\n    at Km (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:80666)\n    at r1 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:8794)\n    at Immediate.kg1 [as _onImmediate] (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:732:5108)","timestamp":"2025-12-10T00:36:18.994Z"},{"error":"Error: Tool mcp__atlassian__getJiraIssue not found\n    at n29 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2841:5952)\n    at A2 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:21820)\n    at J9 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:38061)\n    at pP (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:49007)\n    at PR (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:85342)\n    at is (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:84348)\n    at ls (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:84174)\n    at Km (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:80666)\n    at r1 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:8794)\n    at Immediate.kg1 [as _onImmediate] (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:732:5108)","timestamp":"2025-12-10T00:36:19.035Z"},{"error":"Error: Request was aborted.\n    at Gj.makeRequest (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1283:3940)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-10T00:38:05.500Z"},{"error":"Error: Request was aborted.\n    at Gj.makeRequest (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1283:3940)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-10T00:44:06.604Z"},{"error":"Error: Tool mcp__atlassian__getJiraIssue not found\n    at n29 (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-a

Note: Error logs were truncated.

jkaster avatar Dec 10 '25 01:12 jkaster

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/7666
  2. https://github.com/anthropics/claude-code/issues/7543
  3. https://github.com/anthropics/claude-code/issues/4224

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] avatar Dec 10 '25 01:12 github-actions[bot]

it's also not defined in the spec

https://www.schemastore.org/claude-code-settings.json

it's also not mentioned in the official documentation

jhargis avatar Dec 10 '25 01:12 jhargis

It's documented right in the/release-notes

Version 2.0.62: • Added "(Recommended)" indicator for multiple-choice questions, with the recommended option moved to the top of the list • Added attribution setting to customize commit and PR bylines (deprecates includeCoAuthoredBy) • Fixed duplicate slash commands appearing when ~/.claude is symlinked to a project directory • Fixed slash command selection not working when multiple commands share the same name • Fixed an issue where skill files inside symlinked skill directories could become circular symlinks • Fixed running versions getting removed because lock file incorrectly going stale • Fixed IDE diff tab not closing when rejecting file changes

jkaster avatar Dec 10 '25 01:12 jkaster

@jkaster if it wasn't, we wouldn't be here talking about it. The implementation is non-compliant with the published JSON Schema.

jhargis avatar Dec 10 '25 03:12 jhargis

the correct syntax is either: - "attribution": { "commit": "", "pr": "" } (new setting - to hide attribution) - "includeCoAuthoredBy": false (deprecated but still works)

ltawfik avatar Dec 10 '25 03:12 ltawfik

so.. to recap;

JSON spec updated: ☐ Official Documentation updated: ☐ Comment left in github issues: ☑ Issue closed: ☑

jhargis avatar Dec 10 '25 03:12 jhargis

the correct syntax is either: - "attribution": { "commit": "", "pr": "" } (new setting - to hide attribution) - "includeCoAuthoredBy": false (deprecated but still works)

what to put in the empty string? why it is empty?

OliverRhyme avatar Dec 10 '25 05:12 OliverRhyme

@jhargis Sorry, evidently I misread your reply. I thought you were saying it wasn't a bug. Thanks for your help.

jkaster avatar Dec 10 '25 18:12 jkaster

@OliverRhyme

what to put in the empty string? why it is empty?

I presume the empty strings are what cause the attribution lines to be ommitted.

jkaster avatar Dec 10 '25 18:12 jkaster

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.

github-actions[bot] avatar Dec 18 '25 14:12 github-actions[bot]