Skip to content

fix: instantiate all Claude Code settings fields to prevent ghost diffs #1001

@atxtechbro

Description

@atxtechbro

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions