aglinxinyuan opened a new issue, #4981: URL: https://github.com/apache/texera/issues/4981
## Summary Claude Code writes local-only artifacts (settings, launch configs, worktree pointers) under `.claude/` in the repo root. Nothing in `.gitignore` excludes that directory today, so it's easy to accidentally commit them — and we already have. [c1b6ae0543](https://github.com/apache/texera/commit/c1b6ae0543042578dfd9d227fa67b11f51dc4244) removed four such files but didn't add an ignore rule, so the next accidental `git add` brings them right back. ## What lives under `.claude/` | Path | What it is | Should be tracked? | |---------------------------------|-----------------------------------------------|--------------------| | `.claude/settings.local.json` | Per-user Claude Code settings | No | | `.claude/launch.json` | Per-user launch config | No | | `.claude/run-preview-worktree.js` | Per-user helper script | No | | `.claude/worktrees/<id>` | Pointer files for local git worktrees | No | Root-level `CLAUDE.md` (which delegates to `AGENTS.md`) is **not** under `.claude/` and stays tracked. ## Before → after ``` Before: After: .gitignore .gitignore agent-service/CLAUDE.md agent-service/CLAUDE.md (no rule for .claude/) ──► .claude/ # next accidental commit: # next accidental commit: $ git add . $ git add . $ git status $ git status new file: .claude/settings.json (clean — ignored) ``` ## Proposal Add `.claude/` to `.gitignore`. PR follows. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
