Checks the model for internal consistency, producing diagnostics in Studio, the IDE Extension, and CI.
The IOModel Compiler checks that the model itself is internally consistent — valid structure, resolvable references, unique slugs — and reports problems as diagnostics. It runs in Studio, the IDE Extension, and CI.
What it checks
The Compiler is tolerant by design: it always returns a usable tree and reports issues as diagnostics rather than failing outright.
| Diagnostic | Meaning |
|---|---|
invalid-yaml | A file is not valid YAML |
invalid-slug | A model or object slug is not allowed |
duplicate-slug | Two siblings share the same slug |
unknown-reference | A link target cannot be resolved |
inline-and-file-collision | An object is defined both inline and in its own file |
Compiler vs Validator
The Compiler answers “is the model internally consistent?”. The Validator answers “does the model match the real system?” using the digital twin.
Where it runs
- Studio — diagnostics banner while you edit.
- IDE Extension — inline editor problems with file and line locations.
- CI — exit codes gate merges on invalid model or spec changes.
Pro plan
The Compiler is part of the IOModel Pro plan. See Plans for the full breakdown.
Related
Last updated on