Skip to main content

Module validate

Module validate 

Source
Expand description

Semantic validation of TowerRule values.

Called after parsing, before loading a rule into the supervisor. Shape errors (e.g. Not with 2 children) are caught at compile time; semantic errors (e.g. empty rule ID, blank agent prompt) are caught here.

Structs§

RuleWarning
Soft check that passed but may indicate misconfiguration.

Enums§

RuleError
Hard constraint violation that makes a rule impossible to load.

Functions§

validate
Validate a parsed TowerRule.