feat(sla): business-hours-aware SLA clock engine (PMS-106) #72
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pms-106-sla-clock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements PMS-106 core. New pure tz-aware clock engine (src/modules/sla/clock.rs): due_at consumes only working minutes, skipping nights/weekends/holidays, with a 24x7 wall-clock path. Extensive unit tests (101 lib tests incl. weekend skip, holiday mid-span, fractional hours, DST, NY tz). evaluate_for_ticket resolves policy (contract sla_id else tenant default) + computes first_response_due/resolution_due via the engine. Adds chrono-tz. tests/sla.rs integration test green. Breach/at-risk notification dispatch deferred (SlaService has no NotificationsService handle; follow-up). clippy -D warnings clean.