From e3b6a15716630bf2dcc919894ac7dedd0578d320 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Wed, 24 Jun 2026 13:37:37 -0700 Subject: [PATCH] chore: ignore .claude as a symlink, not only a directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the trailing slash from the `.claude` ignore rule. A trailing-slash pattern matches only a real directory, so it missed a `.claude` symlink (a local convenience pointing into `.agents`), leaving it perpetually untracked. A bare `.claude` matches a directory or a symlink, which is what the template intends — never commit local Claude state regardless of how `.claude` is materialized. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d1a3646..172021c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,10 @@ # entries below are local maintainer tooling and runtime state, not template # content. `.codex-security/` is Codex scan output; `codex-security-scan` is a # local scanning skill that lives under the otherwise-committed `.agents/skills`. -.claude/ +# `.claude` has no trailing slash so it matches whether it is a directory (the +# usual case) or a symlink into `.agents` (a local convenience) — a trailing +# slash would match only a real directory. +.claude .journal/ .wt/ .codex-security/