{
  "model": "claude-opus-4-8",
  "permissions": {
    "defaultMode": "default",
    "deny": [
      "Edit(**/src/main/**)",
      "Write(**/src/main/**)",
      "Edit(src/main/**)",
      "Write(src/main/**)",
      "Edit(pom.xml)",
      "Write(pom.xml)",
      "Bash(git push:*)",
      "Bash(mvn deploy:*)"
    ],
    "allow": [
      "Read(**)",
      "Edit(**/src/test/**)",
      "Write(**/src/test/**)",
      "Edit(src/test/**)",
      "Write(src/test/**)",
      "Bash(mvn:*)",
      "Bash(git add:*)",
      "Bash(git commit:*)",
      "Bash(git diff:*)",
      "Bash(git status)",
      "Bash(git log:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/guard-paths.sh"
          }
        ]
      }
    ]
  }
}
