TorbatYar/docs/official-deployment-report-platform-fe.md
Mortezakoohjani 0d424c500a feat(platform): complete commercial runtime consolidation
Unify commercial runtime ownership across backend and frontend so platform, experience, and hospitality modules use the shared commercial source of truth.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 11:11:53 +03:30

6.6 KiB
Raw Blame History

OFFICIAL DEPLOYMENT REPORT — Platform FE Finalize

STOP condition: Do not continue to CRM. Do not modify backend. Do not start another module.


Deployment metadata

Field Value
Timestamp 2026-07-28 ~17:20 UTC
Commit SHA 091b33a638b4b765cbdf3dc85e6aea3db02187f0
Short 091b33a
Branch cursor/communication-frontend-sms-mvp
Repository git@git.torbatkar.ir:morteza/TorbatYar.git (https://git.torbatkar.ir/morteza/TorbatYar.git)
Server 192.168.10.162 (user morteza)
Remote path /home/morteza/torbatyar
Push method HTTPS to Gitea (SSH :2222 timed out from agent host)
Deploy method Tar overlay of FE assets → docker compose build frontend → recreate only frontend

Changed modules deployed

Module Status
Commercial Runtime Frontend CERTIFIED — deployed
Commercial Admin Portal CERTIFIED — deployed
Platform UX CERTIFIED_PRODUCTION_UX (98) — deployed
Platform Shell Included in Commercial/Platform UX — deployed
Hospitality Frontend Production PRODUCTION READY (96) — deployed

Not rebuilt / not restarted: Payment, Experience, CRM, Delivery, Loyalty, Hospitality backends, and other healthy unrelated services.


Frontend routes verified

Route HTTP Notes
/ 200 Landing / Platform UX
/discover 200 Discovery wizard
/onboarding 200 Workspace onboarding
/dashboard 200 Commercial OS dashboard
/apps 200 Apps launcher
/billing 200 Billing / trial / upgrade
/domains 200 Domain policy UX
/hospitality 200 Executive dashboard
/hospitality/hub 200 Hub
/hospitality/dashboard 200 Alias → executive dashboard
/hospitality/orders 200 Redirect entry → online orders
/hospitality/menu 200 Digital menu
/hospitality/tables 200 Tables
/payment/hub 200 Existing Payment FE
/experience/hub 200 OK after warm-up (first probe timed out)
/crm/hub 200 OK after warm-up (first probe timed out)
/delivery/hub 200 Existing Delivery FE
/loyalty/hub 200 Existing Loyalty FE

All requested routes: HTTP 200 (auth/FeatureLock may still gate authenticated content client-side).


Backend health table

(Host port map on 162 differs from some docs — verified live)

Service Port Health Version Capabilities
Core 8000 ok 0.1.0 /capabilities → 404 (not exposed)
Identity 8001 ok 0.1.0 /capabilities → 404
Accounting 8002 ok 0.5.11.0 /capabilities → 404
CRM 8003 ok 0.6.3.0 /capabilities → 404
Loyalty 8004 ok 0.7.6.0 ok
Communication 8005 ok 0.8.10.1 ok (sms active)
Delivery 8007 ok 0.10.8.0 ok
Experience 8008 ok 0.11.10.0 ok
Hospitality 8009 ok 0.12.8.0 ok (phase 12.8)
Payment 8012 ok 0.14.5.0 requires X-Tenant-ID (verified with tenant header)

Migration table (Alembic current = head)

Container Head Pending
superapp_core_service 0006_platform_catalog_seed none
superapp_identity_service 0003_fix_enum_values none
superapp_crm_service 0004_phase_63_collaboration none
superapp_communication_service 0002_validation_hardening none
superapp_accounting_service 0003_operational none
superapp_hospitality_service 0009_phase_128_analytics none
superapp_delivery_service 0008_phase_107_108_tracking_settlement none
superapp_loyalty_service 0007_phase_76_wallet none
superapp_experience_service 0011_phase_1110_analytics none
superapp_payment_service 0006_phase_145_ledger none

No pending migrations. No failed migrations observed.


Container table

Container Status Image
superapp_frontend Up (recreated this deploy) torbatyar-frontend
superapp_payment_service Up 8h payment image
superapp_identity_service Up 8h identity
superapp_core_service Up 8h core
superapp_crm_service Up 8h crm
superapp_delivery_service Up 8h delivery
superapp_accounting_service Up 8h accounting
superapp_communication_service Up 8h communication
superapp_loyalty_service Up 8h loyalty
superapp_hospitality_service Up 8h hospitality
superapp_experience_service Up 8h experience
superapp_postgres Up (healthy) postgres:15-alpine
superapp_redis Up (healthy) redis:7-alpine
celery / keycloak / others Up
Check Result
Unhealthy containers none
Restart loops none
Exited (critical path) none

Known warnings

  1. Agent host cannot SSH to Gitea :2222 — push used HTTPS token (success ef04821..091b33a).
  2. App path /home/morteza/torbatyar is not a git checkout — deploy used tar overlay + frontend rebuild (expected for this host layout).
  3. First probe of /experience/hub and /crm/hub returned 000 (cold start); re-verify 200.
  4. Core commercial registry APIs still empty until backend track — FE shows honest empty/FeatureLock.
  5. Payment /capabilities requires X-Tenant-ID (by design).
  6. Host port map: Loyalty 8004, Communication 8005, Experience 8008 (not older assumed ports).
  7. superapp_payment_service image label may still show historical tag string in docker ps; health reports payment-service 0.14.5.0.

Deployment readiness

Stream Status Score
Commercial Runtime CERTIFIED / DEPLOYED 9496
Platform Shell / UX CERTIFIED_PRODUCTION_UX / DEPLOYED 98
Hospitality FE PRODUCTION READY / DEPLOYED 96
Frontend container Healthy
Backend services (listed) Healthy

Overall Production Readiness %

Platform FE overall: 95%

Reserved: Core commercial APIs population; Hospitality backend 12.9/12.10; Payment 14.6+.


Git printout

Commit SHA: 091b33a638b4b765cbdf3dc85e6aea3db02187f0
Branch:     cursor/communication-frontend-sms-mvp
Repository: git@git.torbatkar.ir:morteza/TorbatYar.git

STOP