Skip to content

Timeline and Dependencies

This document maps dependencies between epics and tasks across all Application Architecture projects. Use this to identify the critical path, parallel work opportunities, and blocking relationships.



Epic-to-Epic Dependencies

Critical Path (must be built in order)

UI Framework (Layout, Routing, Components)

        ├──► GraphQL Client Infrastructure
        │         │
        │         ├──► Members List and Detail
        │         ├──► Trips List and Detail
        │         ├──► Tasks List
        │         └──► Destinations List

        ├──► IndexedDB Persistence
        │         │
        │         └──► Chat History and Persistence

        └──► Design System (Tailwind, shadcn/ui)

                  └──► AI Chat Core

                            ├──► NLP Pipeline
                            ├──► Search Execution
                            ├──► Context Attachment
                            └──► Preset Routines

                                      └──► Booking Hand-off

                                                └──► Salesforce UI Bundle Deployment

Dependency Matrix

EpicDepends OnBlocked ByEnables
UI Framework
Layout and Navigation All pages
Component LibraryAll pages
Design SystemAll pages
CRM Data Access
GraphQL Client InfrastructureUI FrameworkSalesforce schemaAll list/detail pages
Members List and DetailGraphQL ClientContext Attachment
Trips List and DetailGraphQL ClientContext Attachment, Hand-off
Tasks ListGraphQL Client
Destinations ListGraphQL Client
MutationsGraphQL ClientTrip create/update
AI Chat
NLP PipelineUI FrameworkSearch Execution
Search ExecutionNLP Pipeline, OrchestratorResult display
Chat History and PersistenceIndexedDB, UI FrameworkSession restoration
Context AttachmentGraphQL Client, AI ChatContext-enriched searches
Preset RoutinesAI ChatQuick-start workflows
Omnichannel Inbox
Channel IntegrationsUI Framework, Channel RouterMessage normalization
Channel NormalizationChannel IntegrationsUnified message view
Dialer ComponentCRM Data AccessPhone calls
Real-Time UpdatesChannel IntegrationsLive badge counts
Booking Hand-off
Hand-off FlowAI Chat, CRM Data Access, Integration LayerQuote/Booking creation
Hand-off ValidationHand-off FlowError handling
Deployment
Salesforce UI Bundle DeploymentAll featuresStaging
Environment ManagementSalesforce UI BundleProduction
Future Operations ConsoleAll aboveQ1 2027

Task-Level Dependencies Within Epics

Layout and Navigation

TaskDepends OnNotes
Build collapsible dark sidebarStart here
Implement React Router with static routesSidebar
Build responsive sidebar collapseSidebar
Add AI Button with lava blob CSSSidebarCan parallel with routes

Component Library

TaskDepends OnNotes
Set up shadcn/ui (New York variant)Start here
Implement 25 reusable componentsshadcn/ui setupAlert, avatar, badge, breadcrumb, button, calendar, card, checkbox, collapsible, datepicker, dialog, dropdown-menu, field, input, label, pagination, popover, select, separator, skeleton, sonner, spinner, table, tabs
Build component co-location structureComponentspages/, components/, hooks/, libs/, styles/

Design System

TaskDepends OnNotes
Implement Tailwind CSS 4 with oklchStart here
Build consistent styling across componentsTailwind setup
Implement dark/light mode supportStyling

GraphQL Client Infrastructure

TaskDepends OnNotes
Build graphqlClient.ts wrapperUI Framework
Implement schema introspectionGraphQL client
Build cursor-based paginationGraphQL client
Implement stack-based back-navigationPagination

Members List and Detail

TaskDepends OnNotes
Build Members list with 4-axis filteringGraphQL ClientType, Tier, Level, Status
Build Member Detail pageGraphQL ClientTrip history and preferences
Implement click-through routingList, Detail

Trips List and Detail

TaskDepends OnNotes
Build Trips list with stage/date filtersGraphQL Client
Build Trip Detail page (editable)GraphQL Client
Implement "New Trip" modalGraphQL Client, Mutations
Implement trip create/update mutationsMutations

Tasks List

TaskDepends OnNotes
Build Tasks list with status/priority filtersGraphQL Client
Implement "All Tasks" / "My Tasks" toggleList

Destinations List

TaskDepends OnNotes
Build Destinations list with country/region filterGraphQL Client
Build Destination Detail pageGraphQL Client

NLP Pipeline

TaskDepends OnNotes
Implement keyword-based intent detectionStart here
Build LLM fallback for keyword failuresIntent detection
Implement regex-based parameter extractionIntent detectionLocation, dates, party size, cuisine
Build data source selectorUI FrameworkResy Direct, Resy Parse, Yelp, OpenTable, Tock, Toast Tab, TheFork

Search Execution

TaskDepends OnNotes
Implement POST /api/v1/search integrationNLP Pipeline, Orchestrator
Build result display as cardsSearch integrationSource badges, time-slot availability, pricing
Implement hand-off button for each resultResult display

Chat History and Persistence

TaskDepends OnNotes
Build IndexedDB session storageIndexedDB
Implement auto-save with 2-second debounceIndexedDB
Build RECENT/EARLIER grouping in sidebarChat history
Implement session restoration on browser reopenIndexedDB

Context Attachment

TaskDepends OnNotes
Build ContextSearchPopoverGraphQL ClientReal-time Salesforce record search
Implement member/trip context attachmentContextSearchPopover
Build context injection into Orchestrator requestsContext attachment

Preset Routines

TaskDepends OnNotes
Implement 6 preset routinesAI ChatSearch Dining, Book Flight, Draft Itinerary, Find Hotels, Research Destination, Compose Email
Build animated AI button with sparkle effectsUI Framework

Omnichannel Inbox

TaskDepends OnNotes
Build Email integration (Microsoft Graph API)UI FrameworkThread view, HTML rendering
Build WhatsApp integration (Meta Direct API)UI FrameworkChat bubbles, media support, WebSocket
Build Microsoft Teams integration (Graph API)UI FrameworkChannel and DM support, WebSocket
Build RingCentral integration (SDK)UI FrameworkPhone, SMS, dialer, WebSocket
Implement common message schemaAll integrations
Build channel-specific renderingSchema
Build three-panel layoutUI Framework

Dialer Component

TaskDepends OnNotes
Build phone dialer with call historyRingCentral integration
Implement call simulation (idle, dialing, connected, ended)Dialer
Build mute and speaker controlsDialer
Implement post-call note promptDialer
Build contact lookup from SalesforceGraphQL Client

Booking Hand-off

TaskDepends OnNotes
Implement POST /api/v1/handoffAI Chat, Integration Layer
Build Integration Layer authentication (JWT Bearer)Integration Layer
Implement Quote__c and Booking__c record creationHand-off flow
Build confirmation display to advisorHand-off flow
Implement input validationHand-off flowtrip_id, member_id, result payload
Build error handling for failed hand-offsValidation
Implement idempotency for hand-off requestsHand-off flow

Salesforce UI Bundle Deployment

TaskDepends OnNotes
Build Vite 7 build pipelineAll features
Implement code splitting for route-based lazy loadingBuild pipeline
Build SFDX project metadata generationBuild pipeline
Deploy to Salesforce sandbox (staging)Metadata generation
Deploy to Salesforce org (production)Staging

Parallel Work Opportunities

Wave 1 (can start immediately)

  • UI Framework (layout, routing, sidebar)
  • Component Library (shadcn/ui setup)
  • Design System (Tailwind CSS 4)

Wave 2 (after UI Framework)

  • GraphQL Client Infrastructure
  • IndexedDB Persistence
  • NLP Pipeline (intent detection, parameter extraction)

Wave 3 (after Wave 2)

  • Members List and Detail
  • Trips List and Detail
  • Tasks List
  • Destinations List
  • Chat History and Persistence
  • Search Execution

Wave 4 (after Wave 3)

  • Context Attachment (needs GraphQL + AI Chat)
  • Preset Routines
  • Omnichannel Inbox (channel integrations)

Wave 5 (after Wave 4)

  • Dialer Component
  • Booking Hand-off

Wave 6 (after all features)

  • Salesforce UI Bundle Deployment
  • Environment Management
  • Production Deployment

Critical Path Summary

The minimum viable path to a working Advisor Console:

1. UI Framework (layout, routing, sidebar)
2. Component Library (shadcn/ui)
3. GraphQL Client Infrastructure
4. Members List and Detail (or Trips)
5. IndexedDB Persistence
6. AI Chat Core (NLP pipeline, search execution)
7. Chat History and Persistence
8. Salesforce UI Bundle Deployment

Estimated critical path: ~8-10 weeks if fully staffed and unblocked.


Risk Areas

RiskImpactMitigation
Salesforce UI Bundle restrictions (IndexedDB, WebSocket)HighTest early, have fallback hosting plan
Orchestrator backend not readyHighBuild mock Orchestrator for frontend development
Integration Layer not readyHighBuild mock hand-off endpoint
Channel Router not readyHighBuild mock inbox data
1,300-line AIChat.tsxMediumDecompose into smaller components
Chat history client-side onlyMediumPlan cross-device sync for future
Fireworks.ai dependencyMediumHave fallback LLM provider
External backend dependenciesMediumBuild comprehensive mock layer

Marchay Platform Documentation