@davoodmehraban89 / Factor-easy / commits / 5783404
Fork 0

سامانه صدور فاکتور و حسابداری

Plan Office Slice C6 SLA evidence

davoodmehraban89 committed Oct 1, 2026 at 00:12 UTC 5783404e04a740cf2233ab58117a534afd7beab8
1 file changed +32
docs/superpowers/plans/2026-10-01-office-slice-c6-sla-reminder-escalation.md new
+32
@@ -0,0 +1,32 @@
1 +# Office Slice C6 — SLA Reminder / Escalation Evidence Plan
2 +
3 +Date: 2026-10-01
4 +
5 +**Goal:** Add a bounded internal SLA reminder/escalation engine for pending Office referrals and approvals without claiming external email/SMS delivery.
6 +
7 +## Scope
8 +- Server derives due/overdue state from immutable referral/approval request evidence.
9 +- Authorized users can emit internal `sla_reminder` and `sla_escalated` evidence for still-pending work.
10 +- Evidence references the exact work item, correspondence, target user and due time.
11 +- Deduplicate reminder/escalation per work item + policy window.
12 +- Escalation never changes or impersonates the assigned actor; it creates evidence/visibility only.
13 +- Server queue exposes reminder/escalation state.
14 +- UI surfaces overdue items and internal reminder/escalation actions to authorized organization admins/requesters.
15 +- No external email/SMS/webhook delivery claim in C6.
16 +
17 +## Security invariants
18 +1. Tenant isolation, entitlement, source-record access and confidentiality remain server enforced.
19 +2. Only pending referral/approval work can be reminded/escalated.
20 +3. Completed/rejected/approved work cannot receive new SLA events.
21 +4. Direct evidence forgery remains blocked.
22 +5. Duplicate reminder/escalation for the same policy window is rejected.
23 +6. Target identity is derived from immutable work evidence, not client input.
24 +7. All C1-C5, ELI and accounting/Golden gates remain green.
25 +
26 +## Delivery
27 +- [ ] RED static + Real-DOM gates.
28 +- [ ] Production migration + archived SQL.
29 +- [ ] Transactional adversarial verification with rollback.
30 +- [ ] Internal SLA queue/action UI.
31 +- [ ] Full Quality/Real-DOM/Security/Pages.
32 +- [ ] Verification doc, gap register and PROJECT_STATE.