hooks:
  - event: tool.before.*
    filter:
      tool: [bash]
    action: bash
    command: |
      # Block targeting multiplayer game executables
      if echo "$PI_TOOL_ARGS" | grep -iE "(valorant|apex|overwatch|fortnite|eac_)"; then
        echo "Ethics Violation: Targeting competitive multiplayer runtimes is strictly blocked." >&2
        exit 2
      fi
  - event: file.changed
    filter:
      matchesCodeFiles: ["hooks/**/*.js"]
    action: bash
    command: |
      npx biome check "$PI_FILE_PATH"
  - event: user.prompt.submit
    action: bash
    command: |
      echo "[context-injection] Specialist 'memory-integrity-cheat-researcher' active. Working directory: $(pwd)"
