- Publication<T>: single-writer, multi-reader publication of complete
immutable values. acquire() returns a retainable Snapshot; a retained
snapshot stays coherent across any number of later publishes and keeps
the value alive until the last reader releases it.
- publish() is compare-and-publish over one atomic (value + version)
state: an expected epoch must match, and the new version must advance
(higher epoch, or same epoch with higher revision). Rejected publishes
leave the last good publication untouched, so a failed preparation
cannot corrupt readers.
- publish_next()/publish_epoch() convenience helpers.
- 7 tests: retained snapshots, stale-epoch rejection, non-advancing
revision, epoch reset, last-reader resource release, failed
preparation preservation and concurrent reader coherence.