{
  "schemaVersion": 2,
  "id": "wsl-stream-disconnected",
  "title": "WSL: stream disconnected before completion (Codex 0.129.0+)",
  "category": "wsl",
  "severity": "high",
  "platforms": [
    "wsl"
  ],
  "codexVersions": [
    ">=0.129.0"
  ],
  "lastVerified": "2026-08-30",
  "source": "https://github.com/openai/codex/issues/24511",
  "match": {
    "any": [
      {
        "contains": "stream disconnected before completion"
      }
    ]
  },
  "summary": "Codex versions newer than 0.128.0 lose their backend stream inside WSL while the same account works on native Windows.",
  "explanation": "Reported against Codex 0.129.0+ in WSL (upstream doctor report captured 0.133.0). The failure is WSL-specific; native Windows with the same account is unaffected, which points at the WSL transport path rather than credentials.",
  "actions": [
    "Confirm the failure is WSL-only by running the same command from native Windows with the same account.",
    "Note the exact Codex version and capture `codex doctor --json` from inside WSL.",
    "Watch the upstream issue and pin the last working version (0.128.0) if an immediate downgrade is acceptable."
  ],
  "links": [
    {
      "type": "github_issue",
      "url": "https://github.com/openai/codex/issues/24511",
      "label": "openai/codex#24511"
    }
  ],
  "tags": [
    "wsl",
    "stream",
    "network",
    "regression"
  ],
  "i18n": {
    "zh-CN": {
      "title": "WSL：流连接中断（Codex 0.129.0+）",
      "summary": "0.128.0 之后的版本在 WSL 内丢失后端流式连接，同一账号在原生 Windows 上不受影响。",
      "explanation": "上游报告针对 WSL 内的 Codex 0.129.0+（doctor 报告来自 0.133.0）。失败仅在 WSL 出现，指向 WSL 传输路径而非凭据问题。",
      "actions": [
        "用同一账号在原生 Windows 运行同一命令，确认失败是否仅限 WSL。",
        "记录确切的 Codex 版本，并在 WSL 内执行 `codex doctor --json` 保存报告。",
        "关注上游 Issue；如需立即恢复可回退到最后可用的 0.128.0。"
      ]
    },
    "ja": {
      "title": "WSL: 完了前にストリームが切断される（Codex 0.129.0+）",
      "summary": "0.128.0 より新しい Codex バージョンは WSL 内でバックエンドストリームを失い、同じアカウントはネイティブ Windows では動きます。",
      "explanation": "WSL 内の Codex 0.129.0+ に対する報告です（上流 doctor レポートは 0.133.0 を捕捉）。失敗は WSL 固有で、同じアカウントのネイティブ Windows は影響を受けません。資格情報ではなく WSL 転送経路を指しています。",
      "actions": [
        "同じコマンドを同じアカウントのネイティブ Windows から実行し、WSL 固有か確認します。",
        "正確な Codex バージョンを記録し、WSL 内から codex doctor --json を取得します。",
        "上流 issue をウォッチし、即時ダウングレードが許容できるなら最後の正常版（0.128.0）を固定します。"
      ]
    }
  }
}
