{
  "id": "P051",
  "slug": "github-rest-api-repository-contents-submodule-type-file-backwards-compatibility-will-be-submodul",
  "status": "search-observed",
  "product": "GitHub REST API",
  "family": "Versioned API schema",
  "canonical_url": "https://gitdocs.org/fix/github-rest-api-repository-contents-submodule-type-file-backwards-compatibility-will-be-submodul",
  "query_alias_url": "https://gitdocs.org/q/github-rest-api-repository-contents-submodule-type-file-backwards-compatibility-will-be-submodul",
  "markdown_url": "https://gitdocs.org/fix/github-rest-api-repository-contents-submodule-type-file-backwards-compatibility-will-be-submodul.md",
  "json_url": "https://gitdocs.org/api/fixes/github-rest-api-repository-contents-submodule-type-file-backwards-compatibility-will-be-submodul.json",
  "canonical_query": "GitHub REST API repository contents submodule type file backwards compatibility will be submodule",
  "observed_codex_queries": [
    "GitHub REST API repository contents submodule type file backwards compatibility will be submodule",
    "site:docs.github.com REST API contents submodule type file submodule",
    "https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28"
  ],
  "organic_dependency_search_count": 3,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "Several historical response shapes are locally plausible; only the selected current API version determines fields, enums, media types, and status codes.",
  "before": "",
  "after": "",
  "verification": "Verifier exercises the changed field/status/enum plus an unaffected endpoint to prevent a brittle one-off patch. Exercise strict and permissive parsing plus one downstream behavior tied to the changed field.",
  "unsafe_fixes": [
    "Changing local code without checking the current external contract.",
    "Retrying the same install, build, or API call with no version/source change.",
    "Applying a broad unsafe bypass when a narrow compatibility fix is available."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": false,
    "no_web_strict_pass": null,
    "search_necessity_under_fixture": null,
    "no_web_oracle_note": "Observed query evidence is separated from necessity proof; no-web and stale-contract counterfactuals should be tracked separately."
  },
  "source_trail": [
    {
      "url": "https://docs.github.com/en/rest/about-the-rest-api/breaking-changes?apiVersion=2026-03-10",
      "label": "GitHub REST API 2026-03-10 breaking changes"
    },
    {
      "url": "https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28",
      "label": "GitHub source file or repository reference"
    }
  ],
  "source_github_links": [
    {
      "url": "https://docs.github.com/en/rest/about-the-rest-api/breaking-changes?apiVersion=2026-03-10",
      "label": "GitHub REST API 2026-03-10 breaking changes"
    },
    {
      "url": "https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28",
      "label": "GitHub source file or repository reference"
    }
  ]
}
