2026-04-15 00:37:42 +00:00
{
2026-04-15 10:33:46 +00:00
"_description" : "너드나비스 조직 공용 Claude Code permission + hook 설정 (SOT). PD님 일괄 승인 원칙 + 자동 동기화 hook(B안, 2026-04-15 PD님 승인). 모든 PC·모든 worktree 동일 적용. 개발실/·기획실/에도 동일 사본 배치 (setup_windows.ps1이 동기 복제)." ,
2026-04-15 00:37:42 +00:00
"permissions" : {
"allow" : [
"Read" ,
"Glob" ,
"Grep" ,
"TodoWrite" ,
"Edit" ,
"Write" ,
"MultiEdit" ,
"NotebookEdit" ,
"Bash(git:*)" ,
"Bash(gh:*)" ,
"Bash(ls:*)" ,
"Bash(cat:*)" ,
"Bash(head:*)" ,
"Bash(tail:*)" ,
"Bash(grep:*)" ,
"Bash(rg:*)" ,
"Bash(find:*)" ,
"Bash(echo:*)" ,
"Bash(pwd)" ,
"Bash(cd:*)" ,
"Bash(mkdir:*)" ,
"Bash(touch:*)" ,
"Bash(cp:*)" ,
"Bash(mv:*)" ,
"Bash(diff:*)" ,
"Bash(wc:*)" ,
"Bash(sort:*)" ,
"Bash(uniq:*)" ,
"Bash(tr:*)" ,
"Bash(sed:*)" ,
"Bash(awk:*)" ,
"Bash(xxd:*)" ,
"Bash(printf:*)" ,
"Bash(true)" ,
"Bash(false)" ,
"Bash(powershell.exe:*)" ,
"Bash(powershell:*)" ,
2026-04-15 01:03:26 +00:00
"Bash(fsutil:*)" ,
"Bash(cmd:*)" ,
"Bash(npm:*)" ,
2026-04-15 00:37:42 +00:00
"Bash(npx:*)" ,
"Bash(node:*)" ,
"Bash(python:*)" ,
"Bash(python3:*)" ,
"Bash(pytest:*)" ,
"Bash(dotnet:*)" ,
"WebFetch" ,
"WebSearch"
] ,
"deny" : [
2026-04-15 01:03:26 +00:00
"Bash(rm:*)" ,
"Bash(rmdir:*)" ,
2026-04-15 00:37:42 +00:00
"Bash(sudo:*)" ,
"Bash(dd:*)" ,
"Bash(mkfs:*)" ,
2026-04-15 01:03:26 +00:00
"Bash(format:*)" ,
"Bash(chmod 777:*)" ,
"Bash(chown:*)" ,
"Bash(shutdown:*)" ,
"Bash(reboot:*)" ,
2026-04-15 00:37:42 +00:00
"Write(/etc/**)" ,
"Write(/System/**)" ,
"Write(C:/Windows/**)" ,
2026-04-15 01:03:26 +00:00
"Write(C:\\Windows\\**)" ,
2026-04-15 00:37:42 +00:00
"Edit(/etc/**)" ,
"Edit(/System/**)" ,
2026-04-15 01:03:26 +00:00
"Edit(C:/Windows/**)" ,
"Edit(C:\\Windows\\**)"
2026-04-15 00:37:42 +00:00
]
2026-04-15 10:33:46 +00:00
} ,
"hooks" : {
"SessionStart" : [
{
"matcher" : "" ,
"hooks" : [
{
"type" : "command" ,
"command" : "git fetch origin 2>/dev/null; CHANGES=$(git log --oneline HEAD..origin/main 2>/dev/null | head -10); if [ -n \"$CHANGES\" ]; then echo '📌 [SessionStart] origin/main 변경 검출:'; echo \"$CHANGES\"; echo '→ 권장: git merge origin/main --no-edit'; else echo '✅ [SessionStart] main 동기화 상태'; fi"
2026-04-15 12:21:33 +00:00
} ,
{
"type" : "command" ,
"command" : "bash scripts/inbox_scan.sh 2>/dev/null || true"
2026-04-15 10:33:46 +00:00
}
]
}
] ,
"UserPromptSubmit" : [
{
"matcher" : "" ,
"hooks" : [
{
"type" : "command" ,
"command" : "bash scripts/git_fetch_throttle.sh 2>/dev/null || true"
}
]
}
]
2026-04-15 00:37:42 +00:00
}
}