From 4829746efc3bbd2f7368130fe82bdcead459fd69 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Fri, 15 May 2026 15:05:41 +0200 Subject: [PATCH] chore: gitignore .claude/worktrees and scheduled_tasks.lock Worktrees are embedded git repos; if any future agent runs `git add -A` they get committed as a submodule pointer, which causes partial-checkout breakage on clones. Always-ignore so the trap isn't reachable. --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 1dc68ce7..32d0649e 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,8 @@ Gemini Starter.rtf tests/.tmp/ tests/reports/* !tests/reports/.gitkeep + +# Claude Code agent scratch — worktrees are embedded repos that, if committed +# via `git add -A`, produce confusing partial-checkout behavior on clones. +.claude/worktrees/ +.claude/scheduled_tasks.lock