{ "permissions": { "allow": [ "Edit", "Write", "Bash(php artisan test:*)", "Bash(php artisan migrate:*)", "Bash(./vendor/bin/pint:*)", "Bash(composer analyse)", "Bash(composer rector)", "Bash(pnpm test:*)", "Bash(pnpm eslint:*)", "Bash(make schema-dump)", "Bash(make test:*)", "Bash(git add:*)", "Bash(git commit:*)", "Bash(git status)", "Bash(git log:*)", "Bash(git diff:*)", "Bash(git checkout:*)", "Bash(git branch:*)", "Bash(git worktree:*)", "Bash(git rev-parse:*)" ] }, "hooks": { "PreToolUse": [ { "matcher": "Edit|Write|MultiEdit", "hooks": [ { "type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/protect-files.sh" } ] }, { "matcher": "Bash", "hooks": [ { "type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-dangerous-bash.sh" } ] } ], "PostToolUse": [ { "matcher": "Edit|Write|MultiEdit", "hooks": [ { "type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/post-edit-pint.sh" }, { "type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/post-edit-eslint.sh" } ] } ], "SessionStart": [ { "matcher": "compact", "hooks": [ { "type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/inject-sprint-context.sh" } ] } ] } }