Diagnostics
Every finding has a stable code, severity, message, optional route path, and source document. Use the code in docs, filters, and CI scripts.
Codes
| Code | Severity | Group | Meaning |
|---|---|---|---|
CMS-ROUTE-404 | error | routes | Expected route returned 404. |
CMS-ROUTE-500 | error | routes | Expected route returned a 5xx response. |
CMS-ROUTE-ERROR | error | routes | Route probe failed or returned another 4xx response. |
CMS-ROUTE-INVALID | error | routes | Config route resolved to an empty, non-slash, or protocol-relative path. |
CMS-ROUTE-RESOLVE | error | routes | The configured getPath function threw. |
CMS-UID-MISSING | error | routes | A route pattern needs :uid, but the document has no UID. |
CMS-ROUTE-UNMAPPED | info | routes | Document type has no configured route mapping. |
CMS-FIELD-MISSING | error or warning | fields | A project-specific required field is missing or blank. Severity follows that field rule. |
SEO-META-MISSING | warning | seo | SEO title or description is blank across the provider-specific field shapes cms-lab understands. |
A11Y-IMG-ALT | warning | a11y | A CMS image field is missing useful alt text in the provider native alt field. |
Explain a code
Use the CLI when you want the short fix guidance in your terminal.
npx @cms-lab/cli explain CMS-ROUTE-404