51 lines
2.1 KiB
Markdown
51 lines
2.1 KiB
Markdown
# SLA — pending implementation
|
|
|
|
Ordered by impact. Update this file when items ship.
|
|
|
|
## P0 — High impact
|
|
|
|
| # | Item | Status |
|
|
|---|------|--------|
|
|
| 1 | F&F runtime hooks | **Done** |
|
|
| 2 | SLA badges (all modules list + detail) | **Done** |
|
|
| 3 | My SLA Queue (`mineOnly` + export) | **Done** |
|
|
| 4 | Deactivate legacy SLA rows via seed | **Done** (run `seed-sla-configs.ts` per env) |
|
|
|
|
## P1 — SRS completeness
|
|
|
|
| # | Item | SRS ref | Status |
|
|
|---|------|---------|--------|
|
|
| 5 | Pause/resume SLA on **On Hold** | §9.4.3 | **Partial** — termination hold wired; resignation/relocation hold not implemented in workflow |
|
|
| 6 | Working-day calendar + business hours | §9.4.5 | **Done** |
|
|
| 7 | Repeat overdue reminder cadence | §9.4.2 | **Done** |
|
|
| 8 | Geography-aware escalation (zone → RBM/ZBH) | §9.4.3 | **Done** — `slaGeographyResolver.ts` + `SLAService` notify/escalation |
|
|
| 9 | Resignation clearance substages (optional per-dept TAT) | 02_Dealer_Resignation | Not started (F&F dept SLAs done separately) |
|
|
|
|
## P2 — Reporting & ops
|
|
|
|
| # | Item | Status |
|
|
|---|------|--------|
|
|
| 10 | Breach rate / avg resolution / top delayed analytics | **Done** — 30-day panel on Operations monitor |
|
|
| 11 | Aging buckets | **Done** |
|
|
| 12 | Export compliance CSV | **Done** |
|
|
| 13 | E2E automated tests | **Done** — `src/__tests__/sla-lifecycle.test.ts` |
|
|
|
|
## P3 — Optional
|
|
|
|
| # | Item | Status |
|
|
|---|------|--------|
|
|
| 14 | Per statutory sub-status SLA | Not started |
|
|
| 15 | Admin UI for questionnaire reminder cadence | **Done** — Schedulers tab + `PUT /api/sla/settings/questionnaire-reminder` |
|
|
|
|
---
|
|
|
|
## Verification checklist
|
|
|
|
1. `npm run migrate:up` (applies pending versioned migrations, including SLA schema)
|
|
2. `npx tsx scripts/seed-sla-configs.ts`
|
|
3. `ENABLE_REDIS=true` + restart API
|
|
4. Operations monitor → analytics cards, **My queue**, **Export CSV**, **Schedulers** → questionnaire settings
|
|
5. Termination **On Hold** → SLA **Paused**; resume on next transition
|
|
6. Escalation to RBM/ZBH routes to district/region/zone mapped users (not global first match)
|
|
7. `npm test -- sla-lifecycle`
|