From ccc7607579bb755ea7fea54d35ece058d1235fc0 Mon Sep 17 00:00:00 2001 From: P0w3r223 Date: Wed, 9 Sep 2026 13:19:49 +0200 Subject: [PATCH] chore: ignore the per-machine Claude Code state, not the reviewable half MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These paths are per-machine: a session handoff, one machine's permission grant, and where present the throwaway checkouts a subagent runs in. Untracked and unignored, the first permission grant on any other checkout makes `git status` report a change that is not one — a standing false finding in an instrument whose whole value is that a finding means something. Scoped rather than blanket: `.claude/settings.json` is reviewable configuration and stays trackable if this repository ever adds one. --- .gitignore | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index bc959b7..36e3f6b 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,14 @@ Thumbs.db .codegraph/ # Added by code-review-graph .code-review-graph/ + +# Claude Code, per machine. Not `.claude/` wholesale: `settings.json` is reviewable +# configuration and belongs to whoever checks this repository out, while the paths below +# never do. Left untracked and unignored, the first permission grant on any other checkout +# makes `git status` report a change that is not one — a standing false finding in the one +# instrument whose whole value is that a finding means something. +.claude/sessions/ +.claude/settings.local.json +# Throwaway checkouts an assistant subagent runs in: whole copies of this repository, so +# committing one would nest the tree inside itself. +.claude/worktrees/