{
  "id": "go/go-mod-tidy-inconsistent-vendoring",
  "signature": "go: inconsistent vendoring in /path/to/project: vendor/modules.txt is out of date",
  "signature_zh": "go: /path/to/project 中的 vendoring 不一致：vendor/modules.txt 已过期",
  "regex": "go:\\ inconsistent\\ vendoring\\ in\\ /path/to/project:\\ vendor/modules\\.txt\\ is\\ out\\ of\\ date",
  "domain": "go",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "The vendor directory's modules.txt does not match the requirements in go.mod, often due to adding/removing dependencies without running go mod vendor.",
  "root_cause_type": "generic",
  "root_cause_zh": "vendor 目录中的 modules.txt 与 go.mod 中的要求不匹配，通常是在添加/删除依赖后未运行 go mod vendor 导致。",
  "versions": [
    {
      "version": "1.14",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The file is auto-generated; manual edits will be overwritten or cause further inconsistencies.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Without re-vendoring, builds will fail if modules are not in cache or network is unavailable.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Run 'go mod vendor' to regenerate the vendor directory and modules.txt from go.mod.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Run 'go mod tidy' to clean up go.mod, then 'go mod vendor' to sync.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-04-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}