{
  "id": "P020",
  "slug": "npm-registry-replication-scheduled-brownouts-5xx-empty-batches",
  "status": "search-observed",
  "product": "npm replication",
  "family": "Registry/feed protocol",
  "canonical_url": "https://gitdocs.org/fix/npm-registry-replication-scheduled-brownouts-5xx-empty-batches",
  "query_alias_url": "https://gitdocs.org/q/npm-registry-replication-scheduled-brownouts-5xx-empty-batches",
  "markdown_url": "https://gitdocs.org/fix/npm-registry-replication-scheduled-brownouts-5xx-empty-batches.md",
  "json_url": "https://gitdocs.org/api/fixes/npm-registry-replication-scheduled-brownouts-5xx-empty-batches.json",
  "canonical_query": "npm registry replication scheduled brownouts 5xx empty batches",
  "observed_codex_queries": [
    "npm registry replication scheduled brownouts 5xx empty batches",
    "npm registry replication endpoint changes feed"
  ],
  "organic_dependency_search_count": 2,
  "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"
    }
  ],
  "source_github_links": []
}
