Expand description
Structural validation of policy node graphs, run before compilation (e.g. at config load and on Admin API writes) so malformed policies are rejected with actionable messages instead of failing at request time.
Constants§
- RESERVED_
ERROR_ 🔒IDS - Error-boundary ids that would collide with an instance’s fixed port
names (spec §1).
erroris the one special id: it is both the port name and the black-box default exit. - RESERVED_
OUTPUT_ 🔒IDS - Output-boundary ids that would collide with an instance’s fixed port
names (spec §1).
outputis the one special id: it maps tosuccess.
Functions§
- validate_
policy - Validates a policy’s node graph structure, collecting all violations.
- validate_
supernode - Validates a supernode definition’s structure, collecting all violations.