Skip to main content

Module validate

Module validate 

Source
Expand description

Load-time validation of a factory definition.

Everything here runs before the first flight, because an unattended factory that discovers a typo three agents deep has already spent money to find out. Errors block startup; warnings describe shapes that are legal but known to be hazardous.

The checks are grouped by what they are about — agents, routes, reach, pipelines and prompts — and each group lives in its own file so that any one of them fits comfortably in view.

Structs§

Diagnostic
A single validation finding.

Enums§

Severity
How serious a finding is.

Functions§

has_errors
Returns true if any finding blocks startup.
validate
Checks everything about a factory definition that does not need prompt files.
validate_prompts
Checks that every agent’s prompt composes, and that it only names declared flags.