Tracker
Roadmap search
Versions, deliverables, workstreams, tasks, and pages
Stage ordering and lowering - Verification and traceability
articleStandard
src/content/docs/platform-spec/compiler/build-pipeline/stage-ordering/verification-and-traceability.mdx
import SpecArticleChrome from '@beskid/beskid-ui/platform-spec/SpecArticleChrome.astro';
<SpecArticleChrome />Implementation anchors:
compiler/crates/beskid_analysis/src/projects/assembly/compiler/crates/beskid_analysis/src/services/front_end.rscompiler/crates/beskid_codegen/src/services.rscompiler/crates/beskid_analysis/src/services.rscompiler/crates/beskid_cli/src/commands/build.rscompiler/crates/beskid_engine/src/services.rscompiler/crates/beskid_tests/src/projects/assembly.rs
Traceability should include tests that assert semantic failures stop before backend stages.
Mod phase ordering tests
When the mod host ships, add integration tests under compiler/crates/beskid_tests/ that:
- Install a test
PipelineObservercollectingPhaseStart/PhaseEndids. - Assert the substring
parse→mod.load→mod.collect→mod.generate→semantic→mod.analyze→lower.ready→lowerappears in order for a workspace fixture with a transitiveModdependency (see Project manifest contract / verification for manifest fixture layout).
Any change to FULL_BUILD_PHASE_ORDER or mod insertion rules must update these expectations in the same commit.