BurningTimesAi/.claude/settings.json.bak_20260420_...

220 lines
6.1 KiB
Plaintext

{
"_description": "너드나비스 조직 공용 Claude Code permission + hook 설정 (SOT). PD님 일괄 승인 원칙 + 자동 동기화 hook. 단일 세션 + Agent 병렬 호출 구조. 모든 PC 동일 적용. 루트 단일 관리.",
"permissions": {
"defaultMode": "acceptEdits",
"allow": [
"Read",
"Glob",
"Grep",
"TodoWrite",
"Edit",
"Write",
"MultiEdit",
"NotebookEdit",
"Skill",
"Bash",
"Bash(git *)",
"Bash(ls *)",
"Bash(cat *)",
"Bash(echo *)",
"Bash(mkdir *)",
"Bash(pwd)",
"Bash(which *)",
"Bash(bash *)",
"Bash(powershell *)",
"Bash(node *)",
"Bash(npm *)",
"Bash(npx *)",
"Bash(python *)",
"Bash(python3 *)",
"Bash(pip *)",
"Bash(uv *)",
"Bash(uvx *)",
"Bash(dotnet *)",
"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": {
"PreToolUse": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "bash scripts/auto_approve.sh"
}
]
}
],
"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\"; git merge origin/main --no-edit 2>/dev/null && echo '✅ 자동 병합 완료' || echo '⚠️ 자동 병합 실패 (충돌 발생 — 수동 해결 필요)'; else echo '✅ [SessionStart] main 동기화 상태'; fi"
},
{
"type": "command",
"command": "bash scripts/live_junction_ensure.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/memory_junction_ensure.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/sync_memory_repo_to_central.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/audit_junction_ensure.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/sync_audit_repo_to_central.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/inbox_scan.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/change_digest.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/live_session_load.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/pm_context_restore.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/recent_feedback_brief.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/audit_pattern_analyzer.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/verify_log_paths.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "git config core.hooksPath scripts/git-hooks 2>/dev/null || true"
}
]
}
],
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "bash scripts/sync_signal.sh check 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/git_fetch_throttle.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/hold_watch.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/live_junction_ensure.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/audit_junction_ensure.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/live_inject.sh 2>/dev/null || true"
}
]
}
],
"PostToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "bash scripts/postuse_log_reminder.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/auditor_guard.sh 2>/dev/null || true"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash scripts/auditor_guard.sh 2>/dev/null || true"
}
]
},
{
"matcher": "Task",
"hooks": [
{
"type": "command",
"command": "bash scripts/auditor_call_log.sh 2>/dev/null || true"
}
]
}
],
"SessionEnd": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "bash scripts/session_end_audit.sh 2>/dev/null || true"
},
{
"type": "command",
"command": "bash scripts/verify_references.sh 2>/dev/null || true"
}
]
}
]
}
}