3ca2d6ded2
This endpoint answers a bare 404 — "This service does not exist" — for a wrong billing account, a wrong service name, a queue filed under the other product, and a number nobody has configured yet. Four different jobs, one message, and nothing on the Riposte screen could tell them apart. Two rounds went to guessing which one it was. The probe now walks there one step at a time and reports what it saw at each: the billing accounts these credentials can reach, the services each product holds, the queues in the chosen one. A failure names the step and lists the values that do exist, which is what somebody can act on. It also answers its own VERSION. When a test fails identically twice, the first question is whether the new code is the code that ran, and nothing on the screen could answer it. And a failed diagnosis now exits non-zero with an "error" key. Returning ok:false on exit 0 would have been worse than the 404 it replaces: the screen would call the instance healthy while naming the step where it is not. Verified end to end through the real entry point for six shapes — success under either product, unreachable account, wrong account, number that is not a queue, service with no queue, and a listing the IAM policy refuses. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TN1R4EnNFUV2Xwtd9q98tj