pub fn validate_candidate_lineage(
candidate: &MemoryCandidate,
) -> LifecycleResult<()>Expand description
Validate the minimum lineage invariant for a memory candidate.
At least one of source_episodes_json or source_events_json must be a
non-empty JSON array. Missing (null) or empty lineage fails closed.