---
title: "cli. diagnostics"
description: "Owner: the platform spec (defs/platform.ts). The status is the code's own; the exit comes from its category (CATEGORIES). A warning or info code never sets the status or the exit."
order: 9
---

# `cli.*` diagnostics

Owner: the platform spec (`defs/platform.ts`). The status is the code's own; the exit comes from its category (`CATEGORIES`). A warning or info code never sets the status or the exit.

| Code | Category | Severity | Status | Exit | Retry | Fix | Args |
|---|---|---|---|---|---|---|---|
| <a id="cli.schema_mismatch"></a>`cli.schema_mismatch` | client | error | 400 | 64 | no | yes | `have`, `want` |
| <a id="cli.secret_on_tty"></a>`cli.secret_on_tty` | client | error | 400 | 64 | no | — | `field` |
| <a id="cli.upgrade_required"></a>`cli.upgrade_required` | client | error | 426 | 64 | no | yes | `version`, `floor` |
| <a id="cli.usage"></a>`cli.usage` | client | error | 400 | 64 | no | — | `flag`, `problem` |
