chore: ignore .claude/ #6

Merged
rcsheets merged 1 commit from chore/gitignore-claude into main 2026-07-20 10:14:10 +00:00
Owner

Claude Code keeps local state in .claude/, including git worktrees -- a
second checkout of this module living inside the repo tree. Untracked but
committable is the wrong state for it: nothing stops it being swept into a
commit, and CI's gofmt -l . would then fail on a checkout of files that were
never meant to ship.

Ignoring it only keeps it out of commits. Tools that walk the filesystem
rather than the index -- gofmt -l ., repo-wide seds -- still reach it, so a
local gofmt -l . will keep reporting those files. That is a separate problem
and this does not pretend to solve it.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Claude Code keeps local state in .claude/, including git worktrees -- a second checkout of this module living inside the repo tree. Untracked but committable is the wrong state for it: nothing stops it being swept into a commit, and CI's gofmt -l . would then fail on a checkout of files that were never meant to ship. Ignoring it only keeps it out of commits. Tools that walk the filesystem rather than the index -- gofmt -l ., repo-wide seds -- still reach it, so a local gofmt -l . will keep reporting those files. That is a separate problem and this does not pretend to solve it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
chore: ignore .claude/
All checks were successful
ci / check (pull_request) Successful in 45s
57f1c1cce5
Claude Code keeps local state in .claude/, including git worktrees -- a
second checkout of this module living inside the repo tree. Untracked but
committable is the wrong state for it: nothing stops it being swept into a
commit, and CI's gofmt -l . would then fail on a checkout of files that were
never meant to ship.

Ignoring it only keeps it out of commits. Tools that walk the filesystem
rather than the index -- gofmt -l ., repo-wide seds -- still reach it, so a
local gofmt -l . will keep reporting those files. That is a separate problem
and this does not pretend to solve it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
rcsheets deleted branch chore/gitignore-claude 2026-07-20 10:14:10 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
brooktrails/slp!6
No description provided.