# Graph Report - portalonsms2  (2026-07-10)

## Corpus Check
- 215 files · ~333,468 words
- Verdict: corpus is large enough that graph structure adds value.

## Summary
- 2556 nodes · 5836 edges · 140 communities (94 shown, 46 thin omitted)
- Extraction: 100% EXTRACTED · 0% INFERRED · 0% AMBIGUOUS · INFERRED: 19 edges (avg confidence: 0.78)
- Token cost: 0 input · 0 output

## Graph Freshness
- Built from commit: `06c55aea`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).

## Community Hubs (Navigation)
- Storage Interface Methods
- Database Storage Implementation
- NPM Runtime Dependencies
- Badge and Card UI
- Roles and Permissions
- Schema Status Enums
- Accordion and Dialog UI
- Account Management Page
- Button and Alert Dialog UI
- Reporting and Monitoring Types
- AI Panel and Tabs UI
- App Routing and Auth Context
- Infobip API Integration
- Build Tooling Dependencies
- Template Utilities and Form UI
- Project Memory Notes
- Sender Profile and Notices UI
- Infobip Sender Storage
- Sidebar Layout UI
- Campaign Storage Methods
- CLAUDE.md Documentation
- Multi-BM Validated Templates UI
- WABA Template Storage
- Auth Middleware and Checknumber
- HubSpot Auth and Timeline
- AI Agent Orchestration
- Background Dispatch Workers
- Server Bootstrap and Blocklist
- Campaign Chat UI
- Multi-BM Dispatch Logic
- DB Cleanup and Seed Scripts
- Bug: sistema de auto-registro de webhook nunca funcionou
- User and Sender Assignment Storage
- Multi-BM Submission Storage
- Admin Logs UI
- Media Storage Utilities
- RCS API Client
- TypeScript Configuration
- Menubar UI Component
- Shadcn UI Config
- Sidebar and Branding Context
- Toast and Notice System
- Chart UI Component
- HubSpot Action Sync
- Branding Storage Methods
- Button, Calendar, Pagination UI
- Multi-BM Template Storage
- Infobip Config Storage
- WABA Message Storage
- Carousel UI Component
- Chip Provisioning Clients
- Multi-BM Health Sync
- Business Manager Storage
- HubSpot Dispatch Queue Storage
- AI Conversation Storage
- WA Filter Batch Storage
- Multi-BM Dashboard UI
- Toast UI Component
- BM Sender Storage
- Chip Activation Storage
- HubSpot Connection Storage
- RCS Sender Storage
- API Token Storage
- Multi-BM Webhook Tests
- Error Boundary Component
- blocklist.ts
- Context Menu UI
- Dropdown Menu UI
- Knowledge Base Storage
- Multi-BM Message Storage
- RCS Config Storage
- RCS Message Storage
- Multi-BM Template Cluster Tests
- Multi-BM Template Sync Tests
- dispatch
- Activity Log Storage
- Breadcrumb UI Component
- Drawer UI Component
- Navigation Menu UI
- Sheet UI Component
- Account Service Balance Storage
- HubSpot Execute Diagnostics
- Blocklist Term Storage
- Status Mapping Storage
- AI Client Settings Storage
- Vendor Mask Exposure Tests
- Toggle UI Components
- File Upload Hook
- Multi-BM Validated Template Storage
- API Settings Storage
- Template Media Storage
- AI Agent Safeguards Tests
- Multi-BM Marketing Dispatch Tests
- OTP Input UI Component
- Column Keyword Storage
- Two-Stage Campaign Config Storage
- AI Agent Config Storage
- HubSpot Alert Config Storage
- Multi-BM Alert Config Storage
- Multi-BM Config Storage
- HubSpot Workflow Action Tests
- Toast Notification State
- Email Alert Mailer
- AI Conversation Messages
- HubSpot Timeline Template Storage
- Object Uploader Component
- Avatar UI Component
- HubSpot Action Registration
- Sender Stats Queries
- HubSpot Alert State
- TemplatePreset
- User & Service Queries
- Template Preset Storage
- Build Script Allowlist
- Credit Transactions
- freeform-send-guard.md
- Output Sanitization
- Infobip Template Header Rule
- Slider UI Component
- Production Deploy Script
- Dev Deploy Script
- Post-Merge Hook Script
- HubspotAlertState
- multibmValidatedTemplates.test.ts
- multibmValidateGuard.test.ts
- AccountServiceBalance
- TemplateGeneratorConfig
- vendor-mask.ts
- multibmCampaignCreationAtomic.test.ts
- urlSecurity.test.ts
- multibmRateLimitSharedAcrossCampaigns.test.ts
- multibmDailyLimitByBm.test.ts
- scheduledCampaignCreationGuard.test.ts
- mailer.ts
- vendor-mask.ts

## God Nodes (most connected - your core abstractions)
1. `DatabaseStorage` - 328 edges
2. `IStorage` - 316 edges
3. `registerRoutes()` - 107 edges
4. `cn()` - 96 edges
5. `useToast()` - 89 edges
6. `apiRequest()` - 76 edges
7. `useAuth()` - 49 edges
8. `scrubCurrentUserError()` - 47 edges
9. `Button` - 45 edges
10. `Badge()` - 40 edges

## Surprising Connections (you probably didn't know these)
- `registerRoutes()` --indirect_call--> `sender()`  [INFERRED]
  server/routes.ts → tests/multibmTemplateCluster.test.ts
- `registerRoutes()` --indirect_call--> `displayName()`  [INFERRED]
  server/routes.ts → client/src/lib/accountUtils.ts
- `useCarousel()` --references--> `react`  [EXTRACTED]
  client/src/components/ui/carousel.tsx → package.json
- `useChart()` --references--> `react`  [EXTRACTED]
  client/src/components/ui/chart.tsx → package.json
- `useFormField()` --references--> `react`  [EXTRACTED]
  client/src/components/ui/form.tsx → package.json

## Import Cycles
- 3-file cycle: `client/src/hooks/use-auth.tsx -> client/src/lib/queryClient.ts -> client/src/lib/vendor-mask.ts -> client/src/hooks/use-auth.tsx`

## Communities (140 total, 46 thin omitted)

### Community 1 - "Database Storage Implementation"
Cohesion: 0.02
Nodes (5): DatabaseStorage, HubspotAlertState, InsertMultibmValidatedTemplate, MultibmAlertState, MultibmValidatedTemplate

### Community 2 - "NPM Runtime Dependencies"
Cohesion: 0.02
Nodes (83): dependencies, archiver, bcrypt, class-variance-authority, clsx, cmdk, connect-pg-simple, date-fns (+75 more)

### Community 3 - "Badge and Card UI"
Cohesion: 0.20
Nodes (8): Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut()

### Community 4 - "Roles and Permissions"
Cohesion: 0.04
Nodes (64): RFC-4180, InfobipSubscriptionEvent, InfobipSubscriptionRecord, profileMatchesExpected(), CREATABLE_ROLES, hasPermission(), Permission, PERMISSIONS (+56 more)

### Community 5 - "Schema Status Enums"
Cohesion: 0.03
Nodes (76): BmQuality, bmQualityEnum, BmStatus, bmStatusEnum, CampaignStatus, campaignStatusEnum, ChipActivationStatus, chipActivationStatusEnum (+68 more)

### Community 6 - "Accordion and Dialog UI"
Cohesion: 0.08
Nodes (64): AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter(), AlertDialogHeader(), AlertDialogOverlay, AlertDialogTitle (+56 more)

### Community 7 - "Account Management Page"
Cohesion: 0.09
Nodes (58): SenderProfileSheet(), canDoOperational(), canManageCredits(), getRoleLabel(), useAuth(), useToast(), AccountLike, displayName() (+50 more)

### Community 8 - "Button and Alert Dialog UI"
Cohesion: 0.24
Nodes (3): UserWithServices, InsertService, Service

### Community 9 - "Reporting and Monitoring Types"
Cohesion: 0.04
Nodes (53): AccountServiceRow, BmAssignmentClientRow, MultibmBmFailureStat, MultibmBmMetrics, MultibmClientMetrics, MultibmMonitoring, MultibmVolumePoint, PaginatedResult (+45 more)

### Community 10 - "AI Panel and Tabs UI"
Cohesion: 0.09
Nodes (24): Checkbox, PasswordInput(), PasswordInputProps, ROLE_LABELS, UserData, UserRole, BmAssignment, BmDetail (+16 more)

### Community 11 - "App Routing and Auth Context"
Cohesion: 0.07
Nodes (30): ProtectedRoute(), Router(), NoticeBanner(), ThemeToggle(), Toaster(), AuthContext, AuthContextType, AuthProvider() (+22 more)

### Community 12 - "Infobip API Integration"
Cohesion: 0.10
Nodes (47): buildAuthHeaders(), buildButtonsArray(), buildCarouselCard(), buildHeaderComponent(), buildHeaders(), buscarRelatorio(), buscarSaldo(), buscarStatusTemplate() (+39 more)

### Community 13 - "Build Tooling Dependencies"
Cohesion: 0.04
Nodes (42): devDependencies, autoprefixer, drizzle-kit, esbuild, postcss, @replit/vite-plugin-cartographer, @replit/vite-plugin-dev-banner, @replit/vite-plugin-runtime-error-modal (+34 more)

### Community 14 - "Template Utilities and Form UI"
Cohesion: 0.05
Nodes (51): Progress, SelectContent, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger (+43 more)

### Community 15 - "Project Memory Notes"
Cohesion: 0.10
Nodes (7): The AI agent's prompt is composed from exactly two account-scoped sources, Tone of voice / extra instructions count as content on their own, Inbound API-service campaigns require a template, Multi-BM monitoring & alerts (Task #337), Templates Validados: validate on one BM, then rollout to the rest, Safe date formatting, SSRF guard for user-supplied URL fetches

### Community 16 - "Sender Profile and Notices UI"
Cohesion: 0.07
Nodes (44): ACCEPTED_MIMES, profileFormSchema, ProfileFormValues, ProfileResponse, SenderProfileSheetProps, Alert, AlertDescription, AlertTitle (+36 more)

### Community 18 - "Sidebar Layout UI"
Cohesion: 0.12
Nodes (31): ResizableHandle(), ResizablePanelGroup(), SheetHeader(), Sidebar(), SidebarContent(), SidebarContext, SidebarContextProps, SidebarFooter() (+23 more)

### Community 19 - "Campaign Storage Methods"
Cohesion: 0.06
Nodes (7): Campaign, Contact, InsertCampaign, InsertContact, InsertTwoStageConfig, TwoStageConfig, UpdateCampaign

### Community 20 - "CLAUDE.md Documentation"
Cohesion: 0.06
Nodes (33): Agendamento de Campanhas, Agente de IA (Respostas Automáticas a Mensagens Recebidas / MO), Ambiente atual (Claude Code / servidor dedicado), API Token por Serviço (API de entrada), Armazenamento de mídia, Arquitetura, Atribuição por sender (não por BM), Comandos úteis (+25 more)

### Community 21 - "Multi-BM Validated Templates UI"
Cohesion: 0.08
Nodes (33): AccordionContent, AccordionItem, AccordionTrigger, PopoverContent, ScrollArea, ScrollBar, Textarea, formatDateTime() (+25 more)

### Community 22 - "WABA Template Storage"
Cohesion: 0.08
Nodes (4): InsertTemplateAccountPreset, InsertWabaTemplate, TemplateAccountPreset, WabaTemplate

### Community 23 - "Auth Middleware and Checknumber"
Cohesion: 0.08
Nodes (37): express, xlsx, express-session, hashPassword(), requireAdmin(), requireAdminOrOperator(), requireAuth(), requireUserManager() (+29 more)

### Community 24 - "HubSpot Auth and Timeline"
Cohesion: 0.11
Nodes (25): getHubspotOAuthConfig(), getValidAccessToken(), HubSpotAuthError, hubspotRefreshLocks, buildEventTemplateDefinition(), buildOnsmsLink(), getDeveloperConfig(), getPublicBaseUrl() (+17 more)

### Community 25 - "AI Agent Orchestration"
Cohesion: 0.08
Nodes (33): buildProfileSection(), buildSystemPrompt(), handleInboundMessage(), InboundMessage, normalizeForMatch(), selectKnowledge(), AiChatTurn, AiProviderError (+25 more)

### Community 26 - "Background Dispatch Workers"
Cohesion: 0.14
Nodes (18): dispatchHubspotMessageStandalone(), DispatchStandaloneResult, buildSendButtonsPayload(), enviarMensagemTemplate(), InfobipSendResult, ordenarSenders(), dispatchInfobipCampaign(), dispatchInfobipCampaignInner() (+10 more)

### Community 27 - "Server Bootstrap and Blocklist"
Cohesion: 0.10
Nodes (20): app, http, httpServer, IncomingMessage, Issue, pgPool, PgStore, applyBlocklist() (+12 more)

### Community 28 - "Campaign Chat UI"
Cohesion: 0.06
Nodes (52): CampaignChatProps, ConversationPane(), ConversationRow, MessageBubble(), STATUS_LABEL, BusinessManager, countVars(), EditorForm (+44 more)

### Community 29 - "Multi-BM Dispatch Logic"
Cohesion: 0.08
Nodes (40): ClientCallbackContact, ClientCallbackPayload, sendClientCallback(), cancelPausedMultibmCampaign(), clearMultibmPauseRequest(), computeMultibmFinalizationResults(), countBodyPlaceholders(), deriveTemplate() (+32 more)

### Community 30 - "DB Cleanup and Seed Scripts"
Cohesion: 0.11
Nodes (21): main(), cleanupApiCampaignOrphanMedia(), CleanupReport, CleanupRow, MEDIA_DIR, safeUnlink(), db, pool (+13 more)

### Community 31 - "Bug: sistema de auto-registro de webhook nunca funcionou"
Cohesion: 0.18
Nodes (10): Achado relacionado (não bloqueante, sem ação necessária agora), Bug: sistema de auto-registro de webhook nunca funcionou, Causa raiz: endpoint e schema errados, Como retomar isso numa sessão nova, Comparação: código atual vs. API real, Contexto / como foi descoberto, Eventos disponíveis por canal, Onde o código precisa mudar (+2 more)

### Community 32 - "User and Sender Assignment Storage"
Cohesion: 0.10
Nodes (5): BmClientAssignment, InsertSenderAssignment, InsertUser, SenderAssignment, User

### Community 33 - "Multi-BM Submission Storage"
Cohesion: 0.09
Nodes (4): MultibmPhysicalSubmission, MultibmTemplateSubmissionWithBm, InsertMultibmTemplateSubmission, MultibmTemplateSubmission

### Community 34 - "Admin Logs UI"
Cohesion: 0.15
Nodes (14): fmt(), HubspotRow, HubspotTab(), InfobipRow, InfobipTab(), LogSource, ORIGIN_COLORS, OUTCOME_COLORS (+6 more)

### Community 35 - "Media Storage Utilities"
Cohesion: 0.15
Nodes (21): assertPublicHost(), deleteMediaObject(), DownloadedMedia, downloadMediaBuffer(), downloadMediaFromUrl(), ensureMediaDir(), extFromMime(), getUploadDir() (+13 more)

### Community 36 - "RCS API Client"
Cohesion: 0.14
Nodes (17): buildPayload(), mapSuggestions(), RcsCard, RcsSendBasicParams, RcsSendParams, RcsSendResult, RcsSendSingleCardParams, RcsSendSingleMediaParams (+9 more)

### Community 37 - "TypeScript Configuration"
Cohesion: 0.10
Nodes (19): compilerOptions, allowImportingTsExtensions, baseUrl, esModuleInterop, incremental, jsx, lib, module (+11 more)

### Community 38 - "Menubar UI Component"
Cohesion: 0.12
Nodes (11): Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut() (+3 more)

### Community 39 - "Shadcn UI Config"
Cohesion: 0.12
Nodes (16): aliases, components, hooks, lib, ui, utils, rsc, $schema (+8 more)

### Community 40 - "Sidebar and Branding Context"
Cohesion: 0.20
Nodes (13): AppSidebar(), ROLE_ICON, applyPrimaryColor(), BrandingConfig, BrandingContext, BrandingContextValue, BrandingProvider(), DEFAULT_BRANDING (+5 more)

### Community 41 - "Toast and Notice System"
Cohesion: 0.11
Nodes (25): BusinessManager, CATEGORIA_LABELS, ClusterSignature, countVars(), emptyForm, hasQuickReply(), HEADER_TYPES, HeaderMarker (+17 more)

### Community 42 - "Chart UI Component"
Cohesion: 0.12
Nodes (13): useCarousel(), ChartConfig, ChartContainer, ChartContext, ChartContextProps, ChartLegendContent, ChartTooltipContent, THEMES (+5 more)

### Community 43 - "HubSpot Action Sync"
Cohesion: 0.19
Nodes (13): checkHubspotActionSync(), currentHash, HubspotActionSyncState, HubspotActionSyncStatus, state, buildExpectedCanonicalShape(), CanonicalActionShape, CanonicalDependency (+5 more)

### Community 45 - "Button, Calendar, Pagination UI"
Cohesion: 0.16
Nodes (12): ButtonProps, buttonVariants, Calendar(), CalendarProps, Pagination(), PaginationContent, PaginationEllipsis(), PaginationItem (+4 more)

### Community 46 - "Multi-BM Template Storage"
Cohesion: 0.27
Nodes (3): MultibmTemplateWithSubmissions, InsertMultibmTemplate, MultibmTemplate

### Community 49 - "Carousel UI Component"
Cohesion: 0.15
Nodes (12): Carousel, CarouselApi, CarouselContent, CarouselContext, CarouselContextProps, CarouselItem, CarouselNext, CarouselOptions (+4 more)

### Community 50 - "Chip Provisioning Clients"
Cohesion: 0.23
Nodes (12): apiGet(), getNumber(), GetNumberError, GetNumberResult, getStatus(), GetStatusResult, setStatus(), storage (+4 more)

### Community 51 - "Multi-BM Health Sync"
Cohesion: 0.24
Nodes (12): InfobipSenderFromApi, listarSendersFromApi(), diagnoseMultibmForService(), MultibmDiagnosticItem, MultibmDiagnosticKind, MultibmDiagnosticsResult, MultibmHealthSyncResult, normalizeNumber() (+4 more)

### Community 52 - "Business Manager Storage"
Cohesion: 0.19
Nodes (3): BusinessManagerWithStats, BusinessManager, InsertBusinessManager

### Community 53 - "HubSpot Dispatch Queue Storage"
Cohesion: 0.24
Nodes (10): Account, accountLabel(), buildDateRange(), CommittedParams, fmt(), PeriodPreset, Relatorios(), ReportServiceSummary (+2 more)

### Community 56 - "Multi-BM Dashboard UI"
Cohesion: 0.16
Nodes (6): ICON, NoticeBannerProps, VARIANT, useNotices(), InsertSystemNotice, SystemNotice

### Community 57 - "Toast UI Component"
Cohesion: 0.27
Nodes (9): Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastTitle, toastVariants (+1 more)

### Community 63 - "Multi-BM Webhook Tests"
Cohesion: 0.18
Nodes (8): buildApp(), createCalls, deleteCalls, infobipState, listCalls, sessionState, storageHandlers, storageState

### Community 64 - "Error Boundary Component"
Cohesion: 0.20
Nodes (3): ErrorBoundary, ErrorBoundaryProps, ErrorBoundaryState

### Community 66 - "Context Menu UI"
Cohesion: 0.20
Nodes (9): ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut(), ContextMenuSubContent (+1 more)

### Community 67 - "Dropdown Menu UI"
Cohesion: 0.20
Nodes (9): DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut(), DropdownMenuSubContent (+1 more)

### Community 72 - "Multi-BM Template Cluster Tests"
Cohesion: 0.18
Nodes (11): Como retomar isto numa sessão nova, ⚠️ CONFLITOS/LACUNAS mapeados no código atual (resolver na implementação), Contexto e decisão do dono (redesenho — substitui uma proposta anterior de, Guardrails, Modelo definido pelo dono, Multi-BM sidebar + HubSpot compatibility — pending, not yet implemented, Ordem recomendada de execução, PARTE A — UX: Multi-BM na barra lateral com sub-itens (+3 more)

### Community 73 - "Multi-BM Template Sync Tests"
Cohesion: 0.29
Nodes (5): buildApp(), enviarMensagemTemplateMockRef, sessionState, state, storageHandlers

### Community 74 - "dispatch"
Cohesion: 0.50
Nodes (5): addToRemoveQueue(), dispatch(), genId(), reducer(), Toast

### Community 75 - "Activity Log Storage"
Cohesion: 0.28
Nodes (4): inferActivityLogOrigin(), ActivityLog, ActivityLogOrigin, InsertActivityLog

### Community 76 - "Breadcrumb UI Component"
Cohesion: 0.25
Nodes (7): Breadcrumb, BreadcrumbEllipsis(), BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator()

### Community 77 - "Drawer UI Component"
Cohesion: 0.25
Nodes (6): DrawerContent, DrawerDescription, DrawerFooter(), DrawerHeader(), DrawerOverlay, DrawerTitle

### Community 78 - "Navigation Menu UI"
Cohesion: 0.25
Nodes (7): NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, NavigationMenuViewport

### Community 79 - "Sheet UI Component"
Cohesion: 0.25
Nodes (7): SheetContent, SheetContentProps, SheetDescription, SheetFooter(), SheetOverlay, SheetTitle, sheetVariants

### Community 80 - "Account Service Balance Storage"
Cohesion: 0.18
Nodes (10): Achados da análise (já verificados no código — corrigir nesta ordem), ALTO, Como retomar isto numa sessão nova, Contexto, CRÍTICO, Entregável, Guardrails, MÉDIO (+2 more)

### Community 85 - "Vendor Mask Exposure Tests"
Cohesion: 0.25
Nodes (5): buildApp(), EnviarFn, fetchCalls, HubSpotAuthError, storageState

### Community 86 - "Toggle UI Components"
Cohesion: 0.33
Nodes (5): ToggleGroup, ToggleGroupContext, ToggleGroupItem, Toggle, toggleVariants

### Community 87 - "File Upload Hook"
Cohesion: 0.38
Nodes (6): IMPORTANT: This function receives the UppyFile object from Uppy., IMPORTANT: Send JSON metadata, NOT the file itself., UploadMetadata, UploadResponse, useUpload(), UseUploadOptions

### Community 88 - "Multi-BM Validated Template Storage"
Cohesion: 0.15
Nodes (8): drizzle-kit push hangs on new tables, AI inbound (MO) attribution depends on dispatch-time ownership, MO attribution must cover BOTH dispatch tracks (WA OFICIAL + Multi-BM), MO dedupe must be DB-atomic, and empty ids must be null, Per-dispatch reply cap: conversation lookup must include LIMIT_REACHED, Persist the inbound BEFORE any no-send gate; exclude it from prompt history by row id, Reply-window is measured from the latest inbound USER message, not the dispatch, Multi-BM Template Cluster (fill variables once for all BMs)

### Community 90 - "Template Media Storage"
Cohesion: 0.08
Nodes (39): AiProvider, InfobipTemplateCreate, TemplateButton, bodyStartsOrEndsWithVariable(), ButtonLike, ContactWithParams, containsPlaceholder(), containsProhibitedMetaContent() (+31 more)

### Community 93 - "OTP Input UI Component"
Cohesion: 0.33
Nodes (5): InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, input-otp

### Community 95 - "Two-Stage Campaign Config Storage"
Cohesion: 0.08
Nodes (24): RadioGroup, RadioGroupItem, Separator, AnyTemplateButton, getDynamicUrlButtonBase(), applyPreset(), BannerMode, MultibmSubmissionVariation (+16 more)

### Community 100 - "HubSpot Workflow Action Tests"
Cohesion: 0.33
Nodes (4): buildApp(), enviarCalls, EnviarMensagemArgs, storageState

### Community 101 - "Toast Notification State"
Cohesion: 0.20
Nodes (7): buildApp(), criarTemplateMock, listarSendersFromApiMock, listarTemplatesPorWabaMock, sessionState, state, storageHandlers

### Community 102 - "Email Alert Mailer"
Cohesion: 0.20
Nodes (6): db, dispatch(), sender(), sendMock, storageHandlers, Sub

### Community 105 - "Object Uploader Component"
Cohesion: 0.20
Nodes (7): buildApp(), db, infobipState, sessionState, storageHandlers, Sub, Tpl

### Community 106 - "Avatar UI Component"
Cohesion: 0.50
Nodes (3): Avatar, AvatarFallback, AvatarImage

### Community 107 - "HubSpot Action Registration"
Cohesion: 0.50
Nodes (3): baseTrimmed, definition, isUpdate

### Community 108 - "Sender Stats Queries"
Cohesion: 0.33
Nodes (3): ProfileResponse, ClientBusinessProfile, UpsertClientBusinessProfileInput

### Community 110 - "TemplatePreset"
Cohesion: 0.29
Nodes (4): db, dispatch(), storageHandlers, Sub

### Community 111 - "User & Service Queries"
Cohesion: 0.40
Nodes (4): Multi-BM template fallback (T09) & per-second throttle (T01), Per-second throttle, Retry is intentionally absent, Template fallback resolution

### Community 112 - "Template Preset Storage"
Cohesion: 0.50
Nodes (3): Do NOT migrate to `exceljs` as a drop-in replacement, Remediating the `xlsx` (SheetJS) npm advisory, The fix

### Community 116 - "Output Sanitization"
Cohesion: 0.29
Nodes (6): DiagnosticItem, DiagnosticKind, DiagnosticsResult, KIND_LABELS, KIND_VARIANT, MultibmDiagnosticsTab()

### Community 122 - "HubspotAlertState"
Cohesion: 0.22
Nodes (7): buildApp(), criarCalls, handlers, infobipState, sessionState, St, validBody

### Community 124 - "multibmValidateGuard.test.ts"
Cohesion: 0.29
Nodes (5): buildApp(), criarTemplateMock, sessionState, state, storageHandlers

### Community 133 - "multibmCampaignCreationAtomic.test.ts"
Cohesion: 0.29
Nodes (4): atomicState, buildApp(), sessionState, storageHandlers

### Community 135 - "multibmRateLimitSharedAcrossCampaigns.test.ts"
Cohesion: 0.25
Nodes (4): callTimestamps, db, enviarMensagemTemplateMock, storageHandlers

### Community 136 - "multibmDailyLimitByBm.test.ts"
Cohesion: 0.29
Nodes (4): db, dispatch(), enviarMensagemTemplateMock, storageHandlers

### Community 137 - "scheduledCampaignCreationGuard.test.ts"
Cohesion: 0.29
Nodes (4): buildApp(), dispatchInfobipCampaignMock, sessionState, storageHandlers

### Community 139 - "vendor-mask.ts"
Cohesion: 0.83
Nodes (3): RESTRICTED_ROLES, scrubVendor(), scrubVendorForRole()

## Knowledge Gaps
- **847 isolated node(s):** `ObjectUploaderProps`, `profileFormSchema`, `ProfileFormValues`, `ProfileResponse`, `SenderProfileSheetProps` (+842 more)
  These have ≤1 connection - possible missing edges or undocumented components.
- **46 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.

## Suggested Questions
_Questions this graph is uniquely positioned to answer:_

- **Why does `registerRoutes()` connect `Auth Middleware and Checknumber` to `Media Storage Utilities`, `Roles and Permissions`, `Template Media Storage`, `RCS API Client`, `Account Management Page`, `Schema Status Enums`, `Email Alert Mailer`, `mailer.ts`, `HubSpot Action Sync`, `Infobip API Integration`, `Chip Provisioning Clients`, `Multi-BM Health Sync`, `HubSpot Auth and Timeline`, `AI Agent Orchestration`, `Background Dispatch Workers`, `Server Bootstrap and Blocklist`, `Multi-BM Dispatch Logic`, `DB Cleanup and Seed Scripts`?**
  _High betweenness centrality (0.135) - this node is a cross-community bridge._
- **Why does `dependencies` connect `NPM Runtime Dependencies` to `Account Management Page`, `Chart UI Component`, `Build Tooling Dependencies`, `Auth Middleware and Checknumber`, `OTP Input UI Component`?**
  _High betweenness centrality (0.120) - this node is a cross-community bridge._
- **Why does `IStorage` connect `Storage Interface Methods` to `Database Storage Implementation`, `AccountServiceBalance`, `TemplateGeneratorConfig`, `Button and Alert Dialog UI`, `Reporting and Monitoring Types`, `Infobip Sender Storage`, `Campaign Storage Methods`, `WABA Template Storage`, `User and Sender Assignment Storage`, `Multi-BM Submission Storage`, `Branding Storage Methods`, `Multi-BM Template Storage`, `Infobip Config Storage`, `WABA Message Storage`, `Business Manager Storage`, `AI Conversation Storage`, `WA Filter Batch Storage`, `Multi-BM Dashboard UI`, `BM Sender Storage`, `Chip Activation Storage`, `HubSpot Connection Storage`, `RCS Sender Storage`, `API Token Storage`, `blocklist.ts`, `Knowledge Base Storage`, `Multi-BM Message Storage`, `RCS Config Storage`, `RCS Message Storage`, `Activity Log Storage`, `HubSpot Execute Diagnostics`, `Blocklist Term Storage`, `Status Mapping Storage`, `AI Client Settings Storage`, `API Settings Storage`, `Multi-BM Marketing Dispatch Tests`, `Column Keyword Storage`, `AI Agent Config Storage`, `HubSpot Alert Config Storage`, `Multi-BM Alert Config Storage`, `Multi-BM Config Storage`, `AI Conversation Messages`, `HubSpot Timeline Template Storage`, `Sender Stats Queries`, `Credit Transactions`?**
  _High betweenness centrality (0.115) - this node is a cross-community bridge._
- **Are the 6 inferred relationships involving `registerRoutes()` (e.g. with `displayName()` and `requireAdmin()`) actually correct?**
  _`registerRoutes()` has 6 INFERRED edges - model-reasoned connections that need verification._
- **What connects `ObjectUploaderProps`, `IMPORTANT: This receives the file object - use file.name, file.size, file.type`, `profileFormSchema` to the rest of the system?**
  _851 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Storage Interface Methods` be split into smaller, more focused modules?**
  _Cohesion score 0.017391304347826087 - nodes in this community are weakly interconnected._
- **Should `Database Storage Implementation` be split into smaller, more focused modules?**
  _Cohesion score 0.01862267216597925 - nodes in this community are weakly interconnected._