Implementation Roadmap (Living)
Đường hướng triển khai gồm 8 Work Packages. Tham chiếu file gốc
baseline/imported_sources/FITZALO_V2_MASTER_PLAN/IMPLEMENTATION_ROADMAP_FULL.md.
Định nghĩa Hoàn thành (Definition of Done - DoD)
Mỗi Module trước khi đóng Phase phải thoả mãn:
- Có Unit Test (coverage logic) + API Contract Testing.
- DTO validated, RBAC
@Permissionstích hợp ở mọi enpoints. - Pass các Governance Gates:
- GOV-AUDIT: Flow Audit Stamping đúng chuẩn (injected at service layer).
- D-008 (Population): Output đúng định dạng FK + Summary, có support whitelist include.
- DEC-004 (Timezone): Output ra DB và Client chuẩn 100% ISO-8601 UTC.
- Tài liệu Traceability (tại
docs_hub_v3/03_TRACEABILITY/) cập nhật Matrix thànhDONE.
Các Phase Triển Khai
Phase 0 — Governance & Baseline (DONE/ONGOING)
- Chốt naming, routing, specs architecture theo Docs Hub V3.
- Chuẩn hoá Decision Log (RBAC, Tenancy, Timezone).
Phase 1 — Core Platform Foundation
- IAM: Auth/JWT, Roles/Perm, Membership lifecycle.
- Tenancy: Tenant management, switch context.
- System: Audit Log, Event Bus (dispatcher/outbox), Notification Hub base.
Phase 2 — Master Data & Catalog
- Catalog: PIM, Product/Category, SKU constraint.
- Global MDM: UoM, Global Attributes.
Phase 3 — Commerce (Orders & Voucher)
- E-Commerce: OMS Flow (State machine, Refund, Split).
- Voucher: Engine rules, Limits, Auto-apply.
Phase 4 — Supply Chain
- Inventory (WMS): Stock Quants, Moves, Valuation.
- Procurement: PO Lifecycle + GRN.
Phase 5 — CRM & Loyalty
- CRM: Unified Partner.
- Loyalty & Affiliate: Tiers, Commission, Ledger points.
Phase 6 — Content & AI
- CMS & Internal Comms: Articles, ESN Feed.
- AI Studio: Knowledge Base RAG + Connectors.
Phase 7 — Integrations, Admin & Zalo Ecosystem
- Zalo Auth Web/MiniApp (Dual Flow).
- ZNS Notifications & Plugin billing models.