mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-14 00:00:30 +00:00
9ddfc69ec7
Phase 1 slice 6 of docs/ALERT_ENGINE_EVOLUTION.md. DiscreteRule.Intent characterizes the manager's intent gate as composed by evaluateCanonicalLifecycleAlert: operator suppression (expected offline, muted, retired, active maintenance windows) and explicit grace policies hold activation only — confirmations keep counting, the incident stays pending, and release activates with the run's first active observation as the start; an already-firing incident is never suppressed. Grace accrues concurrently with operator suppression. The manager measures grace on monotonic process runtime; the reducer uses the signal clock, coincident under continuous operation. reducer_parity_intent_test.go drives the real composition with the manager's m.now and m.intentClock seams on the simulated clock, a scenario-controlled operator resolver, and policies loaded through LoadIntentPolicies. Third consecutive parity slice with no manager defect found; the operator scenarios' StartTime parity exercises the lifecycleFirstMatched preservation in composition. Deferred: the backup-offline deferral sub-policy.