{ "_description": "너드나비스 조직 공용 Claude Code permission + hook 설정 (SOT). PD님 일괄 승인 원칙 + 자동 동기화 hook(B안, 2026-04-15 PD님 승인). 모든 PC·모든 worktree 동일 적용. 개발실/·기획실/에도 동일 사본 배치 (setup_windows.ps1이 동기 복제).", "permissions": { "allow": [ "Read", "Glob", "Grep", "TodoWrite", "Edit", "Write", "MultiEdit", "NotebookEdit", "Bash", "WebFetch", "WebSearch", "mcp__unity-mcp__*", "mcp__filesystem__*", "mcp__memory__*", "mcp__sqlite__*", "mcp__scheduled-tasks__*", "mcp__Claude_Preview__*" ], "deny": [ "Bash(rm:*)", "Bash(rmdir:*)", "Bash(sudo:*)", "Bash(dd:*)", "Bash(mkfs:*)", "Bash(format:*)", "Bash(chmod 777:*)", "Bash(chown:*)", "Bash(shutdown:*)", "Bash(reboot:*)", "Write(/etc/**)", "Write(/System/**)", "Write(C:/Windows/**)", "Write(C:\\Windows\\**)", "Edit(/etc/**)", "Edit(/System/**)", "Edit(C:/Windows/**)", "Edit(C:\\Windows\\**)" ] }, "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" }, { "type": "command", "command": "bash scripts/agent_sync.sh 2>/dev/null || true" }, { "type": "command", "command": "bash scripts/inbox_scan.sh 2>/dev/null || true" } ] } ], "UserPromptSubmit": [ { "matcher": "", "hooks": [ { "type": "command", "command": "bash scripts/git_fetch_throttle.sh 2>/dev/null || true" } ] } ] } }