26 lines
554 B
JSON
Raw Normal View History

{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"deny": [
"Bash(devplace *)",
"Write(data/**)",
"Edit(data/**)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard_production_db.py\"",
"timeout": 10,
"statusMessage": "Checking for production database access"
}
]
}
]
}
}