From 1e0c97d07d8a4647563a519ba15c808915f03b01 Mon Sep 17 00:00:00 2001 From: Joris Wouter Jonkers Date: Thu, 27 Aug 2026 11:45:02 +0200 Subject: [PATCH] fix: remove an accidentally committed .claude gitlink My cross-repo context bump (#39) used a script that does 'git add -A', which swept the untracked .claude/worktrees/generic-500 directory into the commit. It went in as a gitlink - mode 160000 - because that directory contains its own .git file. A gitlink with no matching .gitmodules entry breaks recursive checkout: fatal: No url found for submodule path 'services/auth-api/.claude/worktrees/generic-500' Once the workspace pointer advanced to that commit, the estate's governance-audit workflow started failing at checkout, because it clones the workspace with --recurse-submodules. Removes the gitlink and gitignores .claude/, which is local Claude Code session state and should never have been committable here. Note agent-kit deliberately commits .claude/ - it ships agents, commands, hooks and skills - so this belongs in each repo's .gitignore rather than the shared template. Co-Authored-By: Claude Opus 5 (1M context) --- .claude/worktrees/generic-500 | 1 - .gitignore | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 160000 .claude/worktrees/generic-500 diff --git a/.claude/worktrees/generic-500 b/.claude/worktrees/generic-500 deleted file mode 160000 index b547187..0000000 --- a/.claude/worktrees/generic-500 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b54718739faef52a147e8434892cdc68d1bd209d diff --git a/.gitignore b/.gitignore index d93375c..4da80ad 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,6 @@ templates/**/.specify/ templates/**/.claude/commands/speckit*.md !gradle/wrapper/gradle-wrapper.jar + +# Local Claude Code session state; never committed. +.claude/