{
  "id": "go/os-file-not-exist",
  "signature": "error: open /no/such/file: no such file or directory",
  "signature_zh": "错误：打开 /no/such/file：没有这个文件或目录",
  "regex": "error:\\ open\\ /no/such/file:\\ no\\ such\\ file\\ or\\ directory",
  "domain": "go",
  "category": "io_error",
  "subcategory": null,
  "root_cause": "The specified file or directory does not exist in the file system.",
  "root_cause_type": "generic",
  "root_cause_zh": "指定的文件或目录在文件系统中不存在。",
  "versions": [
    {
      "version": "1.15",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the parent directory doesn't exist, creation fails.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The file path is absolute; changing the working directory won't help.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Check if the file exists before opening using os.Stat.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Use os.OpenFile with os.O_CREATE to create the file if it doesn't exist.",
      "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.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-01-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}