Expand description
Parses and validates the LLM’s YAML reflection response.
Two-stage: (1) serde_yaml::from_str into an LlmEnvelope of
EventKinds, then (2) per-variant semantic checks against the
existing item IDs in the current session state. Failure returns a
ValidationError that carries the raw output for the caller to
attach to a reflection.error event.
Structs§
- Validation
Error - A parse failure or a semantic check failure.
Functions§
- parse_
and_ validate - Parses
raw_yamland validates each event against the v1 rules.