{
  "id": "go/invalid-semver-version",
  "signature": "go: invalid module version \"v1.0.0.1\": version must be of the form vX.Y.Z",
  "signature_zh": "go: 无效的模块版本 \"v1.0.0.1\": 版本必须为 vX.Y.Z 格式",
  "regex": "go:\\ invalid\\ module\\ version\\ \"v1\\.0\\.0\\.1\":\\ version\\ must\\ be\\ of\\ the\\ form\\ vX\\.Y\\.Z",
  "domain": "go",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "A version string in go.mod or dependency does not follow semantic versioning (semver) format.",
  "root_cause_type": "generic",
  "root_cause_zh": "go.mod 或依赖中的版本字符串不遵循语义化版本格式。",
  "versions": [
    {
      "version": "1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.22",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.23",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Using a version with extra digits like v1.0.0.1-beta.",
      "why_fails": "Semver does not allow four parts; Go strictly enforces vX.Y.Z.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    },
    {
      "action": "Removing the 'v' prefix.",
      "why_fails": "Go requires the 'v' prefix for module versions; without it, it's invalid.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Correct the version to a valid semver string.",
      "success_rate": 0.95,
      "how": "Change 'v1.0.0.1' to 'v1.0.1' or 'v1.0.0' as appropriate.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a pseudo-version if the module doesn't have a tag.",
      "success_rate": 0.85,
      "how": "Use 'v0.0.0-20250520120000-abc123' format from commit hash.",
      "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.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-06-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}