发布

  • fix(core): add .claude/settings.local.json to .gitignore (#34870)

    frostbyte_neo 发布于 2026-03-16 21:11:27 +00:00

    Current Behavior

    When configuring AI agents via nx polygraph, a
    .claude/settings.local.json file is created containing user-specific
    settings. This file is not gitignored by Nx, so it can accidentally be
    committed to the repository.

    Expected Behavior

    .claude/settings.local.json should be gitignored by default, similar
    to how .claude/worktrees is already handled.

    Changes

    • Added a migration that adds .claude/settings.local.json to existing
      workspaces' .gitignore
    • Updated all three .gitignore templates so new workspaces include it
      from the start
    • Follows the same pattern as the existing
      add-claude-worktrees-to-git-ignore migration
    下载附件