You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Current calciforge doctor process has ambient HTTP(S)_PROXY configured ({}); if the service runs with the same env, model-providerand control-plane traffic can route through security-proxy. Prefer explicit proxy env on agent subprocesses instead.",
386
+
"Current calciforge doctor process has ambient HTTP(S)_PROXY configured ({}); if the service runs with the same env, model-provider, channel, and control-plane traffic can route through security-proxy. Prefer no ambient proxy on the Calciforge service.",
387
387
display_proxy_value(http)
388
388
));
389
389
}else{
390
390
report.warn(format!(
391
-
"Current calciforge doctor process has ambient HTTP_PROXY and HTTPS_PROXY configured but they differ; HTTP_PROXY={}, HTTPS_PROXY={}. Prefer no ambient proxy on the Calciforge service and explicit proxy env on agent subprocesses.",
391
+
"Current calciforge doctor process has ambient HTTP_PROXY and HTTPS_PROXY configured but they differ; HTTP_PROXY={}, HTTPS_PROXY={}. Prefer no ambient proxy on the Calciforge service.",
392
392
display_proxy_value(http),
393
393
display_proxy_value(https)
394
394
));
395
395
}
396
396
}
397
397
(Some(http),None) => report.warn(format!(
398
-
"Current calciforge doctor process has ambient HTTP_PROXY set ({}). Prefer no ambient proxy on the Calciforge service and explicit proxy env on agent subprocesses.",
398
+
"Current calciforge doctor process has ambient HTTP_PROXY set ({}). Prefer no ambient proxy on the Calciforge service.",
399
399
display_proxy_value(http)
400
400
)),
401
401
(None,Some(https)) => report.warn(format!(
402
-
"Current calciforge doctor process has ambient HTTPS_PROXY set ({}) but HTTP_PROXY is not set. Prefer no ambient proxy on the Calciforge service and explicit proxy env on agent subprocesses.",
402
+
"Current calciforge doctor process has ambient HTTPS_PROXY set ({}) but HTTP_PROXY is not set. Prefer no ambient proxy on the Calciforge service.",
"Current calciforge doctor process has ambient HTTP_PROXY; subprocess inheritance works if the service has the same env, but it also risks proxying Calciforge's own provider/control-plane calls. Move proxy env to agent-level config or wrappers.",
458
+
"Current calciforge doctor process has ambient HTTP_PROXY; subprocess inheritance works only if the service has the same env, and it can break CLI agents that use CONNECT, WebSockets, npm, or browser-backed auth. Prefer no ambient proxy and only wrap agents through tested recipes.",
"{complete_count} subprocess agent(s) define explicit HTTP_PROXY env; verify the specific CLI supports that proxy path. HTTPS_PROXY/CONNECT traffic is not inspected by security-proxy and may break streaming agents."
477
+
));
478
+
}
479
+
480
+
let missing_count = subprocess_agents
481
+
.iter()
482
+
.filter(|agent| {
483
+
!has_complete_agent_proxy_env(agent)
484
+
&& !has_incomplete_agent_proxy_env(agent)
485
+
&& !clears_agent_proxy_env(agent)
486
+
})
487
+
.count();
488
+
if missing_count > 0{
475
489
report.ok(format!(
476
-
"{subprocess_count} subprocess agent(s) define explicit HTTP_PROXY env; verify these point at security-proxy and include NO_PROXY for loopback"
490
+
"{missing_count} subprocess agent(s) have no explicit proxy env; use explicit tool/fetch integration or a tested wrapper for traffic that must pass through security-proxy"
0 commit comments