Files
claude-code-best-practice/.gitignore
T
claude[bot] 6864fbd2a6 fix: add hooks log directory to .gitignore to prevent sensitive data leakage
hooks.py logs full hook event data (including tool_input, which may contain
file contents or command arguments) to .claude/hooks/logs/hooks-log.jsonl.
This log file was not excluded from git, creating a risk of accidentally
committing sensitive data such as file contents passed to Write/Edit tools
or command arguments passed to Bash.

Added .claude/hooks/logs/ to .gitignore to prevent accidental commits.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-04-22 18:29:41 +00:00

10 lines
233 B
Plaintext

plan/
.vscode/
# Browser-automation verification artifacts (Playwright MCP / agent screenshots)
.playwright-mcp/
*-check.png
# Hook event logs may contain sensitive tool input data (file contents, command args)
.claude/hooks/logs/