Skip to main content

Business Flows (BF) — Cross-EPIC User Journeys

Cross-EPIC narrated journeys. Each BF doc walks a single end-to-end user journey step-by-step, naming the user story that owns each step, the code path that runs it, the closest automated test, and any catalog gaps surfaced as [SME-PROPOSED] candidates.

Authored during the RTM Reconciliation Pilot (2026-05-24) and scaled out across the remaining 12 flows on 2026-05-25. BF-001 is the template; BF-002 through BF-013 follow the same structure.

Index​

#FlowStatusPrimary EPICsHighlights
BF-001Tenant + Property OnboardingDRAFTED 2026-05-24EP-001, EP-00214 steps · 8 failure modes · 7 drifts
BF-002Guest BookingDRAFTED 2026-05-25EP-003, EP-011, EP-004, EP-01511 steps · 10 failure modes · 12 drifts · 4-service payment seam
BF-003Check-in (Indian + International + C-Form)DRAFTED 2026-05-25EP-005A, EP-004, EP-006LAUNCH BLOCKER · 12 steps · 13 failure modes · 21 drifts (8 P0)
BF-004POS Order → FolioDRAFTED 2026-05-25EP-007, EP-005BLAUNCH BLOCKER · 10 steps · 11 failure modes · 8 drifts (6 P0)
BF-005Check-out + e-invoiceDRAFTED 2026-05-25EP-005A, EP-005B, EP-012CLAUNCH BLOCKER · 12 steps · 13 failure modes · 7 P0
BF-006Night AuditDRAFTED 2026-05-25EP-005C12 steps · 10 failure modes · 12 drifts · missing reconciliation invariant
BF-007OTA Channel SyncDRAFTED 2026-05-25EP-009, EP-00312 steps · 10 failure modes · 11 drifts (4 P0)
BF-008Payment Capture + RefundDRAFTED 2026-05-25EP-015, EP-005B12 steps · 10 failure modes · 9 drifts (4 P0)
BF-009Housekeeping LifecycleDRAFTED 2026-05-25EP-00613 steps · 22 [SME-PROPOSED] · UTC vs IST midnight bug
BF-010Banquet EventDRAFTED 2026-05-25EP-00811 steps · banquet→folio→IRN handoff entirely missing
BF-011Spa BookingDRAFTED 2026-05-25EP-01611 steps · 9 failure modes · 14 drifts
BF-012Reporting & Compliance ExportDRAFTED 2026-05-25EP-012B, EP-012C, EP-012D12 steps · 11 failure modes · 12 drifts (8 P0) highest concentration
BF-013DSAR / GDPR ErasureDRAFTED 2026-05-25EP-004, EP-014, EP-01512 steps · 12 failure modes · 11 drifts · CBIC/RBI retention violation

Conventions​

  • Catalog gap tag: [SME-PROPOSED] marks a step whose user story does not exist in 03-epic-catalog/01-epic-catalog.md despite shipped code.
  • File paths: always absolute repo-relative (e.g. hmp-auth-service/src/auth/auth.controller.ts:58).
  • Test status: PASS / FAIL / SKIPPED / TBD (sourced from hmp-docs/docs/platform-registry/2026-05-16-13-flow-demo-readiness.md until Task 12 re-measures).
  • Drift IDs: locally numbered per BF doc (D-001, D-002, …); roll up to the platform-wide drift register at reconciliation Task 6.

How to author a new BF doc​

  1. Pick a cross-EPIC user journey from the index above.
  2. Read the source map for the EPICs it touches (_scratch/source-map.md if a reconciliation is in progress, otherwise the per-EPIC RTM files).
  3. Walk the journey step-by-step. For each step name:
    • The owning story (or [SME-PROPOSED] if a catalog gap).
    • The primary code path (file:line).
    • The closest automated test (file :: scenario — pass status).
    • Pre-conditions + post-conditions.
    • Notes on kill-switches, flags, drift, etc.
  4. Add a "Failure modes worth testing" table (target: 6-10 rows).
  5. Add a "Day-2" section listing what the hotel tackles post-go-live.
  6. Add a "Drift summary" table for issues surfaced by the walk.
  7. Cross-link the doc from this README's index.