{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "pwsh -NoProfile -ExecutionPolicy Bypass -File \"<рабочая папка>\\_shared\\hooks\\edit_path_guard.ps1\""
          }
        ]
      },
      {
        "matcher": "Write|Edit",
        "hooks": [
          {
            "type": "command",
            "command": "pwsh -NoProfile -ExecutionPolicy Bypass -File \"<рабочая папка>\\_shared\\hooks\\secret_in_doc_guard.ps1\""
          }
        ]
      }
    ]
  }
}
