From 58ba18f9f8b33fa4d3e30caf1a08bbacd7ee6507 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Thu, 17 Sep 2026 22:40:03 -0500 Subject: [PATCH] chore: ignore per-developer agent directories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .claude/ and .serena/ hold local settings and tool locks, one directory per assistant, and both turned up as untracked noise in every status. Nothing in either is shared configuration — .serena/ ships its own .gitignore, and the only .claude/ file with a stable name is settings.local.json. Blanket-ignored rather than enumerated, with a comment naming the one case that would need revisiting: a repository-wide .claude/settings.json is a real convention, and committing one later takes a negation line here. No such file exists today, so this does not pre-build a rule for it. Signed-off-by: Diego Resendez --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index c7b69f4..ce6697a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,13 @@ # Local specs & plans — not committed .specs/ +# Per-developer agent state: local settings and tool locks, one directory per assistant. Nothing +# here is shared configuration — `.serena/` even ships its own .gitignore. A repository-wide +# `.claude/settings.json` is a real convention and would need a `!` line here to be committable; +# none exists today, so this stays a blanket ignore rather than a rule for a file nobody wrote. +.claude/ +.serena/ + # Node node_modules/ dist/