Repository navigation
Release v4.215.0
Screenplay can now compare a compiled model with a bounded snapshot of what a running event store holds, so a host such as the cratis CLI or Chronicle.Mcp can show where the namespace differs from what the .play model declares.
Added
ObservationComparison.Comparecompares a model with a host-suppliedObservationSnapshotand returns anObservationReport. The snapshot holds registered event types and generations, append counts, command and reaction edges attributed by causation, and registered consumers. The report gives typed findings (Drift, Informational, Unknown or Excluded), the coverage behind them and per-slice evidence. Absence is never reported as drift when coverage is partial, conditional or opaque. Productions are reported as Unknown with a stated reason. See Observation comparison. (#294)ObservationIdentityMap.FromModelmaps events by their stored name and generation and commands by unique name; hosts add reactor and other target-specific identifiers withWith. (#294)ObservationReportJsonwrites the report as stable JSON, so every host reports the same result. (#294)