{
  "permissions": {
    "allow": [
      "Read",
      "Glob",
      "Grep",
      "Bash(ls *)",
      "Bash(cat *)",
      "Bash(head *)",
      "Bash(tail *)",
      "Bash(wc *)",
      "Bash(grep *)",
      "Bash(rg *)",
      "Bash(awk --sandbox *)",
      "Bash(sort *)",
      "Bash(uniq *)",
      "Bash(diff *)",
      "Bash(file *)",
      "Bash(which *)",
      "Bash(echo *)",
      "Bash(pwd)",
      "Bash(cd *)",
      "Bash(basename *)",
      "Bash(dirname *)",
      "Bash(realpath *)",
      "Bash(python -m json.tool *)",
      "Bash(svn status *)",
      "Bash(svn diff *)",
      "Bash(svn log *)",
      "Bash(svn info *)",
      "Bash(svn list *)",
      "Bash(svn cat *)",
      "Bash(python -u build.py *)",
      "Bash(python -u Scripts/build.py *)",
      "Bash(python -u -m unittest buildtest*)",
      "Bash(python -m unittest buildtest*)",
      "PowerShell(Get-Content *)",
      "PowerShell(Get-ChildItem *)",
      "PowerShell(Get-Command *)",
      "PowerShell(Get-Process *)",
      "PowerShell(Select-String *)",
      "PowerShell(Measure-Object *)",
      "PowerShell(Test-Path *)",
      "PowerShell(Set-Location *)",
      "PowerShell(Select-Object *)",
      "PowerShell(Sort-Object *)",
      "PowerShell(Group-Object *)",
      "PowerShell(Format-Table *)",
      "PowerShell(Format-List *)",
      "PowerShell(Out-String *)",
      "PowerShell(Out-Null *)",
      "PowerShell(svn status *)",
      "PowerShell(svn diff *)",
      "PowerShell(svn log *)",
      "PowerShell(python -u build.py *)",
      "PowerShell(Stop-Process -Name VBCSCompiler *)",
      "Edit(Modules/**)",
      "Write(Modules/**)",
      "Edit(Games/**)",
      "Write(Games/**)"
    ],
    "deny": [
      "Bash(svn commit *)",
      "Bash(svn ci *)",
      "PowerShell(svn commit *)",
      "PowerShell(svn ci *)",
      "Bash(rm -rf *)"
    ],
    "ask": [
      "Edit(Scripts/**)",
      "Write(Scripts/**)",
      "Edit(CLAUDE.md)",
      "Write(CLAUDE.md)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/allow_safe_pipelines.py\""
          }
        ]
      }
    ]
  }
}
