pub fn validate(chronicle: &Chronicle) -> ValidationReportExpand description
Run all four validation passes over the given Chronicle and return a ValidationReport.
The passes, executed in order, are:
- Referential integrity — every ID referenced by an entity must exist in the graph.
- Temporal consistency — participant lifespans and causal ordering are checked using Allen’s Interval Algebra.
- State tracking — entities with terminal statuses (per
ValidationConfig) cannot appear in events that occur strictly after the status-changing event. - Orphan detection — entities with no edges in either direction produce warnings.