Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Contracts and edge cases

Platform spec article

Contracts and edge cases

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Contracts enforced by semantic rules:

  • Rules must report through canonical issue kinds, not ad-hoc string identifiers.
  • Rules should not mutate resolver state while validating semantic constraints.
  • Rule failures must preserve source spans that point to user-owned code.

Edge cases to monitor:

  • Forward references across modules with cyclical dependencies.
  • Generic-like type usage that resolves in parser form but fails in semantic type passes.
  • Method and contract member collisions discovered only after full symbol table assembly.