The Go operator CLI mirrors the TS guardrail CLI, which just gained a 'smoke'
subcommand. Bring guardrailctl to parity: a Go-native 'smoke' that exercises
all 9 quant endpoints through the SDK (ta, fees, sizer, orderbook, pnl,
correlation, equity/indicators, portfolio/risk, cmc/capabilities) and prints a
PASS/WARN/FAIL table. A transport/decode error is FAIL, an 'error' field is
WARN, otherwise PASS. Supports --json.
Unlike every other guardrailctl subcommand it is a gate (new exitSmokeFail=1):
it exits non-zero when any endpoint fails, so it is safe in a pre-ship check.
Now scripts/smoke_quant.sh (bash), the TS CLI, and guardrailctl all expose the
same gate.
Verified live (API on 127.0.0.1:8091): go build + vet clean, gofmt clean;
'guardrailctl smoke' → all 9 PASS exit 0; against a dead port → exit 1;
--json emits { base, fails, results }.