validate_gate
Check a previs gate checkpoint by providing gate number and criteria results to receive PASS or FAIL with actionable fix details.
Instructions
Validate a gate checkpoint. Provide the gate number (1–7) and a dict of {criterion_key: True/False} using the exact keys returned by get_gate_criteria(gate_number). Returns PASS or FAIL with details on what needs fixing.
Example: validate_gate(1, { "viewport_matches_hero_frame": true, "objects_at_real_world_scale": true, "objects_separated_named_editable": true, "ground_plane_correct_height": false })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | Yes | ||
| gate_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |