Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Rules pipeline contract - Verification and traceability

Platform spec article

Rules pipeline contract - Verification and traceability

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

This article documents verification and traceability for rules pipeline contract in the reference compiler.

For newcomers, this page explains where the contract shows up in day-to-day compiler work and which code paths are most useful first reads.

  • compiler/crates/beskid_analysis/src/analysis/rules/ defines staged rule groups.
  • compiler/crates/beskid_analysis/src/analysis/diagnostic_kinds.rs classifies emitted diagnostics.
  • compiler/crates/beskid_analysis/src/services.rs wires semantic services used by CLI/LSP.
  • Prefer tracing from CLI/test entry points into analysis/codegen crates before changing internals.
  • Treat diagnostics and tests as part of the contract, not optional implementation details.
  • If behavior changes, update this article and add/adjust tests in compiler/crates/beskid_tests or compiler/crates/beskid_e2e_tests.