Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Flow and algorithm

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

High-level semantic algorithm:

  1. Collect resolved declarations and references from resolver outputs.
  2. Execute staged semantic rules over definitions, expressions, and contract items.
  3. Normalize findings into issue kinds from diagnostic_kinds.rs.
  4. Attach source location and contextual message payloads.
  5. Emit diagnostics through analysis services to CLI/LSP pipelines.

The deterministic contract is important for test stability: the same input project must produce the same set and ordering of semantic diagnostics.