CultCache C#: a public Clock for reproducible stores #190
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/cs-public-clock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CultCache.Clock(was internal) is the clock behind every storedAt a cache and its attached stores mint; default DateTimeOffset.UtcNow; null throws. Pin it to write reproducible stores; the README's "Reproducible stores" section states the limits (consumer keys, set or derived element ids; a pinned clock advances one tick per rewrite). A plain Func rather than System.TimeProvider, so Unity builds need no extra package. C# keeps its restamp semantics (clock-now), the one differencecultlib-gaps:ruling:sibling-restamp-staged-derivedrecords.Spec
cultlib-gaps:cut_spec:cut-cs-public-clock.r1, report h1; each new test fails under its mutant. Matches the Rust clock (#189); Python and TypeScript follow.🤖 Generated with Claude Code