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

Phase 6 Gate — Production Platform Foundation

  • Two-phase remaining-work closure plan recorded.
  • PostgreSQL production-core migration defines tenant-scoped master/payment/statement/audit tables.
  • PostgreSQL RLS policies and tenant-scoped payment idempotency uniqueness are specified.
  • Trusted session/request context rejects unverified/incomplete identity and enforces roles.
  • Tenant-scoped repository/application-service boundary added.
  • Representative/fake dashboard numbers removed; server-derived empty-state view used instead.
  • Persian RTL dashboard source encoding repaired and regression-tested.
  • Readiness endpoint added with bank adapter explicitly disabled.
  • Runtime configuration rejects insecure production URL and unauthorized live-bank mode.
  • CI expanded to all phase/release branches with schema and committed-secret checks.
  • Fresh full verification and branch push.

Boundary

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.

Gate result: PASS locally on 2026-10-05. Phase 6 repository-level production platform foundation is complete within its stated boundary.