Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Diagnostics parity (CLI and LSP) - Design model

Platform spec article

Diagnostics parity (CLI and LSP) - Design model

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Parity is defined at semantic meaning, not identical text formatting. CLI and LSP must use the same ProgramAssembly discovery mode policy (closure for build/run; workspace scan for IDE project diagnostics when a compile plan exists).

  • CLI parse diagnostics are path-anchored for user files.
  • Lowering parse diagnostics may use synthetic source names.
  • LSP has cold-parse and warm-snapshot paths but must align on rule outcomes.