- CLAUDE.md: 프로젝트 실제 구조(com.snp.batch) 및 기술 스택 반영 - settings.json: hooks 섹션 추가 (SessionStart, PreCompact, PostToolUse) - settings.json: chmod, scripts 실행 권한 추가 - workflow-version.json: v1.6.1 초기 생성 - .githooks: 서버 최신 버전으로 동기화 (commit-msg, post-checkout, pre-commit) - frontend/.gitignore: 프론트엔드 빌드 산출물 제외 패턴 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
90 lines
2.0 KiB
JSON
90 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"env": {
|
|
"CLAUDE_BOT_TOKEN": "ac15488ad66463bd5c4e3be1fa6dd5b2743813c5"
|
|
},
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(./mvnw *)",
|
|
"Bash(mvn *)",
|
|
"Bash(java -version)",
|
|
"Bash(java -jar *)",
|
|
"Bash(git status)",
|
|
"Bash(git diff *)",
|
|
"Bash(git log *)",
|
|
"Bash(git branch *)",
|
|
"Bash(git checkout *)",
|
|
"Bash(git add *)",
|
|
"Bash(git commit *)",
|
|
"Bash(git pull *)",
|
|
"Bash(git fetch *)",
|
|
"Bash(git merge *)",
|
|
"Bash(git stash *)",
|
|
"Bash(git remote *)",
|
|
"Bash(git config *)",
|
|
"Bash(git rev-parse *)",
|
|
"Bash(git show *)",
|
|
"Bash(git tag *)",
|
|
"Bash(curl -s *)",
|
|
"Bash(sdk *)",
|
|
"Bash(chmod +x *)",
|
|
"Bash(bash .claude/scripts/*)"
|
|
],
|
|
"deny": [
|
|
"Bash(git push --force*)",
|
|
"Bash(git push -f *)",
|
|
"Bash(git push origin --force*)",
|
|
"Bash(git reset --hard*)",
|
|
"Bash(git clean -fd*)",
|
|
"Bash(git checkout -- .)",
|
|
"Bash(git restore .)",
|
|
"Bash(rm -rf /)",
|
|
"Bash(rm -rf ~)",
|
|
"Bash(rm -rf .git*)",
|
|
"Bash(rm -rf /*)",
|
|
"Read(./**/.env)",
|
|
"Read(./**/.env.*)",
|
|
"Read(./**/secrets/**)",
|
|
"Read(./**/application-local.yml)",
|
|
"Read(./**/application-local.properties)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "compact",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash .claude/scripts/on-post-compact.sh",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash .claude/scripts/on-pre-compact.sh",
|
|
"timeout": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash .claude/scripts/on-commit.sh",
|
|
"timeout": 15
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|