Skip to content

Diagnosis-to-Tool Mapping

Preflight uses a diagnosis-to-tool contract so every diagnostic can drive deterministic remediation across app UI, MCP/ACP, and CLI.

Each diagnosis may include:

  • manualGuidance: operator guidance and expected “right” state
  • toolRecommendation: recommended tool/action
  • fixAction: direct surgical action when available
  • converterRecipe: conversion recipe when transcode/resize is preferred
Diagnosis IDSeverityPreferred Tool PathFix Type
texture.missing_fileerrorpreflight_diagnose(action=texture) then preflight_fix(action=texture_convert) or fix:setTextureTool + Manual
texture.unreadable_or_corrupterrorpreflight_fix(action=texture_convert)Tool
texture.unsupported_container_or_encoding_for_targetwarningpreflight_fix(action=texture_convert)Tool
texture.exceeds_target_budgetwarningpreflight_fix(action=texture_convert, max_dimension=...)Tool
texture.colorspace_mismatchwarningpreflight_fix(action=texture_convert, gamut_out=sRGB)Tool
texture.no_mips_for_large_texturesadvisory/warningpreflight_fix(action=texture_convert, generate_mipmaps=true)Tool
texture.npot_or_alignment_riskadvisorypreflight_fix(action=texture_convert)Tool/Manual
Workflow ProfileValidation ScopeRecommended Backend
OpenUSDCore-onlyopenSource or automatic
RealityKitCore + RealityKit extensionautomatic (optionally appleTextureConverter for KTX2 flows)

appleTextureConverter remains optional and capability-gated. Core OpenUSD validation/remediation remains available without it.

The same diagnosis IDs and recommendations are exposed in:

  • App diagnostics UI
  • MCP/ACP tool responses
  • CLI JSON output (preflighttool validate, preflighttool texture analyze)