52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh",
|
|
"type": "command"
|
|
}
|
|
],
|
|
"matcher": ""
|
|
},
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": "bd prime --hook-json",
|
|
"type": "command"
|
|
}
|
|
],
|
|
"matcher": ""
|
|
}
|
|
]
|
|
},
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(cargo build:*)",
|
|
"Bash(cargo test:*)",
|
|
"Bash(cargo clippy:*)",
|
|
"Bash(cargo fmt:*)",
|
|
"Bash(cargo run -- cmd:*)",
|
|
"Bash(cargo run -- script:*)",
|
|
"Bash(bd ready:*)",
|
|
"Bash(bd list:*)",
|
|
"Bash(bd show:*)",
|
|
"Bash(bd prime:*)",
|
|
"Bash(bd stats:*)",
|
|
"Bash(bd update:*)",
|
|
"Bash(bd close:*)",
|
|
"Bash(bd create:*)",
|
|
"Bash(git status:*)",
|
|
"Bash(git diff:*)",
|
|
"Bash(git log:*)",
|
|
"Bash(git show:*)",
|
|
"Bash(git branch:*)",
|
|
"Bash(git fetch:*)",
|
|
"Bash(git ls-remote:*)"
|
|
],
|
|
"deny": [
|
|
"Edit(./.beads/issues.jsonl)"
|
|
]
|
|
}
|
|
} |