[All Platforms][CLI&UX] nemoclaw status/doctor report inference "healthy" by probing the upstream, not the inference.local route the agent uses
Description
nemoclaw <sbx> status and nemoclaw <sbx> doctor report inference as healthy / [ok] by probing the upstream provider endpoint (the public NVIDIA Cloud /v1/models endpoint) directly, instead of the inference.local route the agent actually uses. When inference.local is broken inside the sandbox (see companion issue), status/doctor still say "healthy", giving a false all-clear that contradicts nemoclaw <sbx> connect — which correctly reports the route BROKEN. Verified on macOS and DGX Spark aarch64.
This is the same class as the previously-fixed #3265 ("status reports 'Inference: healthy' by probing Ollama directly on :11434, bypassing the auth proxy / gateway"). That fix covered the Ollama path; the cloud / inference.local path still probes the wrong layer.
Environment
--- Platform 1: macOS / colima ---
Device: MacBook (Apple Silicon)
OS: macOS 26.5.1 (Darwin 25.5.0)
Architecture: arm64
Node.js: v23.10.0
npm: 11.3.0
Docker: 27.4.0 (colima)
OpenShell CLI: 0.0.71
NemoClaw: v0.0.72
Agent: langchain-deepagents-code v0.1.12
--- Platform 2: DGX Spark / aarch64 ---
Device: DGX Spark (NVIDIA GB10, driver 580.159.03)
OS: Ubuntu 24.04.4 LTS (kernel 6.17.0-1021-nvidia)
Architecture: aarch64
Node.js: not captured (nemoclaw runs; node not on login PATH)
npm: not captured
Docker: 29.2.1
OpenShell CLI: 0.0.71
NemoClaw: v0.0.71
Agent: langchain-deepagents-code (expected v0.1.12; not verified — stuck Provisioning)
Steps to Reproduce
- Have a sandbox whose
inference.localroute is broken (see companion issue —inference.localnot provisioned into the sandbox). nemoclaw <sbx> statusnemoclaw <sbx> doctornemoclaw <sbx> connect- From inside the sandbox:
curl -sS https://inference.local/v1/models
Expected Result
status and doctor probe the actual inference.local route the agent uses (the same route connect probes) and report it BROKEN when it is unreachable, so the three commands agree. A green "healthy" should require the route the agent actually calls to be reachable, not just the upstream provider endpoint.
Actual Result
status and doctor probe the upstream and report healthy, while connect (which probes the real route) reports BROKEN — the commands contradict each other:
nemoclaw <sbx> status
Inference: healthy (<upstream NVIDIA Cloud /v1/models endpoint>)
nemoclaw <sbx> doctor
Inference:
[ok] Route: nvidia-prod / nvidia/nemotron-3-super-120b-a12b
[ok] Provider health: <upstream endpoint> reachable
(macOS) Summary: healthy
(Spark) Summary: attention needed -- but the failing check is the stuck
phase, NOT inference; the Inference section is still [ok]
nemoclaw <sbx> connect
Connect is stopping because the sandbox inference route is known to be broken.
# ground truth inside the sandbox:
$ curl -sS https://inference.local/v1/models
curl: (6) Could not resolve host: inference.local
Logs
=== macOS ===
$ nemoclaw <sbx> status
Inference: healthy (<upstream NVIDIA Cloud /v1/models endpoint>)
$ nemoclaw <sbx> doctor
Inference:
[ok] Route: nvidia-prod / nvidia/nemotron-3-super-120b-a12b
[ok] Provider health: <upstream endpoint> reachable
Summary: healthy
$ nemoclaw <sbx> connect
Error: inference.local is still unavailable ... Last probe: BROKEN 000
Connect is stopping because the sandbox inference route is known to be broken.
=== DGX Spark ===
$ nemoclaw <sbx> status
Inference: healthy (<upstream NVIDIA Cloud /v1/models endpoint>)
Phase: Provisioning ; "Sandbox is stuck in 'Provisioning' phase."
$ nemoclaw <sbx> doctor
Inference:
[ok] Route: nvidia-prod / nvidia/nemotron-3-super-120b-a12b
[ok] Provider health: <upstream endpoint> reachable
Summary: attention needed (1 failed) # the failure is the stuck phase, not inference
=== ground truth (both platforms) ===
$ getent hosts inference.local -> (no result)
$ curl -sS https://inference.local/v1/models -> curl: (6) Could not resolve host
Related
#3265 (Fixed): "nemoclaw status reports 'Inference: healthy' by probing Ollama directly on :11434 — bypasses auth proxy (:11435) and gateway." Same false-healthy pattern; that fix was scoped to Ollama, this is the cloud / inference.local variant still probing the wrong layer.
✨ Thanks for the clear report with logs and root cause. The health check should probe the inference.local route the agent uses, not the upstream endpoint directly.
Related open issues:
Post-merge security hardening follow-up: #6497. It prevents DCode login-shell startup output from impersonating authoritative inference.local route evidence while preserving fail-closed no-repair/no-SSH behavior.