Repository navigation
docs(id): decision record for HTTP CONNECT proxy traversal (#5796) - #8209
Conversation
Records the design decision for #5671's decomposition item 6: one CONNECT client used by both the transport stack and the locally terminated SSH endpoint, explicit-plus-environment proxy config, credential references resolved from the platform store at use, TLS-in-TLS inside the tunnel with no verification bypass, honest treatment of TLS-inspecting corporate proxies, and failure classification mapped onto #5791's classes without new top-level states. Consumes the #5671 body decisions and the #5791/#5792 records without amending them; the stale '\''parent has no decision record'\'' gate that parked the previous packet is corrected in the record's gate section.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 42 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
What
Decision record for #5796 — HTTP CONNECT proxy traversal, the sixth item of #5671's decomposition sketch. Design only; no implementation.
doc/2026-11-10T19-55-00Z_design_id5796_connect_proxy_traversal.mdDecisions recorded
socat/curl -x/ssh -o ProxyCommand.HTTPS_PROXY/ALL_PROXY/NO_PROXY→ per-peer config → global config → direct tier. PAC/WPAD rejected for v1 with the reason stated (and named as a follow-up rather than silently dropped).credential://,env://, andliteral:only behind an explicit insecure flag. Never in config values, logs, errors, diagnostics, task payloads or queue results. This answers id: design: ID transport fallback for UDP-denied networks v1 #5671's open question on proxy-auth storage and closes the half id: design: transport negotiation & fallback ordering (from #5671) #5791 §8 deferred here.tls_failureand is surfaced, never worked around; the record says plainly that the operator's correct lever is a do-not-decrypt policy exemption, and that ID's E2E layer is what survives inspection.id's own loopback listener (the existingworld ssh-tunnel --listen/--stdioshape plus a proxy choice), loopback-only by default, granting no authority, terminating no SSH.407→proxy_auth_required(ask once, never guess, never rotate),403/502/503→proxy_denied(fall through, don't quarantine the proxy), TLS/auth failures → stop and surface, tunnel death → resumption.Gate
The previous packet (task 12791, 2026-11-08) parked on "parent #5671 has no decision record". That gate was wrong and was corrected by triage 12830: #5671 is a decomposition umbrella whose four decisions are fixed in its own body, and #5791/#5792/#5798 landed exactly that way. §12 checks all four parent decisions explicitly and finds no change; two parent open questions are answered here rather than silently forked.
Verification
No code changed. Read at
origin/main7dc4aefa23: confirmed no CONNECT/proxy client exists inpkgs/id/srcorpkgs/id/crates/id-core/src(so this is genuinely undesigned work), and confirmed the server half it must reach exists —SSH_TUNNEL_ALPN/SshTunnelProtocol(world_ssh.rs:89,97),world ssh-tunnelargs (cli.rs:1962-1977), broker frame codec (serve_proxy.rs). No runtime tests apply to a doc-only change.Closes #5796.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.