Treasury & Bank Transfer Management System — سامانه مدیریت خزانه‌داری و حواله‌های بانکی

1 # Phase 7 — Production Infrastructure & Bank Go-Live
2
3 ## Repository-controlled completion
4 - [x] Production evidence model is fail-closed.
5 - [x] Identity policy requires verified provider, MFA and bounded sessions.
6 - [x] Recovery evidence requires successful restore and RPO/RTO thresholds.
7 - [x] Security operations evidence requires WAF, SIEM and alert delivery.
8 - [x] Bank lifecycle is DISABLED -> SANDBOX -> CERTIFIED -> LIVE.
9 - [x] LIVE requires explicit authorization, verified production credentials and verified certificate.
10 - [x] UNKNOWN transfer behavior from earlier phases remains manual-review/no-auto-retry.
11 - [x] Production PostgreSQL migration/RLS contracts exist from Phase 6.
12 - [x] Portable container and production runbook exist from Phase 5.
13
14 ## External production evidence — BLOCKED_EXTERNAL until actually supplied
15 - [ ] Provisioned production PostgreSQL instance and executed RLS integration proof.
16 - [ ] Configured external identity provider and MFA proof.
17 - [ ] Configured KMS/secret store proof.
18 - [ ] Configured WAF/SIEM/alert-delivery proof.
19 - [ ] Executed production backup/restore drill proving RPO <= 15m and RTO <= 60m.
20 - [ ] Bank-specific sandbox credentials/protocol implementation and certification evidence.
21 - [ ] Production bank certificate/credentials and explicit LIVE authorization.
22 - [ ] Controlled canary/live transfer and production rollback rehearsal.
23
24 These items cannot be truthfully completed from repository access alone. No infrastructure purchase/provisioning, credential mutation, bank certification, or real-money transfer is performed without the required external access and explicit authorization.
25
26 ## Final repository verification
27 - [x] Full project review completed; identified tenant-RLS write/FK gaps, readiness false-positive, Phase 6 checklist inconsistency and CI syntax issue were corrected.
28 - [x] TypeScript strict typecheck passed.
29 - [x] 83/83 tests across 35 files passed.
30 - [x] ESLint source verification passed.
31 - [x] npm production dependency audit: 0 vulnerabilities.
32 - [x] Next.js 16.3.8 production build passed.
33
34 **Repository gate result:** PASS on 2026-10-05.
35
36 **Production go-live gate:** BLOCKED_EXTERNAL until every unchecked external-evidence item above is actually verified. This is intentional fail-closed behavior, not an application test failure.