[2026-05-15] Discord 알림 - 이번 세션 신규 커밋만 전송

- SessionStart 훅: git HEAD를 session_start_sha.txt에 저장
- discord_notify.py: 세션 시작 이후 커밋만 표시 (누적 방지)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 13:59:30 +09:00
parent f4574ce6be
commit 9ea0a5101d
2 changed files with 24 additions and 1 deletions
+11
View File
@@ -2,6 +2,17 @@
"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": [