Validate a MotionSpec (trust boundary)
motion_validateValidate a MotionSpec against schema, allow-list, bounds, and injection rules. Returns precise errors to pre-check before compiling.
Instructions
Checks a MotionSpec against the schema, the primitive allow-list, parameter bounds and injection rules. Fail-closed: returns ok=false with precise errors. Use to pre-check a spec before compiling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The MotionSpec JSON object |