Consumers need one contract.
Flow and algorithm
Platform spec article
Flow and algorithm
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).
Validation flow
Section titled “Validation flow”- Parse
Project.projintoProjectManifest. - Classify project type. If
Mod, validate optionalproject.modkeys (maxGeneratorRounds,capabilities,artifactPolicy). - Insert node into workspace/project graph; reject invalid Mod dependency topology.
- For host builds, resolve transitive
Moddependencies and ensure AOT artifacts are available (build or cache hit).
Host compilation flow
Section titled “Host compilation flow”- Build
CompilePlanfor App/Lib/Test host target. - Resolve transitive
Modpackages from dependency graph. - Load/build mod AOT artifacts (
mod.load). - Run
Collector→Generator→ semantic →Analyzer→ optionalRewriterper Stage ordering.
Lockfile and materialized dependency roots for mod packages use the same workspace materialization path as ordinary projects.