{
  "schema_version": "promptgate.install.v1",
  "name": "PromptGate",
  "summary": "Open prompt preflight loop for safer AI work before agent execution.",
  "canonical_url": "https://promptgate.griff.run",
  "llm_install_card": "https://promptgate.griff.run/llms.txt",
  "repository": "https://github.com/griffin9899/promptgate",
  "release": "https://github.com/griffin9899/promptgate/releases/tag/v0.1.6",
  "default_install_path": "~/.promptgate",
  "requirements": {
    "python": "3.10+ recommended for the cross-platform CLI",
    "windows": "PowerShell 5+ or PowerShell 7+",
    "macos_linux": "sh, git, and python"
  },
  "install": {
    "windows_powershell": {
      "command": "iwr -UseBasicParsing https://raw.githubusercontent.com/griffin9899/promptgate/main/scripts/install.ps1 | iex",
      "notes": [
        "Set PROMPTGATE_DISABLE_TELEMETRY=1 before running to disable aggregate installer telemetry.",
        "Use -DryRun by downloading scripts/install.ps1 first if the user wants to inspect actions before install."
      ]
    },
    "macos_linux_shell": {
      "command": "curl -fsSL https://raw.githubusercontent.com/griffin9899/promptgate/main/scripts/install.sh | sh",
      "notes": [
        "Set PROMPTGATE_DISABLE_TELEMETRY=1 before running to disable aggregate installer telemetry.",
        "Requires git."
      ]
    },
    "manual_git": {
      "commands": [
        "git clone https://github.com/griffin9899/promptgate.git",
        "cd promptgate",
        "python scripts/promptgate.py --prompt-a \"Smoke test.\" --mode Core --max-turns 3 --controls 1,3,0"
      ]
    }
  },
  "smoke_tests": {
    "python": "python scripts/promptgate.py --prompt-a \"Smoke test.\" --mode Core --max-turns 3 --controls 1,3,0",
    "windows_powershell": ".\\scripts\\Start-PromptGate.ps1 -PromptA \"Smoke test.\" -Mode Core -MaxTurns 3 -Controls 1,3,0",
    "expected_result": "LastControl: 0"
  },
  "adapters": {
    "codex_skill": "integrations/codex-skill/promptgate/SKILL.md",
    "chatgpt": "integrations/chatgpt/CUSTOM_GPT_INSTRUCTIONS.md",
    "gemini": "integrations/gemini/GEMINI.md",
    "cowork": "integrations/cowork/PROMPTGATE_COWORK_BRIEF.md",
    "mcp_cli": "integrations/mcp-cli/promptgate.tool.json"
  },
  "agent_rules": [
    "Do not request secrets.",
    "Do not call paid APIs.",
    "Do not perform destructive actions.",
    "Do not collect prompts, transcripts, local paths, usernames, machine names, or credential material in telemetry.",
    "Ask before installing if the current agent runtime cannot execute local commands safely.",
    "After install, run exactly one smoke test and report the install path, command used, and result."
  ],
  "telemetry": {
    "default_endpoint": "https://promptgate-telemetry.griff-ai-master-atc.workers.dev/install-event",
    "disable": "PROMPTGATE_DISABLE_TELEMETRY=1",
    "event_catalog": [
      "page_view",
      "llm_install_click",
      "github_install_click",
      "manifest_view",
      "manifest_json_click",
      "install_started",
      "install_success",
      "install_failed",
      "adapter_detected",
      "adapter_selected",
      "docs_view",
      "release_download",
      "support_click",
      "dashboard_click"
    ],
    "captures": [
      "event name",
      "PromptGate version",
      "OTel-compatible schema version",
      "anonymous trace id",
      "installer source",
      "runtime",
      "adapter",
      "result",
      "anonymous install session id",
      "host page",
      "UTM parameters",
      "service namespace and service name",
      "custody/operator correlation fields when provided",
      "Cloudflare country and colo when sent through the telemetry Worker"
    ],
    "never_capture": [
      "prompt contents",
      "transcripts",
      "secrets",
      "credential values",
      "raw local paths",
      "usernames",
      "machine names"
    ]
  }
}
