Examples Search docs

Property & model tests

When unit examples are not enough, pin invariants across random schedules.

High-value properties

PropertyIdea
Journal ≡ modelRandom command sequences; store fold equals pure reference model
Fence monotonicEpoch never decreases for a stream key
Positions monotonicreadAll positions strictly increase
OCCConcurrent appends never both commit same seq
Codec round-tripencode∘decode = id for supported codecs
Effect stagingCommit atomicity under crash injection
IdempotencyKeys collapse duplicates

Tooling notes

  • Prefer deterministic seeds (resilience profiles already use them).
  • Shrink failures to minimal command traces for humans/agents.
  • Run property suites in package scope — not as default discovery diagnostics for unrelated changes.

Durability · Aggregates · Benchmarks