Bản đồ chiến lược cấp Founder. Tổng hợp từ docs hiện có — KHÔNG thay Project Brain, KHÔNG phải nguồn sự thật. Đọc điều hướng trước: SESSION-BOOTSTRAP · 00-BRAIN-ROUTER · BRAIN-RELEASE. Chi tiết → theo link canonical mỗi phần. Số cụ thể chưa có ⇒ NEEDS FOUNDER INPUT.
BNG / Travel OS là "hệ điều hành thương mại du lịch" multi-tenant, event-driven — nền tảng để bất kỳ doanh nghiệp du lịch nào (OTA, khách sạn, tour, và mũi nhọn medical tourism) vận hành toàn trình đăng bán → đặt chỗ → thanh toán → phục vụ → tối ưu bằng AI, với tenant isolation cấp ngân hàng. Ẩn dụ: *Shopify cho commerce → Travel OS cho travel commerce*. Nguồn: travel-os/01-VISION.
NEEDS FOUNDER INPUT.17 bounded context. Canonical: travel-os/03-DOMAIN-MAP · Brain 02-PLATFORM.
| Domain | Purpose | Status | Brain / Canonical |
|---|---|---|---|
| Identity & Access (Spine) | User/Session/Role/ApiKey | ✅ lõi | 07-SECURITY |
| Tenant & Provisioning (Spine) | Tenant/Account/Plan | ✅ một phần | 03-BUSINESS |
| Event Bus (Spine) | Outbox/subscription | ✅ | 01-BACKEND |
| Catalog / Inventory | Listing/Unit/Availability | ✅ (trong Booking) | 01-BACKEND |
| Pricing & Rates | Price/RatePlan | ✅ phẳng | travel-os/03 |
| Booking / Reservation ★ | Reservation aggregate | ✅ LIVE | 01-BACKEND |
| Payment & Settlement | Payment/Payout/Ledger | ⏳ design | 08-ROADMAP |
| Partner | Partner/Contract/Payout | ⏳ design | travel-os/03 |
| Customer | Profile/Loyalty | ⏳ design | travel-os/03 |
| Affiliate | Referral/Commission | ⏳ design | travel-os/03 |
| CRM & Communications | Lead/Campaign/Ticket | ⏳ design | 03-BUSINESS |
| Notification | NotificationRequest | ✅ interface+console | 01-BACKEND |
| Analytics & Reporting | Read models/projections | ✅ metrics lõi | 02-PLATFORM |
| Content / Marketing | Page/Media/Seo | ⏳ design | travel-os/03 |
| Travel Intelligence | Search/Rank/Recommend | ⏳ design | travel-os/09-AI |
| Trust & Safety | TrustScore/Review/Fraud | ⏳ design | travel-os/09-AI |
| Medical Tourism (Vertical) | Case/Package/Compliance | ⏳ design | 07-SECURITY |
Flight / F&B / Tour-Activity không phải context riêng: nền dùng trừu tượng Reservable (phòng/bàn/ghế/gói) → các loại này là *Reservable type*, không phải domain tách. Không tự thêm domain ngoài DOMAIN-MAP.
Layering: Spine · Shared Kernel · Module · Vertical · Intelligence. Canonical travel-os/02-PLATFORM-ARCHITECTURE.
| Layer | Role | Notes | Docs |
|---|---|---|---|
| UI / Frontend | Founder Portal + 5 portal | Next 16 App Router, đọc artifact tĩnh | 04-FOUNDER |
| API Layer | HTTP controller mỏng + Auth Gateway | node:http, JWT/API-key, tenant từ credential | 07-SECURITY |
| Domain Services | Use case (BookingService, tx boundary) | dependency hướng vào trong | 01-BACKEND |
| Domain (pure) | DDD platform-domain | Reservation aggregate, Money VND BigInt, 0 dep hạ tầng | travel-os/02 |
| Metadata Layer | platform-core registries + graph | 17/40/18, emit JSON + schema | 02-PLATFORM |
| AI / Intelligence | Consume-only event stream | tách khỏi domain, versioned write-back | travel-os/09-AI |
| Data Layer | Prisma/Postgres + outbox + RLS | transactional outbox, 8 bảng RLS | 06-DEPLOYMENT |
| Integration Layer | Plugin SDK (design) + adapter | payment/PMS/channel qua adapter | travel-os/08-PLUGIN-SDK |
| Admin / Ops Layer | ops CLI, metrics, maintenance role | mint/revoke, BYPASSRLS dispatcher | 01-BACKEND |
| Engine | Purpose | Input | Output | Status | Docs |
|---|---|---|---|---|---|
| Booking Engine | Giữ chỗ/vòng đời đơn | availability + request | Reservation + events | ✅ LIVE staging | 01-BACKEND |
| Inventory (Catalog) | Listing/Unit/Availability | partner publish | tồn kho khả đặt | ✅ (trong Booking) | travel-os/03 |
| Pricing Engine | Giá tại thời điểm đặt | rate/tax | giá snapshot bất biến | ✅ phẳng (trong Booking) | travel-os/03 |
| Metadata Engine | Registry→graph→artifact | catalog code | JSON + schema + graph | ✅ built | 02-PLATFORM |
| Payment Engine | Thu/hoàn/payout | ReservationConfirmed | payment/ledger | ⏳ ROADMAP (Phase 4) | 08-ROADMAP |
| Search Engine | Index + truy vấn ngữ nghĩa | listing.published | kết quả tìm | ⏳ ROADMAP | travel-os/09-AI |
| Ranking Engine | Xếp hạng theo tín hiệu | event features | thứ hạng | ⏳ ROADMAP | travel-os/09-AI |
| Recommendation Engine | Cross-sell/personalize | KG + profile | gợi ý | ⏳ ROADMAP | travel-os/09-AI |
| Trust Engine | trustScore đối tác/listing | review/no-show/fraud | trust_score.updated | ⏳ ROADMAP (moat) | travel-os/09-AI |
| AI Reasoning / LLM Gateway | Cổng LLM chung | prompt (redacted) | output + audit | ⏳ ROADMAP | travel-os/09-AI |
Chỉ Booking/Inventory/Pricing/Metadata có runtime hôm nay; còn lại design/ROADMAP — không có runtime.
NEEDS FOUNDER INPUT (05-PRICING).North Star = Activated Tenant/Account GMV. Framework, chưa đặt số (03-BUSINESS, business-os/05-PRICING).
| Revenue Stream | Mô tả | Nguồn | Status |
|---|---|---|---|
| SaaS subscription (tiered) | Free/Starter/Growth/Enterprise | 05-PRICING | Framework |
| Usage-based | reservations/notifications/API | 05-PRICING | Framework |
| Seat-based | theo user/staff | 05-PRICING | Framework |
| Marketplace commission (take-rate) | % trên GMV (hợp North Star nhất) | 05-PRICING | Framework |
| Enterprise setup / one-time | onboarding/tích hợp Account lớn | 05-PRICING | Framework |
| Add-on module / AI / Medical | Payment/Affiliate/CRM/Intelligence/isolation tier | 05-PRICING | Framework |
Khuyến nghị repo: Hybrid (base subscription + take-rate GMV + add-on). Số VND/%/quota =NEEDS FOUNDER INPUT. White-label fee: chưa nêu tường minh →NEEDS FOUNDER INPUT.
Canonical travel-os/09-AI-ARCHITECTURE.
| Area | Done | In Progress | Blocker / Risk |
|---|---|---|---|
| OMS | 12 file, đồng bộ OMS-2 | — | — |
| Project Brain | 13 Brain + 4 bootstrap/close | — | — |
| Backend | Booking LIVE staging, 42+135+66 test | — | notification console-only |
| Platform Core | registries + emit + schema/check | — | entity registry chưa đủ |
| Booking | availability/create/lifecycle/list v1 | — | — |
| Pricing | phẳng (trong Booking) | tách context (design) | — |
| Metadata | 17/40/18 · graph 114/307 | — | sink chưa thành context/service |
| Frontend | Founder Portal + M4A viewer | graph viz (M4B) | viewer chưa deploy |
| Business Model | docs v1.0 framework | — | chưa baseline số thật (cần tooling) |
| QA / CI | gate thủ công (backend:rc) | — | chưa CI/CD |
| Documentation | Travel/Eng/Business/Knowledge OS | — | — |
| Security | Auth+RLS staging, 0 leak | — | RLS/rate-limit production chưa |
Chi tiết: operating-memory/02-CURRENT-STATE · 05-OPEN-ISSUES.
Nguồn: travel-os/10-ROADMAP-V3 (sản phẩm) · engineering/13 (kỹ thuật) · 08-ROADMAP.
Mốc thời gian cụ thể (tháng/quý gắn ngày) = NEEDS FOUNDER INPUT.
Nguồn: business-os/09-RISK-REGISTER · 07-SECURITY. Guardrail (isolation/secret/compliance) = hard, mục tiêu 0.
| Risk | Type | Vì sao quan trọng | Mitigation | Status |
|---|---|---|---|---|
| Cross-tenant leak | Security | phá niềm tin nền tảng | 4 lớp isolation + RLS, 404 cross-tenant | staging ✅, prod chưa |
| Secret leak | Security | lộ hạ tầng/token | no secret in bundle/log, guard fail-fast | verified 0 match |
| RLS production chưa bật | Technical | prod thiếu lớp DB isolation | runbook + go/no-go + DR drill | chờ prod dựng |
| Chưa CI/CD (gate thủ công) | Operations | lỗi lọt, deploy rủi ro | CI hoá backend:rc + metadata:check | ROADMAP |
| Tuân thủ y tế / PHI | Legal | Medical vertical, pháp lý | PHI cô lập + audit + human-in-loop | design (hard) |
| PMF yếu / activation thấp | Product | không ai activate → chết | siết ICP, cải thiện onboarding | INFERRED, chưa số |
| Chưa baseline số thật | Business | quyết định thiếu dữ liệu | instrument activation/GMV | ⏳ tooling |
| Margin âm (infra/AI cost) | Business | AI/infra đắt hơn thu | cost governance LLM per-tenant | INFERRED |
| AI hallucination / trust integrity | AI | sai lệch score/gợi ý | explainable+versioned, tín hiệu≠quyết định | design |
| Data lineage / privacy | Data | residency/erasure, model toàn cục | lineage về event, ẩn danh hoá, opt-out | design |
| Migration hỏng / mất dữ liệu | Operations | hỏng prod data | migrate deploy + pg_dump + DR drill | quy trình ✅ |
| Runway / burn | Business | hết tiền | kiểm soát burn, ưu tiên revenue | NEEDS FOUNDER INPUT |
Router đầy đủ: 00-BRAIN-ROUTER.
| Task về... | Đọc Brain trước | Rồi đọc | Notes |
|---|---|---|---|
| Booking / API / backend | 01-BACKEND | 07, 08 | + canonical backend/ |
| Auth / RLS / tenant / secret | 07-SECURITY | 01 | guard: đụng data→+07 |
| Metadata / Travel OS / engineering | 02-PLATFORM | 05 | sửa catalog rồi regenerate |
| Founder Portal / UI / Next | 04-FOUNDER | 02, 05 | đọc Next 16 guide trước |
| AI / Trust / Recommendation | 02-PLATFORM | 03, 08 | + travel-os/09-AI |
| Business / GTM / pricing | 03-BUSINESS | 08 | không đặt số |
| Deploy / staging / rollback | 06-DEPLOYMENT | 07 | không đụng site khác VPS |
| Medical / PHI / compliance | 02-PLATFORM | 07, 08 | guardrail hard |
| Roadmap / sprint / priority | 08-ROADMAP | — | Founder chốt scope |
| Onboarding / navigation | 05-KNOWLEDGE | — | index tri thức |
NEEDS FOUNDER INPUT / INFERRED.