52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "startup|resume|clear",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash",
|
|
"args": ["${CLAUDE_PROJECT_DIR}/.claude/hooks/session-brief.sh"],
|
|
"timeout": 30,
|
|
"statusMessage": "저장소 상태 브리핑…"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash",
|
|
"args": ["${CLAUDE_PROJECT_DIR}/.claude/hooks/verify-on-stop.sh"],
|
|
"timeout": 420,
|
|
"statusMessage": "dotnet test 검증 중…"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(dotnet build *)",
|
|
"Bash(dotnet test *)",
|
|
"Bash(dotnet restore *)",
|
|
"Bash(dotnet run *)",
|
|
"Bash(dotnet format *)",
|
|
"Bash(dotnet --*)",
|
|
"Bash(git status *)",
|
|
"Bash(git diff *)",
|
|
"Bash(git log *)",
|
|
"Bash(git show *)",
|
|
"Bash(git branch *)"
|
|
],
|
|
"deny": [
|
|
"Read(.env)",
|
|
"Edit(.env)",
|
|
"Write(.env)"
|
|
]
|
|
}
|
|
}
|