Consumers need one contract.
Verification and traceability
Platform spec article
Verification and traceability
Spec standingStandard
-
Hub authority
Context
Decision
Hub owns Project.proj normative text.
Consequences
Mod/Template on hub.
Verification anchors
manifest tests.
-
Mod and Template types
Context
Discriminate project kinds.
Decision
May declare type Mod or Template; hosts use Host + corelib.
Consequences
Links to mods/scaffolding.
Verification anchors
project fixtures.
- Contracts and edge cases Strict guarantees and failure modes for Mod project manifests.
- Design model Conceptual model for `Project manifest contract` and its subsystem boundaries.
- Examples Concrete examples for `Project manifest contract` decisions and usage patterns.
- FAQ and troubleshooting Project manifest tooling FAQ.
- Flow and algorithm Manifest validation and Mod package discovery flow.
- Project link libraries Normative project.link block for Extern library resolution at link time (v0.3).
- Verification and traceability Verification for tooling-side project manifest contracts.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Compiler tests
Section titled “Compiler tests”| Topic | Path |
|---|---|
| Corelib + manifest helpers | compiler/crates/beskid_tests/src/projects/corelib/mod.rs |
| Mod manifest validation | Compiler-mod test suites + parser unit tests |
| Pack profile from manifest | beskid_pckg/src/pack.rs tests |
Tooling traceability
Section titled “Tooling traceability”| Tooling rule | Verification |
|---|---|
Mod type routing | detect_pack_profile + graph ProjectKind::Mod |
Template packageKind | pckg server template integration tests |
| Readme injection | Pack tests + PackagePublishDocumentationTests |
| Corelib opt-out forbidden | reject_corelib_opt_out_keys parser tests |
Spec maintenance
Section titled “Spec maintenance”Manifest vocabulary changes must update: tooling design model, compiler project-manifest feature, Diagnostic code registry, and any template scaffolds under beskid_templates/.
Run cd site/website && bun run verify:trudoc -- --preset ci after MDX edits; compiler cargo test for touched parser/graph modules.