Orchestrator for the demo's inspect pipeline. Walks every
Inspection registered in the configured
InspectionRegistry, concatenates each run's issues, and
finalises the result into an InspectionReport bucketed
by severity and by code.
The validator only inspects state — it never mutates the
SceneModel. Callers that want to block on errors should check
report.errors.length === 0; optimizeSceneModel does
this itself on entry.
Every inspection that has optIntrue reads its own check… flag from params and
returns an empty array when the flag is unset, so this
orchestrator stays oblivious to per-inspection knobs.
Orchestrator for the demo's inspect pipeline. Walks every Inspection registered in the configured InspectionRegistry, concatenates each
run's issues, and finalises the result into an InspectionReport bucketed by severity and by code.The validator only inspects state — it never mutates the SceneModel. Callers that want to block on errors should check
report.errors.length === 0; optimizeSceneModel does this itself on entry.Defaults
truereads its owncheck…flag fromparamsand returns an empty array when the flag is unset, so this orchestrator stays oblivious to per-inspection knobs.Custom inspections
Or for tests / isolated runs, build a fresh registry: