fix/notes-triage-top3 #3
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/notes-triage-top3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes from agent feedback
Three notes (Oct-8 conduct, Oct-11 llama, Oct-11 matrix): NO_PROXY was loopback-only, so a client that honors the proxy env (curl, kubectl, git) proxied even destinations the kernel already allowed directly - a MITM 403 for kubectl, and 'curl: (52) Empty reply' on a large POST to the local llama.cpp router, costing several 130k-token benchmark runs. egress_env now takes static_tcp - the create-time rules, already kernel-enforced - and appends each host:port to NO_PROXY; the shell exec path passes st.egress.static_tcp. Relayed rules (added after create) stay proxied on purpose: dialing one straight would replace the gateway's explicit verdict with a bare drop, which is the failure mode the loopback-only rule was added for in the first place. proxy_env stays as it is - the A2 plan records it as retained-but-unused API ('do not delete').Oct-11 matrix note: a remote sandbox on server S cannot reach S's own LAN address - rootless podman masquerades container traffic to the host's outbound address, so the connection arrives with src == dst and S's stack refuses it. Internet egress from the same sandbox works, so the failure is opaque and cost real debugging time. Gap 1 of docs/specs/2026-10-11-remote-egress-followups.md, which the parked branch held: brought to main, with item 2 (the NO_PROXY gap, fixed earlier in this branch) marked resolved. Hairpin NAT stays out - it needs root, and a sandbox cannot reach it. Detection lives in write_hooks, which already holds the resolved (host, ip) pairs at create and recreate, so it costs no extra DNS; list stays DNS-free by reporting the stored result. The warning reaches both the control-plane log and umwelt_egress {op: list}'s new warnings field, which is where an agent can act on it.