mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-14 00:00:30 +00:00
3d48649867
Phase 1 slice 4 of docs/ALERT_ENGINE_EVOLUTION.md. The reducer now keeps a resolved-occurrence ledger: an activation inside RefireRetention (5 minutes, on the signal clock) consumes the record, restores the original occurrence's StartedAt, and emits EventRefired — mirroring consumeRecentlyResolvedForRefireWithPrimaryLock, where a re-fire within the recently-resolved window reactivates the same occurrence without a new history entry. Outside the window the re-fire is a fresh occurrence with a fresh start. reducer_parity_refire_test.go anchors the simulated epoch at wall time and backdates recentlyResolved timestamps per step so the manager's wall-clock retention check follows simulated time; StartTime is asserted exactly on both engines. First parity slice with no manager defect found. The wall-vs-evidence clock mix in the manager's retention check is recorded as a deliberately deferred nuance.