Problem
.claude/ (Claude Code agent worktrees + local settings) shows up as untracked in git status and can be accidentally staged. Agent worktree isolation writes .claude/worktrees/…, and a stray .DS_Store lands there too.
Fix
Add .claude/ to .gitignore.
Acceptance criteria
.claude/ is gitignored.
git status stays clean after agent/worktree runs.
Problem
.claude/(Claude Code agent worktrees + local settings) shows up as untracked ingit statusand can be accidentally staged. Agent worktree isolation writes.claude/worktrees/…, and a stray.DS_Storelands there too.Fix
Add
.claude/to.gitignore.Acceptance criteria
.claude/is gitignored.git statusstays clean after agent/worktree runs.