{
  "schema": "ags.gh.registry.v1",
  "surface": "gh-core-v1",
  "version": "0.2.19-context-public-urls",
  "claim_limit": "Human and Multica workload daily git/gh surface authenticates only to AGS. Human routing is origin + Context-owned personal token with profile compatibility bounded to migration; provider mapping, CI and merge effects are server-owned. Server-side repository/effect policy remains the safety backstop.",
  "engine": {
    "binary": "libexec/ags-gh",
    "module": "github.com/cli/cli/v2",
    "upstream_tag_candidate": "fingerprint-pending-exact-tag",
    "upstream_commit_candidate": "fingerprint-pending-exact-commit",
    "import_commit": "9f62c1653265e456951b170603def5bef642610f",
    "ags_source_base": "7d5767ddab6f13ae19e9a80f9d5ba6f18ce691eb",
    "go_module_fingerprint": {
      "go": "1.25.7",
      "github.com/cli/go-gh/v2": "v2.13.0",
      "github.com/spf13/cobra": "v1.10.2"
    },
    "note": "Exact upstream tag reconstruction remains desirable provenance, not a gate for Agent-usable daily surface."
  },
  "leaves": [
    {
      "path": [
        "pr",
        "create"
      ],
      "status": "accepted_bootstrap",
      "route": "native_rest",
      "required_operation": "pr.create",
      "positionals": [],
      "flags": [
        "--title",
        "-t",
        "--body",
        "-b",
        "--body-file",
        "-F",
        "--fill",
        "-f",
        "--base",
        "-B",
        "--head",
        "-H",
        "--draft",
        "--json",
        "--context",
        "--repo",
        "-R"
      ],
      "json_fields": [
        "create_result",
        "number",
        "url",
        "forgejo_number",
        "forgejo_url"
      ],
      "repo_scope": "current_origin_only",
      "exit_contract": {
        "success": 0,
        "failure": 1,
        "cancel": 2,
        "auth": 4
      },
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "view"
      ],
      "status": "accepted_bootstrap",
      "route": "engine_passthrough",
      "required_operation": "pr.read",
      "positionals": [
        "optional_pr"
      ],
      "flags": [
        "--comments",
        "--json",
        "--jq",
        "--template",
        "--context",
        "--repo",
        "-R"
      ],
      "json_fields": [
        "number",
        "title",
        "body",
        "state",
        "isDraft",
        "headRefName",
        "headRefOid",
        "baseRefName",
        "baseRefOid",
        "reviewDecision",
        "mergeStateStatus",
        "statusCheckRollup",
        "url",
        "externalProjections"
      ],
      "repo_scope": "current_origin_only",
      "exit_contract": {
        "success": 0,
        "failure": 1,
        "cancel": 2,
        "auth": 4
      },
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "checks"
      ],
      "status": "accepted_bootstrap",
      "route": "native_rest",
      "required_operation": "ci.read",
      "positionals": [
        "optional_pr"
      ],
      "flags": [
        "--required",
        "--watch",
        "--fail-fast",
        "--interval",
        "--json",
        "--context",
        "--repo",
        "-R"
      ],
      "json_fields": [
        "bucket",
        "completedAt",
        "description",
        "event",
        "link",
        "name",
        "required",
        "requirementSource",
        "startedAt",
        "state",
        "workflow"
      ],
      "repo_scope": "current_origin_only",
      "exit_contract": {
        "success": 0,
        "failure": 1,
        "cancel": 2,
        "auth": 4,
        "pending": 8
      },
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "list"
      ],
      "status": "accepted_ordinary",
      "route": "engine_passthrough",
      "required_operation": "pr.read",
      "positionals": [],
      "flags": [
        "--author",
        "--base",
        "--head",
        "--draft",
        "--label",
        "--limit",
        "--state",
        "--json",
        "--jq",
        "--template",
        "--context",
        "--repo",
        "-R"
      ],
      "json_fields": [
        "number",
        "title",
        "state",
        "isDraft",
        "headRefName",
        "headRefOid",
        "baseRefName",
        "baseRefOid",
        "reviewDecision",
        "mergeStateStatus",
        "statusCheckRollup",
        "url",
        "externalProjections"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "status"
      ],
      "status": "accepted_ordinary",
      "route": "engine_passthrough",
      "required_operation": "pr.read",
      "positionals": [],
      "flags": [
        "--json",
        "--jq",
        "--template",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "comment"
      ],
      "status": "accepted_ordinary",
      "route": "native_rest",
      "required_operation": "pr.comment",
      "positionals": [
        "optional_pr"
      ],
      "flags": [
        "--body",
        "-b",
        "--body-file",
        "-F",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "notes": "Write is server-enforced; CLI does not invent a separate ACL product. Operation hint is best-effort transport only.",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "run",
        "list"
      ],
      "status": "accepted_ordinary",
      "route": "engine_passthrough",
      "required_operation": "ci.read",
      "positionals": [],
      "flags": [
        "--branch",
        "--commit",
        "--event",
        "--limit",
        "--status",
        "--workflow",
        "--json",
        "--jq",
        "--template",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "run",
        "view"
      ],
      "status": "accepted_ordinary",
      "route": "engine_passthrough",
      "required_operation": "ci.read",
      "positionals": [
        "optional_run_id"
      ],
      "flags": [
        "--log",
        "--log-failed",
        "--exit-status",
        "--verbose",
        "--json",
        "--jq",
        "--template",
        "--context",
        "--pr",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "edit"
      ],
      "status": "accepted_ordinary",
      "route": "native_rest",
      "required_operation": "pr.edit",
      "positionals": [
        "optional_pr"
      ],
      "flags": [
        "--title",
        "-t",
        "--body",
        "-b",
        "--body-file",
        "-F",
        "--base",
        "-B",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "notes": "Best-effort transport mapping; server remains final write gate.",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "review"
      ],
      "status": "accepted_ordinary",
      "route": "native_rest",
      "required_operation": "review.write",
      "positionals": [
        "optional_pr"
      ],
      "flags": [
        "--approve",
        "-a",
        "--comment",
        "-c",
        "--request-changes",
        "-r",
        "--body",
        "-b",
        "--body-file",
        "-F",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "close"
      ],
      "status": "accepted_ordinary",
      "route": "native_rest",
      "required_operation": "pr.close",
      "positionals": [
        "required_pr"
      ],
      "flags": [
        "--comment",
        "-c",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "reopen"
      ],
      "status": "accepted_ordinary",
      "route": "native_rest",
      "required_operation": "pr.reopen",
      "positionals": [
        "required_pr"
      ],
      "flags": [
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "update-branch"
      ],
      "status": "accepted_ordinary",
      "route": "engine_passthrough",
      "required_operation": "pr.rebase",
      "positionals": [
        "optional_pr"
      ],
      "flags": [
        "--rebase",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "remediation": "use_supported_gh"
    },
    {
      "path": [
        "pr",
        "merge"
      ],
      "status": "accepted_ordinary",
      "route": "engine_passthrough",
      "required_operation": "pr.merge",
      "positionals": [
        "optional_pr"
      ],
      "flags": [
        "--match-head-commit",
        "--merge-method",
        "--merge",
        "-m",
        "--rebase",
        "-r",
        "--squash",
        "-s",
        "--context",
        "--repo",
        "-R"
      ],
      "repo_scope": "current_origin_only",
      "association": "best_effort",
      "notes": "Merge remains server exact-effect when available; CLI surface is not a separate ACL product.",
      "remediation": "use_supported_gh"
    }
  ],
  "meta": {
    "help": "filtered_meta",
    "version": "engine_identity"
  },
  "unsupported_remediation": [
    "use_git",
    "use_supported_gh",
    "use_product_owner",
    "report_unsupported"
  ]
}
