Context pack cho task backend (Booking). Snapshot + trỏ canonical. Không copy. Trạng thái toàn cục: OMS 02.
Backend Booking = Module #1 đã build & LIVE staging. Monorepo ~/bng-booking-demo:
packages/platform-domain — DDD thuần (Reservation aggregate, Money VND BigInt), 0 dep hạ tầng, 42 test.packages/platform-infrastructure — Prisma/Postgres adapters, HTTP API (node:http), auth, outbox, ops, ~135 test (best-known; số authoritative = output backend:rc/test:all, chưa re-verify).BookingService, transaction boundary) → domain thuần → repo (Prisma). Dependency hướng vào trong. Canonical: travel-os/02, backend/BOOKING-API.TenantResolver). backend/AUTH-GATEWAY.withTenant/runInTx. backend/RLS-READINESS, RLS-COVERAGE.platform-core (Module/Entity registry) — không nhầm với runtime backend.staging-api.booking.bngagency.vn (PM2 bng-booking-api-staging:3020, Postgres bng_booking_staging). VPS ssh kqxs.npm run backend:rc = lint + typecheck:all + test:all (domain 42 + infra ~135 + core 66; con số authoritative = output runner, chưa re-verify) + build. backend/DB-SAFETY (chỉ migrate deploy, pg_dump trước migration).
backend/BACKEND-STATUS · BOOKING-API · AUTH-GATEWAY · OPS-CLI · SECURITY-CHECKLIST · BACKEND-MATURITY.