glina verify

Invocation

glina verify [<file.glb>] [--config <path>]

Purpose

Run Glina's structural quality gate and, when configured, the Blender render-smoke gate.

Inputs and options

  • <file.glb> is optional when a workspace import is active. An explicit path wins; otherwise Glina reads the accepted destination recorded by glina import.
  • --config <path> selects verification thresholds and render-smoke settings. A missing explicit file or malformed config refuses. Without a config the gate checks structure, materials and animation presence; it checks a triangle budget only when verify.triTarget is stated, and refuses a target without verify.triTolerancePct (exit 1).

Output and state

Reads the GLB, may import it into Blender when render smoke is enabled, and prints the complete verification report. It exits 0 for ok: true and 1 for a completed report with ok: false.

Refusals

A missing path writes exactly error: verify requires a .glb path or an active imported asset and exits 2. An unparseable file or runtime integration error is printed as error: <message> and exits 1.

If neither an explicit file nor an active import exists, Glina exits 2 before verification. If the indexed active destination was removed outside Glina, it refuses rather than choosing another asset silently.