{
  "pr": {
    "number": 15852,
    "url": "https://github.com/pingdotgg/t3code/pull/15852",
    "repository": "jieyuexing/t3code-zh",
    "branch": "fix/desktop-shell-proxy-env"
  },
  "exacthead": "1125c2582b8d65b95965e9335c8ba3865fd64b37",
  "originalHead": "d82c3e53067c457f91103411145045fe224917a6",
  "status": "passed-scoped-runtime-proof",
  "summary": "13 final-head runtime cases passed. Real Electron 44.4.5 ran HTTP and TLS-verified HTTPS fetches via disposable CONNECT proxies or directly as expected. Real Bash login hydration and inert provider subprocess propagation used production services. Four original-module comparison cases reproduce pre-fix blank-alias behavior.",
  "beforeAfter": [
    {
      "before": "Original d82c3e53 shell/backend modules: blank lowercase endpoint aliases hide imported uppercase endpoint; 2 successful direct origin requests and zero CONNECTs despite --use-env-proxy.",
      "after": "Final: blank aliases removed; 2 CONNECTs and 2 successful origin responses.",
      "cases": [
        "original-v2-blank-import-empty",
        "blank-lower-import-empty"
      ]
    },
    {
      "before": "Original modules: whitespace lowercase endpoint aliases produce ERR_INVALID_URL in Electron startup; backend exits 1 before any request. Raw error preserved.",
      "after": "Final: whitespace aliases removed; both HTTP and HTTPS succeed through CONNECT proxy.",
      "cases": [
        "original-v2-blank-import-space",
        "blank-lower-import-space"
      ]
    },
    {
      "before": "Original modules: whitespace no_proxy hides uppercase NO_PROXY; both requests unexpectedly reach the inherited proxy.",
      "after": "Final: whitespace no_proxy removed; uppercase bypass honored and both requests direct.",
      "cases": [
        "original-v2-bypass-only-blank-alias",
        "blank-bypass-inherited"
      ]
    },
    {
      "before": "Final-head generated config with only --use-env-proxy removed: both requests direct.",
      "after": "Identical effective proxy configuration with generated flag: both requests traverse proxy.",
      "cases": [
        "no-flag-control",
        "shell-import"
      ]
    }
  ],
  "limits": [
    "Not an end-to-end packaged T3 app boot. The backend entry is a local network/provider probe at the path returned by production config; bootstrap IPC and DesktopBackendManager lifecycle/readiness are not exercised. Config dependencies for exposure, app settings and WSL use test layers; core shell/config/environment services and OS spawner are production.",
    "Provider proof covers production provider-core environment merge and subprocess spawn, using an inert stand-in. No Codex/Claude/other vendor CLI, provider-specific override, or provider network request was executed.",
    "No macOS Finder/Dock, Windows, WSL, actual installed desktop, GUI, browser, mobile/device, remote/relay, or tunnel verification. Native Linux POSIX login-shell and Electron-as-Node only.",
    "Original before comparison loads the two relevant modules from d82c3e53 into the isolated harness, resolving unrelated imports against final checkout dependencies; it is not a full original-head build. Module import specifiers are relocated only. Production source checkout was never modified.",
    "Final runs reused output directories once, so accumulated profile markers caused a verification assertion failure; this was a fixture accounting error. Final verified-* directories were freshly created and prove one profile invocation per case. Earlier result files retained. Initial original comparison omitted the explicit DesktopApp-order shell install, so it did not execute the profile. That attempt is INVALID for comparison; preserved in original-results-attempt1.json. Corrected v2 explicitly invokes real shell installation first. Its whitespace startup error is the expected reproduced original defect, not a final-head failure.",
    "No CI, unit suite, full build, GitHub code/comment/review changes, push, commit, or external network requests were performed. App-owned PR registration only."
  ]
}
