Structured compiler diagnostics shared across hosts.
| Status | Scaffold only (crate exists; codes not defined) |
| Owners | echo_diagnostics (model); producing layers emit diagnostics |
| Related | docs/adr/0005-structured-diagnostics-contract.md |
Diagnostic shape, severity, stable codes, related spans, and presentation boundaries. CLI and LSP format; they do not invent analysis categories.
- Shared model crate:
echo_diagnostics. - Presentation may use pretty printers later; the model is the contract.
| Code | Severity | Summary | Emitting layer |
|---|---|---|---|
| — | — | — | — |
- Code numbering scheme (
E0001vs domain prefixes)