Tracker
Roadmap search
Versions, deliverables, workstreams, tasks, and pages
Conformance evidence policy
featureStandard
src/content/docs/platform-spec/compiler/conformance/conformance-evidence-policy/index.mdx
import SpecPageHeader from '@beskid/beskid-ui/platform-spec/SpecPageHeader.astro';
<SpecPageHeader status="Standard" ownerName="Piotr Mikstacki" ownerEmail="pmikstacki@cybernomad.it" submitterName="Piotr Mikstacki" submitterEmail="pmikstacki@cybernomad.it" />This feature hub defines the normative contract for conformance evidence policy and links newcomer-oriented reference articles.
Implementation anchors
compiler/crates/beskid_tests/src/analysis/diagnostics.rsprovides semantic conformance evidence.compiler/crates/beskid_tests/src/doc_tests.rsvalidates docs-facing conformance examples.compiler/crates/beskid_e2e_tests/src/tests/runtime_cases.rsprovides executable behavior evidence.
Compiler mods evidence (required when feature ships)
Conformance for Mod projects must include, at minimum:
- Manifest goldens — Valid and invalid
Project.proj/Workspace.projpairs with stable diagnostic codes fortype = Mod,modsettings, and capability violations. - Pipeline ordering — A test
PipelineObserverrecording parse,mod.load,mod.collect,mod.generate, semantic gate,mod.analyze,mod.rewrite, and lowering in documented order. - Incremental replay — Fixtures performing edits with identical keys that assert stable generator outputs.
- Analyzer coverage — Fixtures showing analyzers run over host and generated code.
- LSP parity — Snapshot tests ensuring mod diagnostics round-trip through
beskid_lspwith the same codes as CLI analysis.
Fixture layout for manifest/mod work must follow names documented in Project manifest contract / verification.
Decisions
No open decisions. Closed choices are normative ADRs under adr/ (D-COMP-CONF-0001 … D-COMP-CONF-0003); use the reader ADRs tab for expandable detail.