Problem
Claude Code adds default fields to .claude/settings.json on startup when they're missing, causing ghost diffs every time Claude starts. This creates unnecessary git noise.
Fields being auto-added
env section with various token/timeout settings
includeCoAuthoredBy: false
Solution
Include all default fields in the committed version to prevent Claude from modifying the file.
Additional Request
Increase all output token limits and timeouts since we're on Claude Pro Max plan:
CLAUDE_CODE_MAX_OUTPUT_TOKENS: Increase from 8192
MAX_MCP_OUTPUT_TOKENS: Increase from 25000
- Other timeout/length limits can be increased accordingly
We have no incentive to economize on token usage with the Pro Max plan.
Problem
Claude Code adds default fields to
.claude/settings.jsonon startup when they're missing, causing ghost diffs every time Claude starts. This creates unnecessary git noise.Fields being auto-added
envsection with various token/timeout settingsincludeCoAuthoredBy: falseSolution
Include all default fields in the committed version to prevent Claude from modifying the file.
Additional Request
Increase all output token limits and timeouts since we're on Claude Pro Max plan:
CLAUDE_CODE_MAX_OUTPUT_TOKENS: Increase from 8192MAX_MCP_OUTPUT_TOKENS: Increase from 25000We have no incentive to economize on token usage with the Pro Max plan.