- .gitignore: .claude/** 차단 + settings.json·md negation 화이트리스트로 전환. settings.local.json/projects·history·todos·cache 등 머신 전용 파일 누수 차단. - .claude/settings.json: PreToolUse 훅 case 패턴을 첫 토큰 정확 매칭으로 교체. *grep* 과매칭(egrep·git grep·grepl) 및 rg 단독 미매칭 문제 해소. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
76 lines
1.4 KiB
Plaintext
76 lines
1.4 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.js
|
|
.yarn/install-state.gz
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
# [debug auto-capture 2026-05-06] debugCapture 산출물 / dev 서버 stdout
|
|
debug/
|
|
dev.log
|
|
|
|
# local env files
|
|
.env*.local
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
.idea
|
|
.vscode
|
|
|
|
#lock files
|
|
yarn.lock
|
|
package-lock.json
|
|
pnpm-lock.yaml
|
|
certificates
|
|
.ai
|
|
|
|
# [auto-untracked 2026-05-06] 머신별 자동 산출물 / 알 수 없는 파일
|
|
last_updated.log
|
|
claude-501/
|
|
sl
|
|
|
|
# [graphify 2026-05-12] graphify 지식 그래프 산출물 (로컬 캐시, post-commit hook 으로 자동 갱신)
|
|
graphify-out/
|
|
|
|
# [local-only 2026-05-08] 모든 markdown 문서는 git 추적 제외 (로컬 전용)
|
|
# 단, 루트 README.md / CLAUDE.md / AGENTS.md, .agents 및 .claude 하위의 md 는 추적 유지
|
|
*.md
|
|
!/README.md
|
|
!/CLAUDE.md
|
|
!/AGENTS.md
|
|
!.agents/**/*.md
|
|
!.claude/**/*.md
|
|
|
|
# [local-only 2026-05-12] .claude 는 화이트리스트 방식 — settings.json + md 만 추적
|
|
# 머신 전용(settings.local.json, projects/, history.jsonl, todos/, cache/ …) 은 모두 차단
|
|
.claude/**
|
|
!.claude/**/
|
|
!.claude/settings.json
|
|
!.claude/**/*.md
|
|
.claude/settings.local.json
|
|
.claude/worktrees/
|