Skip to content

Release v4.215.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 05:59
545f9c1

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.Compare compares a model with a host-supplied ObservationSnapshot and returns an ObservationReport. 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.FromModel maps events by their stored name and generation and commands by unique name; hosts add reactor and other target-specific identifiers with With. (#294)
  • ObservationReportJson writes the report as stable JSON, so every host reports the same result. (#294)