feat: preflight validation support for model conversions - #116
Merged
Merged
Conversation
This was referenced Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add shared model preflight and import diagnostics across CLI, HTTP API,
MCP, WASM, and Studio.
Previously, malformed input could silently lose flows, receive replacement
identities, or discard misspelled manifest fields. Conversions could also
remove important model information without warning. This change reports
those conditions before importing or writing output.
Preflight validates document integrity and known format limitations.
It does not evaluate security rules, repair models, or change threat triage.
Changes
and actionable messages.
fields and identities, unsupported kinds, invalid sizes, and unresolved
or cross-page flow endpoints.
propertiesinstead ofprops, even when--forceis specified.omitted or inferred content.
tmforge preflight,/v1/model/preflight, the WASM export, and asandboxed MCP
preflighttool.identities, metadata, knowledge bases, and coordinate translation.
--fail-on-lossto reject warnings without modifying existing output.Continue or Cancel. Reject stale results after workspace edits.
No new dependencies or separate analysis pipeline are introduced.
Compatibility and Limits
Custom property bags, Studio view fields, and expected pack fingerprints
remain recognized.
and saving the current JSON workspace remain available.
to 100. Exhausting the diagnostic budget produces a blocking error.
interoperability or validation by the destination product.