You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"env": {
"PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
},
"permissions": {},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "agent",
"if": "Bash(git commit*)",
"prompt": "git commit 직전 코드 리뷰 게이트. 스테이징된 변경(`git diff --cached`)만 대상으로 두 가지 리뷰를 수행한다. (1) ponytail-review: 과도한 엔지니어링 — 재발명된 표준 라이브러리, 불필요한 의존성/추상화, 죽은 유연성, 삭제 가능한 코드. (2) security-review: 인증/인가, 사용자 입력 검증, 시크릿 노출, 주입(SQL/명령/경로), 안전하지 않은 역직렬화 등 보안 취약점. 심각도 high 이상 문제가 있을 때만 차단하고(block), 각 항목을 `위치 - 문제 - 수정안` 한 줄 형식의 한국어로 보고한다. 그 외에는 통과시킨다. $ARGUMENTS",
"timeout": 180,
"statusMessage": "ponytail-review + security-review 실행 중"
}
]
}
]
},
"language": "korean",
"effortLevel": "medium",
"theme": "dark-ansi",
"useCtrlEnterToSend": false,
"tui": "fullscreen"
}