Payload/claude/settings.json

{
  "defaultShell": "powershell",
  "env": {
    "CLAUDE_CODE_USE_POWERSHELL_TOOL": "1"
  },
  "permissions": {
    "ask": [
      "Bash(git add *)",
      "Bash(git commit *)",
      "Bash(git push *)",
      "PowerShell(git add *)",
      "PowerShell(git commit *)",
      "PowerShell(git push *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|PowerShell|Edit|Write|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "pwsh -NoProfile -ExecutionPolicy Bypass -File ./.claude/hooks/invoke-claude-hook.ps1 -Hook harness-pretooluse-guard"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "pwsh -NoProfile -ExecutionPolicy Bypass -File ./.claude/hooks/invoke-claude-hook.ps1 -Hook harness-stop-gate"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Agent",
        "hooks": [
          {
            "type": "command",
            "command": "pwsh -NoProfile -ExecutionPolicy Bypass -File ./.claude/hooks/invoke-claude-hook.ps1 -Hook reviewer-stop"
          }
        ]
      }
    ],
    "SubagentStop": [
      {
        "matcher": "spec-writer-reviewer|atdd-developer-reviewer|clean-coder-reviewer|ddd-architect-reviewer|test-design-reviewer",
        "hooks": [
          {
            "type": "command",
            "command": "pwsh -NoProfile -ExecutionPolicy Bypass -File ./.claude/hooks/invoke-claude-hook.ps1 -Hook reviewer-stop"
          }
        ]
      }
    ],
    "SessionStart": [
      {
        "matcher": "startup|resume",
        "hooks": [
          {
            "type": "command",
            "command": "pwsh -NoProfile -ExecutionPolicy Bypass -File ./.claude/hooks/invoke-claude-hook.ps1 -Hook harness-session-start"
          }
        ]
      }
    ]
  }
}