DOCS.MSG.VISION • 9.3.0-staging-rc1

MSG Vision V9.3 — Autonomous Commerce, Unified Inbox & Double-Entry Ledger OS

Canonical technical reference for the MSG Vision subdomain architecture, API v1 endpoints, 11-Repository GM Technology Reuse Matrix, and Global Product Reverse-Engineering Intelligence.

1. Subdomain Architecture (`msg.vision`)

Domain Architectural Role Truth State
https://staging.msg.vision Staging Application & Merchant Journey Portal LIVE_PUBLIC_TESTABLE
https://api.msg.vision API v1 Gateway (Storefront, Webhooks, Control) LIVE_TLS
https://control.msg.vision MSG Control — Executive Operations & Audit Plane LIVE_AUTH_GATED
https://foundry.msg.vision MSG AI Foundry — Autonomous Software Factory LIVE_AUTH_GATED
https://status.msg.vision Live Health, Queue, DB & Ledger Telemetry LIVE_PUBLIC
https://docs.msg.vision Architecture, API Contracts & GM Reuse Matrix LIVE_PUBLIC
https://msg.vision Primary Corporate Root Domain RESERVED_UNTIL_PRODUCTION_RELEASE
https://www.msg.vision WWW Alias RESERVED_UNTIL_PRODUCTION_RELEASE
https://app.msg.vision Production Merchant & Customer App RESERVED_UNTIL_PRODUCTION_RELEASE

2. 11-Repository GM Technology Reuse Matrix

Repository Source Paths Strategy Target MSG Paths Status
gmp-control src/services/secureVault.ts, src/services/gmpKnowledgeAndMsgStream.ts, src/autopilot/engine.ts TESTED_ADAPTER_AND_CONTROL_BRIDGE app/Services/ApprovalGateService.php, app/Services/BoundedAiCopilotService.php, app/Services/MsgAutonomousEngineService.php VERIFIED
gmp-eg src/components, public DESIGN_SYSTEM_TOKENS_ADAPTER resources/views/msg-staging-portal.blade.php, resources/views/msg-control.blade.php VERIFIED
gmp-commerce-api app/Services/OrderService.php, app/Services/PaymobService.php, app/Services/BostaService.php REFACTORED_MULTI_TENANT_CORE_WITH_P0_FIXES app/Services/OrderService.php, app/Services/LedgerService.php, app/Models/Concerns/BelongsToTenant.php VERIFIED
gmp-commerce-storefront src/app, src/components SCOPED_REST_API_CONSUMER_AND_BILINGUAL_UX_PATTERNS app/Http/Controllers/Api/V1/ProductController.php, app/Http/Controllers/Web/MsgStagingJourneyController.php VERIFIED
gmp-events src/services, public TESTED_ADAPTER_EVENT_TICKETING_API app/Http/Controllers/Api/V1/EventController.php, app/Models/Event.php VERIFIED
gmp-academy src, public TESTED_ADAPTER_ACADEMY_PACKAGES_API app/Http/Controllers/Api/V1/AcademyPackageController.php, app/Models/AcademyPackage.php VERIFIED
gmp-agency src, public TESTED_ADAPTER_FUNNEL_AND_SOCIAL_PLANNER app/Http/Controllers/Api/V1/FunnelController.php, app/Models/SocialPlannerPost.php VERIFIED
gmp-erp-mobile lib/features/products, lib/core/network BACKWARD_COMPATIBLE_CONNECTOR_ADAPTER app/Http/Controllers/Api/V1/MsgOnePlatformController.php::connectorProducts, routes/api.php (/connector/api/product) VERIFIED
qurby-backend app/Http/Controllers, routes/api.php SCOPED_SIGNED_PARTNER_API_ONLY_ZERO_SHARED_DB app/Http/Controllers/Api/V1/MsgOnePlatformController.php::resolveQurbyLoyalty VERIFIED
qurby-mobile lib/features/nfc, lib/features/qr SIGNED_QR_NFC_PAYLOAD_SPEC_ADAPTER app/Http/Controllers/Api/V1/QrVerifyController.php, app/Http/Controllers/Api/V1/MsgOnePlatformController.php::resolveQurbyLoyalty VERIFIED
msg-one app/Services, app/Http/Controllers, database/migrations, scripts PRIMARY_CANONICAL_PLATFORM app/Services/OrderService.php, app/Services/LedgerService.php, app/Services/WhatsAppOrderConfirmationService.php VERIFIED

3. Global & MENA Product Reverse-Engineering Intelligence

Shopify (Global Commerce Flagship) Multi-Tenant Storefront & Checkout

Original Specification: Implemented in OrderService::createOrder with deterministic sorted InnoDB SELECT ... FOR UPDATE row locking and idempotency_key deduplication.

Status: VERIFIED_IN_V9_3

Salla & Zid (MENA Regional Commerce Leaders) Arabic RTL & COD Logistics Automation

Original Specification: Implemented in WhatsAppOrderConfirmationService (Arabic/English/Franco intent classifier + >24h SLA escalation) and MsgOnePlatformController::handleBostaSettlementWebhook.

Status: VERIFIED_IN_V9_3

Stripe & Square (Financial Ledger & Billing Integrity) Double-Entry Accounting & Subscription Ledger

Original Specification: Implemented in LedgerService (COA accounts 1100, 1200, 2100, 4000, 4100, 4200, 5100) with zero-sum trial balance verification.

Status: VERIFIED_IN_V9_3

Gorgias & Chatwoot (Omnichannel Commerce Inbox) Order-Linked Customer Support & AI Draft Copilot

Original Specification: Implemented in InboxConversation + BoundedAiCopilotService (DRAFT_HELD_FOR_HUMAN_APPROVAL with PII redaction and daily/monthly spend caps).

Status: VERIFIED_IN_V9_3

Linear & OpenHands (Autonomous Engineering & Issue Workflows) Deterministic Engineering Control Plane

Original Specification: Implemented in MSG Control (/msg-control) and MSG AI Foundry (foundry.msg.vision) with Role A (Verification/Ops) and Role B (Isolated Branch PR Agent).

Status: VERIFIED_IN_V9_3