9ea0a5101d
- SessionStart 훅: git HEAD를 session_start_sha.txt에 저장 - discord_notify.py: 세션 시작 이후 커밋만 표시 (누적 방지) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
762 B
JSON
29 lines
762 B
JSON
{
|
|
"dangerouslySkipPermissions": true,
|
|
"instructions": "코드만 출력, 설명은 주석으로. 수정은 변경된 함수/diff 단위만. 답변 마지막에 1줄 요약. 상세 설명은 요청 시에만. 수정 후 반드시 git commit/push.",
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "git rev-parse HEAD > .claude/session_start_sha.txt 2>nul || echo > .claude/session_start_sha.txt",
|
|
"shell": "powershell"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python .claude/discord_notify.py",
|
|
"timeout": 30
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|