From 501cb1fb9a76e86b499a63c6f8cfdde318408cd2 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 3 Sep 2026 23:07:40 +0000 Subject: [PATCH] fix(gitignore): stop ignoring .agents/skills/build-run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The unanchored `build-*/` pattern matched `.agents/skills/build-run/` at any depth, so files under that skill were silently ignored. The existing `!.claude/skills/build-run/` escape hatch went stale when skills moved from `.claude/` to `.agents/`. Anchor the build directory patterns to the repository root instead — every build directory this project creates lives at the root — which fixes the skill and removes the need for a negation rule. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01QUwQxU8nuPrjvVpgag57FZ --- .gitignore | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d5651333..8f8cb343 100644 --- a/.gitignore +++ b/.gitignore @@ -8,10 +8,9 @@ .cache/ compile_commands.json -# Build directories -build/ -build-*/ -!.claude/skills/build-run/ +# Build directories (repo root only) +/build/ +/build-*/ # Toolchain directory (auto-downloaded) toolchain/