{
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
  "permissions": {
    "deny": [
      "Read(.env)",
      "Read(.env.*)",
      "Read(secrets/**)",
      "Read(config/local/**)",
      "Read(**/*.pem)",
      "Read(**/*.key)",
      "Read(**/id_rsa*)",
      "Edit(.env)",
      "Edit(.env.*)",
      "Edit(secrets/**)",
      "Bash(git push --force)",
      "Bash(git push --force *)",
      "Bash(git push -f)",
      "Bash(git push -f *)",
      "Bash(git push --force-with-lease *)",
      "Bash(npm publish *)",
      "Bash(rm -rf /)",
      "Bash(rm -rf ~)",
      "Bash(rm -rf ~/*)"
    ],
    "ask": [
      "Bash(git push *)",
      "Bash(git reset --hard *)",
      "Bash(git clean *)",
      "Bash(git filter-branch *)",
      "Bash(git filter-repo *)",
      "Bash(git remote add *)",
      "Bash(gh repo create *)",
      "Bash(gh release create *)",
      "Bash(gh pr merge *)",
      "Bash(npm install -g *)",
      "Bash(npm i -g *)",
      "Bash(pip install *)",
      "Bash(python -m pip install *)",
      "Bash(winget install *)",
      "Bash(choco install *)",
      "Bash(docker pull *)",
      "Bash(docker run *)",
      "Bash(docker compose up *)"
    ]
  },
  "hooks": {
    "SessionStart": [
      {
        "matcher": "startup|resume|clear|compact",
        "hooks": [
          {
            "type": "command",
            "shell": "bash",
            "command": "node \"${CLAUDE_PROJECT_DIR}/scripts/hooks/session-context.mjs\"",
            "timeout": 15
          }
        ]
      }
    ]
  }
}
