{
  "id": "P018",
  "slug": "npm-replication-opt-in-routing-header-inconsistent-pages-migration",
  "status": "search-observed",
  "product": "npm replication",
  "family": "Registry/feed protocol",
  "canonical_url": "https://gitdocs.org/fix/npm-replication-opt-in-routing-header-inconsistent-pages-migration",
  "query_alias_url": "https://gitdocs.org/q/npm-replication-opt-in-routing-header-inconsistent-pages-migration",
  "markdown_url": "https://gitdocs.org/fix/npm-replication-opt-in-routing-header-inconsistent-pages-migration.md",
  "json_url": "https://gitdocs.org/api/fixes/npm-replication-opt-in-routing-header-inconsistent-pages-migration.json",
  "canonical_query": "npm replication opt-in routing header inconsistent pages migration",
  "observed_codex_queries": [
    "npm replication opt-in routing header inconsistent pages migration",
    "npm registry replication API _changes include_docs sequence",
    "\"opt-in\" \"replicate.npmjs.com\"",
    "\"X-NPM\" \"replication\" \"header\"",
    "site:github.com npm replication opt-in routing header",
    "\"npm-replication\" npm package",
    "site:github.blog npm replication changes feed migration",
    "https://replicate.npmjs.com/_changes?limit=1"
  ],
  "organic_dependency_search_count": 9,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "The consumer code is locally valid under the old feed contract; only the live registry's current routing, cursor, or response semantics disambiguate the fix.",
  "before": "",
  "after": "",
  "verification": "Verifier checks continuity, cursor advancement, de-duplication, and compatibility with the current feed. Check no gaps or duplicates across a hidden multi-page change stream.",
  "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://github.blog/changelog/2025-04-22-reminder-for-changes-to-npm-replication-feeds-apis/",
      "label": "Changes to npm replication feeds APIs"
    },
    {
      "url": "https://replicate.npmjs.com/_changes?limit=1",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": []
}
