Missing Control Plane Login
If a Control Plane command says you are not authenticated:tm auth status --exit-status when you need a shell-friendly local readiness check for both the Control Plane token and the current gateway credentials. tm auth status only reports local credential presence; tm auth whoami is the live validation step.
If tm auth login appears to wait forever in a remote shell, rerun it with an explicit ceiling such as tm auth login --no-open-browser --max-wait-seconds 60.
Missing Gateway Credentials
Iftm infer chat reports a missing API key, user id, or model name, sync the
managed gateway values first:
tm init --sync to fetch and persist the gateway settings.
If a streaming request stalls because the upstream stops sending events, rerun with a smaller or larger idle timeout:
Config Resolution Confusion
If the CLI is picking up the wrong config or env values:tm infer doctor --exit-status when you specifically want to gate a direct inference path. Use tm auth status --exit-status when you specifically want to gate the broader local auth-and-gateway prerequisites.

