mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-06 02:23:05 +00:00
9225b0dcf9
Keep each alert with one outstanding card, group or global acknowledgement request in the shared realtime store. Busy state survives an overview remount, overlapping actions leave already-owned alerts with their original request, and partial group results report both success and failure counts. End request ownership and optimistic confirmation guards together when the alert scope changes, including their timers. Late responses cannot change or notify the next scope when identifiers are reused. A reconnect within the same scope retains both. The system-alert test factory now supplies the required owner through typed props. Owning contract: `docs/release-control/v6/internal/subsystems/alerts.md` (L6), with the shared realtime and frontend contracts updated. Verification: current-main and retained-patch scope-switch regressions reproduced, then corrected. The final alerts/store/page suite passed 92 files and 1,441 tests. Type checking, the full lint chain, production build and normal commit/pre-push hooks pass. Playwright and pixel review cover 72 captures of `/alerts/overview` at 1440x1000, 768x1000 and 390x844 using built production controls and private API/socket fixtures, including partial results, retries, overlap, remounts, scope changes, reconnects and adjacent overlays. The initial whole-tree worker attempt and baseline failure probes are retained separately. Full frontend proof remains required through all four protected CI shards before landing. The [browser receipt](https://github.com/rcourtman/Pulse/blob/f2696232714d5ffe0b4c07105539977afc14aec0/frontend-modern/browser-verification/ef19f599dcfea639.json) binds to the exact runtime bytes.