chore(gitignore): ignore Claude Code sandbox phantom files

bwrap sandbox creates 0-byte read-only bind mount stubs in CWD.
Known bug: https://github.com/anthropics/claude-code/issues/17087
Global gitignore handles dotfiles; repo gitignore handles git-internal names.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
wassname
2026-03-02 14:10:02 +08:00
parent 9dbbedcb5c
commit 42013df324
+9
View File
@@ -10,3 +10,12 @@ system-prompts/*.diff.html
config.json
.claude/
docs/
# Claude Code sandbox phantom files (repo-specific, too generic for global ignore)
# https://github.com/anthropics/claude-code/issues/17087
.gitmodules
HEAD
config
hooks
objects
refs