Clean up accumulated migration scaffolding, dead engine layers, and frontend/backend drift across the alert stack without changing external API contracts:
- Retire the duplicate legacy checkMetric evaluator and unused specs.Evaluate state machine, and stop enabling the duplicate production shadow feed in monitoring.
- Fix two real defects exposed during consolidation: fan out canonical metric alerts to all registered subscribers even when no single-slot callback is set, and copy Value/Message/LastSeen on resolved operational snapshots in HistoryManager so legacy and SQLite history projections stay in parity.
- Align frontend AlertConfig types and payloads with the Go backend by removing dropped dead fields (aggregation, ioNormalization, nested flapping, notifications, maxGroupSize), adding the real backend alert-hygiene and flapping fields, and deduplicating Override/OverrideType.
- Group alerts.Manager platform tracker maps into embedded structs, split internal/notifications/notifications.go into focused delivery/config/dispatch/SSRF files, and consolidate the four duplicated platform alert tables into canonical PlatformAlertsTable.
Contract-Neutral: Alert system internal cleanup: retire dead engine layers, fix config drift and callback/history bugs, split notifications monolith, and deduplicate platform alert tables without changing external API or governance contracts.
A partial or trickling loopback request could hold the non-daemon webhook reader through cleanup until the enclosing CI step was killed, losing the terminal receipt. Give each accepted connection a fixed absolute deadline, retain its first closed failure, and keep destination failure separate from successful teardown. Real-socket controls cover valid bytes, stalled headers/body, trickling input and malformed requests.
Contract-Neutral: Bound only the existing loopback notification CI fixture and its terminal evidence; no product notification, authentication, installer, release or frontend contract changes.
Change-source: pulse-maintainer
Preserve the type/build/bundle admission, complete audit and every required result while allowing the four unit shards to overlap backend and native runtime checks. Bind the same validated frontend and embed bytes to this run, source and attempt with a separately verified SHA256 and constrained extraction. Exercise the actual transfer and fail-closed aggregate through the existing smoke and Go install-test commands.
Change-source: pulse-maintainer
Keep outbound telemetry disabled through the process environment, test the expected locked-field refusal, and save only the unrelated notification fields. Assert the lock on restart rather than attempting to persist it.
Contract-Neutral: Correct the CI-only synthetic journey and its controls; product settings, deployment restrictions, permissions and runtime contracts are unchanged.
Change-source: pulse-maintainer
Reuse the real-embed application to verify authenticated live startup, narrow destination admission, monitoring-only token scope, ordinary alert delivery, persisted sessions and saved policy across a real process restart. Keep source/binary identity, single-submission mutation rules and owned child/listener cleanup in a bounded receipt. This prevents component passes from hiding application-path regressions without another build or host capability.
Contract-Neutral: CI-only validation of existing authenticated notification and persistence behaviour; no product, permission, installer or release contract delta.
Change-source: pulse-maintainer