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

1 # Phase 6 Gate — Production Platform Foundation
2
3 - [x] Two-phase remaining-work closure plan recorded.
4 - [x] PostgreSQL production-core migration defines tenant-scoped master/payment/statement/audit tables.
5 - [x] PostgreSQL RLS policies and tenant-scoped payment idempotency uniqueness are specified.
6 - [x] Trusted session/request context rejects unverified/incomplete identity and enforces roles.
7 - [x] Tenant-scoped repository/application-service boundary added.
8 - [x] Representative/fake dashboard numbers removed; server-derived empty-state view used instead.
9 - [x] Persian RTL dashboard source encoding repaired and regression-tested.
10 - [x] Readiness endpoint added with bank adapter explicitly disabled.
11 - [x] Runtime configuration rejects insecure production URL and unauthorized live-bank mode.
12 - [x] CI expanded to all phase/release branches with schema and committed-secret checks.
13 - [x] Fresh full verification and branch push completed; see Phase 6 final commit ecee423.
14
15 ## Boundary
16 Phase 6 provides repository-level production platform contracts and migration artifacts. It does not claim a provisioned PostgreSQL instance, configured external identity provider, KMS/SIEM/WAF, completed restore drill, or a bank-specific production connection. Those are Phase 7 and require external infrastructure/credentials and explicit authorization where applicable.
17
18 **Gate result:** PASS locally on 2026-10-05. Phase 6 repository-level production platform foundation is complete within its stated boundary.
19