Feature Validate
feature_validateValidate feature definitions before building: catch unknown templates, missing or malformed references, and invalid scalar inputs, returning a list of problems.
Instructions
Validate a feature instantiation {template, refs, inputs} WITHOUT building it — the cheap structural front door (mirrors recipe_validate). Catches an unknown template, an unknown/missing required reference, a malformed reference value, and every scalar-input failure (missing required, out of range, wrong type, bad unit, unknown key). A tag that doesn't resolve against real geometry is caught at feature_instantiate time. Returns {ok, problems}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | ||
| inputs | No | ||
| template | Yes |