Expand description
§7.3 terminal-report payload validation (design.md §7.3).
Validates the structural shape of a node.report payload — success
required; optional summary, cancelled/reason, discussion_items,
spinoff_proposals, wrap_up_recommendations — before the reducer
ever projects it. Lives in octl-core (not the CLI) so the supervisor
can validate child reports with the same rules it would consume
(design.md §7.3 step 3), rather than copying the validator or depending
on the CLI crate.
Errors are domain-typed (ReportValidationError); the CLI maps them
to its CliError envelope at the boundary.
Enums§
- Report
Validation Error - A §7.3 report payload failed structural validation.
Functions§
- validate_
report_ payload - Validate a §7.3 report payload’s structural shape.