Treasury & Bank Transfer Management System — سامانه مدیریت خزانهداری و حوالههای بانکی
dev/v7-production-failclosed-20261021
ci/public-windows-bridge-probe-20261017
ci/windows-dispatch-bootstrap-20261016
ci/windows-dual-app-lab-20261016
dev/v7-production-failclosed-20261021
feature/reconciliation-guard-20261013
main
phase-1-foundation
phase-1-implementation
phase-2-treasury-core
phase-3-banking-reconciliation
phase-4-operations-enterprise-ux
phase-5-hardening-release
phase-6-production-platform
phase-7-production-infrastructure-bank-golive
phase-7-sql-readonly-ux-20261015
transfer-exe-to-drive-20261006
| 1 | # Phase 7 Design — Production Infrastructure & Bank Go-Live |
| 2 | |
| 3 | ## Objective |
| 4 | Complete every repository-controlled production and go-live safeguard while keeping real external systems fail-closed until verified evidence exists. |
| 5 | |
| 6 | ## Architecture |
| 7 | Provider-neutral evidence gates surround PostgreSQL, identity/MFA, KMS/secrets, WAF/SIEM/alerts, recovery drills and bank connectivity. Bank activation progresses only DISABLED -> SANDBOX -> CERTIFIED -> LIVE. LIVE requires explicit authorization plus verified production credentials and certificate. |
| 8 | |
| 9 | ## Non-negotiable invariants |
| 10 | - Tenant isolation is enforced in application context and PostgreSQL RLS, including write checks and tenant-bound foreign keys. |
| 11 | - Maker/checker separation and UNKNOWN no-auto-retry remain in force. |
| 12 | - Readiness fails closed when production dependencies are absent. |
| 13 | - Secrets/private keys are never committed or emitted in telemetry. |
| 14 | - External evidence is never inferred from repository tests. |
| 15 | |
| 16 | ## Completion definition |
| 17 | Repository-controlled code, tests, migrations, CI, deployment contracts and runbooks pass. Any item requiring real external infrastructure, credentials, certification, money movement or access mutation is explicitly BLOCKED_EXTERNAL until actually performed under authorization. |