# Graph Report - portalonsms2  (2026-08-14)

## Corpus Check
- 554 files · ~772,272 words
- Verdict: corpus is large enough that graph structure adds value.

## Summary
- 5326 nodes · 11404 edges · 261 communities (209 shown, 52 thin omitted)
- Extraction: 99% EXTRACTED · 1% INFERRED · 0% AMBIGUOUS · INFERRED: 96 edges (avg confidence: 0.74)
- Token cost: 0 input · 0 output

## Graph Freshness
- Built from commit: `da9707f1`
- 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
- 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
- Auth Middleware and Checknumber
- AI Agent Orchestration
- admin-senders.tsx
- 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
- WABA Message Storage
- Carousel UI Component
- Chip Provisioning Clients
- Multi-BM Health Sync
- Business Manager Storage
- waCloudUsinaRoutes.ts
- rcsApi.ts
- WA Filter Batch Storage
- Multi-BM Dashboard UI
- Toast UI Component
- BM Sender Storage
- Chip Activation Storage
- HubSpot Connection Storage
- use-atendimento-stream.ts
- API Token Storage
- scripts
- Error Boundary Component
- webhookTokenTimingSafe.test.ts
- Context Menu UI
- Dropdown Menu UI
- enviarMensagemCtaUrl
- Multi-BM Message Storage
- mediaLimits.ts
- dispatchParity.test.ts
- Multi-BM Template Cluster Tests
- registerRoutes
- ContactFilePreviewTable
- Activity Log Storage
- templateGenerator.ts
- Drawer UI Component
- Navigation Menu UI
- RcsContentEditor
- Account Service Balance Storage
- signals.ts
- dashboard.tsx
- cloudTemplateSync.ts
- Vendor Mask Exposure Tests
- loadtest-multibm.ts
- File Upload Hook
- Multi-BM Validated Template Storage
- usina-multibm-dashboard.tsx
- Template Media Storage
- AI Agent Safeguards Tests
- clientBusinessProfile.test.ts
- OTP Input UI Component
- waOnsmsReceptivo.test.ts
- vendor-mask.ts
- prohibitedTerms.ts
- multibmDispatchResume.test.ts
- vite.ts
- whatsapp-template-preview.tsx
- AI Conversation Messages
- Object Uploader Component
- multibmDispatchPerContactParams.test.ts
- HubSpot Action Registration
- Sender Stats Queries
- dispatch
- cloudHealthSync.ts
- User & Service Queries
- Template Preset Storage
- Build Script Allowlist
- Credit Transactions
- freeform-send-guard.md
- messageGuard.ts
- Infobip Template Header Rule
- mailer.ts
- Production Deploy Script
- Dev Deploy Script
- Post-Merge Hook Script
- HubspotAlertState
- multibmCampaignCreationAtomic.test.ts
- permissions.ts
- AccountServiceBalance
- TemplatePreset
- ProvidersTab
- urlSecurity.test.ts
- multibmRateLimitSharedAcrossCampaigns.test.ts
- drawer.tsx
- multibmPoolTruth.test.ts
- multibmValidateGuard.test.ts
- multibmDailyLimitByBm.test.ts
- usina-multibm-dashboard.tsx
- multibmHealthSyncBanDetection.test.ts
- fileSignatureValidation.test.ts
- moderationDispatchGuard.test.ts
- btnUrlSuffix.ts
- clientCallbackRetry.test.ts
- whatsapp-message-preview.tsx
- multibmSharedTierByMetaBm.test.ts
- section-status-badge.tsx
- notice-banner.tsx
- multibmDistributionStrategy.test.ts
- scripts
- senderProfiles.test.ts
- vendor-mask.ts
- mediaLimits.ts
- templateUtils.ts
- ClientBusinessProfile
- Service
- .getUserById
- aiMonthlyCap.ts
- moderationSampleFallback.test.ts
- app-sidebar.tsx
- section-status-badge.tsx
- multibmBalanceGuard.ts
- smsAdapter.ts
- UpdateCampaign
- leadsOrigensEmptyState.test.ts
- TemplatePreset
- onboardingFila.test.ts
- sheet.tsx
- toast.tsx
- waCloudCoexistence.test.ts
- scripts
- multibmHideAndIgnore.test.ts
- templateMediaStorage.ts
- hubspotWorkflowAction.test.ts
- multibmValidateGuard.test.ts
- twoStageReport.test.ts
- scheduledDispatchWorker.test.ts
- section-status-badge.tsx
- whatsapp-message-preview.tsx
- vendor-mask.ts
- moderationSampleFallback.test.ts
- segmented-control.tsx
- templateUtils.ts
- templateAdminOnly.test.ts
- usina-multibm-dashboard.tsx
- waCloudFrota.test.ts
- segmented-control.tsx
- metaSignupExchange.test.ts
- multibmPauseResumeCancel.test.ts
- brandingPublicRoutes.test.ts
- section-status-badge.tsx
- segmented-control.tsx
- wa-cloud-send-result-contract.md
- deliveryStatsTiles.test.ts
- migrar-config-sinais.ts
- publicRoutes.ts
- hover-card.tsx
- slider.tsx
- filter-pill.tsx
- infobipRejectedCredits.test.ts
- use-app-mode.ts
- PageEditor
- rcsLimits.ts
- legal-publico.tsx
- multibmBalanceGuard.test.ts
- acesso-publico.tsx
- popover.tsx
- onboardingLembretes.test.ts
- whatsapp-message-preview.tsx
- use-notices.ts
- multibmBalanceGuard.ts
- toggle-group.tsx
- Análise do App (Meta) — roteiro dos vídeos e da submissão
- webhookTokenTimingSafe.test.ts
- extractNamedColumnMap
- multibmSyncReconciliation.test.ts
- hideAiFeature.test.ts
- outboundWebhooks.ts
- multibmTemplateSync.test.ts
- antiabuse.ts
- Central de Atendimento — regras de negócio e arquitetura
- sanitizeOutput.ts
- video1-enviar-hello.sh
- video2-criar-template.sh
- prohibitedTerms.ts
- templateMediaStorage.ts
- multibmValidatedTemplates.test.ts
- verify-coexistence-echo.ts
- centralAtendimentoRoutes.test.ts
- fetchWithRetry
- outboundWebhooks.ts
- leadAds.test.ts
- workerWake.test.ts
- vite.ts
- relatorioEstadoFinal.test.ts
- linkDoLote.test.ts
- clientBusinessProfile.test.ts
- solicitarTemplate.test.ts
- templatesPageChannels.test.ts
- onboardingAcrescentarCanal.test.ts

## God Nodes (most connected - your core abstractions)
1. `DatabaseStorage` - 483 edges
2. `IStorage` - 458 edges
3. `useToast()` - 164 edges
4. `apiRequest()` - 147 edges
5. `cn()` - 108 edges
6. `Button` - 84 edges
7. `Badge()` - 72 edges
8. `Card` - 72 edges
9. `CardContent` - 70 edges
10. `storage` - 66 edges

## Surprising Connections (you probably didn't know these)
- `main()` --indirect_call--> `s()`  [INFERRED]
  scripts/apply-ai-indexes-dev.ts → client/src/pages/onboarding-publico.tsx
- `parseSalesRows()` --indirect_call--> `pedido()`  [INFERRED]
  server/revenue/adapters/csvAdapter.ts → tests/solicitarTemplate.test.ts
- `Branding()` --indirect_call--> `msg()`  [INFERRED]
  client/src/pages/branding.tsx → tests/atendimentoBus.test.ts
- `Campaigns()` --indirect_call--> `msg()`  [INFERRED]
  client/src/pages/campaigns.tsx → tests/atendimentoBus.test.ts
- `AlertsConfigCard()` --indirect_call--> `msg()`  [INFERRED]
  client/src/pages/hubspot-diagnostics.tsx → tests/atendimentoBus.test.ts

## 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 (261 total, 52 thin omitted)

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

### Community 3 - "Badge and Card UI"
Cohesion: 0.05
Nodes (74): AgentTab(), ConfigResponse, MonthlyUsageResponse, ConfigResponse, GeneratorTab(), ProviderModelPicker(), AgentConfigResponse, ApiKeyPresence (+66 more)

### Community 4 - "Roles and Permissions"
Cohesion: 0.05
Nodes (56): RFC-4180, allRoles, brandingDir, brandingUpload, buildObservation(), buildZipForCampaign(), campaignRequiresModeration(), composerRateLimiter (+48 more)

### Community 5 - "Schema Status Enums"
Cohesion: 0.01
Nodes (311): AccessInvite, AccountServiceBalance, ACTIVITY_LOG_ORIGINS, ActivityLog, ActivityLogOrigin, AdminUpsertAiClientSettingsInput, adminUpsertAiClientSettingsSchema, AiConversation (+303 more)

### Community 6 - "Accordion and Dialog UI"
Cohesion: 0.05
Nodes (54): ACCEPTED_MIMES, profileFormSchema, ProfileFormValues, ProfileResponse, SenderProfileSheetProps, FormControl, FormDescription, FormField() (+46 more)

### Community 7 - "Account Management Page"
Cohesion: 0.07
Nodes (34): runAllTotvsSyncs(), buildMetaEvent(), buildMetaSignalEvent(), drainConversionExportQueue(), drainSignalExportQueue(), sendBatchToGoogle(), sendBatchToMeta(), sendSignalBatchToMeta() (+26 more)

### Community 9 - "Reporting and Monitoring Types"
Cohesion: 0.11
Nodes (31): xlsx, classifyPhoneCell(), COLUMN_ALIASES, CPF_HEADERS, cpfChecksumOk(), CsvParseResult, findColumns(), norm() (+23 more)

### Community 10 - "AI Panel and Tabs UI"
Cohesion: 0.07
Nodes (34): Separator, AuthContext, AuthContextType, AuthProvider(), AuthUser, canBranding(), canDoOperational(), UserRole (+26 more)

### Community 11 - "App Routing and Auth Context"
Cohesion: 0.20
Nodes (5): db, dispatch(), sendMock, storageHandlers, Sub

### Community 12 - "Infobip API Integration"
Cohesion: 0.09
Nodes (24): buildAuthHeaders(), buildButtonsArray(), buildCarouselCard(), buildHeaderComponent(), buildSendButtonsPayload(), CarouselCard, CarouselCardButton, criarTemplate() (+16 more)

### Community 13 - "Build Tooling Dependencies"
Cohesion: 0.05
Nodes (57): balanceCache, BalanceCacheEntry, BalanceCheck, checkMultibmBalance(), getMinBalanceFloor(), invalidateBalanceCache(), notifyAdminsLowBalance(), activeRunCount() (+49 more)

### Community 14 - "Template Utilities and Form UI"
Cohesion: 0.05
Nodes (62): AccordionContent, AccordionItem, AccordionTrigger, BlockEditor(), Field(), ImageField(), Patch, QuizRow (+54 more)

### Community 15 - "Project Memory Notes"
Cohesion: 0.09
Nodes (8): The AI agent's prompt is composed from exactly two account-scoped sources, Tone of voice / extra instructions count as content on their own, Every automatic free-form send must pass the shared guard, 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.06
Nodes (36): ACENTOS, CalResp, CamposForm, idDe(), LeadsFormEditor(), LinhaCal, Pergunta, previaDaConta() (+28 more)

### Community 17 - "Infobip Sender Storage"
Cohesion: 0.12
Nodes (29): requireAdminOrOperator(), CloudTemplateButtonInput, bodyStartsOrEndsWithVariable(), ButtonLike, containsPlaceholder(), findProhibitedContentInParams(), IMAGE_EXTENSIONS, isHttpUrl() (+21 more)

### Community 18 - "Sidebar Layout UI"
Cohesion: 0.09
Nodes (39): HoverCardContent, ResizableHandle(), ResizablePanelGroup(), SheetContent, SheetContentProps, SheetDescription, SheetFooter(), SheetHeader() (+31 more)

### Community 19 - "Campaign Storage Methods"
Cohesion: 0.08
Nodes (55): escolher(), fechou(), main(), sorteioRespostas(), TOTAL, VERDADE, aplicarPesos(), calcularCalibracao() (+47 more)

### Community 20 - "CLAUDE.md Documentation"
Cohesion: 0.05
Nodes (37): 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, Atendimento × Disparo (permissão aditiva, não papel exclusivo), Atribuição por sender (não por BM) (+29 more)

### Community 21 - "Multi-BM Validated Templates UI"
Cohesion: 0.11
Nodes (29): activationBlockReason(), enterFromEvents(), enterFromSegment(), exitExecution(), insertExecutions(), parseSteps(), parseTrigger(), processDue() (+21 more)

### Community 23 - "Auth Middleware and Checknumber"
Cohesion: 0.11
Nodes (12): buildOnsmsSubscriptionId(), getWebhookEnvSuffix(), buildApp(), createCalls, deleteCalls, infobipState, listCalls, sessionState (+4 more)

### Community 25 - "AI Agent Orchestration"
Cohesion: 0.09
Nodes (35): salvarConfigMotor(), detectarLembretes(), fecharLembrete(), LembreteVisivel, listarLembretes(), listarLembretesDoPedido(), montarTextoLembrete(), Regra (+27 more)

### Community 26 - "admin-senders.tsx"
Cohesion: 0.06
Nodes (75): ConfigResponse, EMPTY_TERM_FORM, PERSONA_FIELDS, TermFormState, AiPanel(), Marco(), quandoCurto(), CentralHeader() (+67 more)

### Community 27 - "Server Bootstrap and Blocklist"
Cohesion: 0.06
Nodes (41): Skeleton(), applyPreset(), formatDate(), formatDateTimeSeconds(), formatTime(), toValidDate(), AccountRow(), ActivityLogs() (+33 more)

### Community 28 - "Campaign Chat UI"
Cohesion: 0.07
Nodes (31): pgPoolOptions, app, http, httpServer, IncomingMessage, Issue, log(), pgPool (+23 more)

### Community 29 - "Multi-BM Dispatch Logic"
Cohesion: 0.11
Nodes (25): AtendimentoKanban(), BRL(), fmtPhone(), main(), main(), bus, CentralConversationEvent, CentralEvent (+17 more)

### Community 30 - "DB Cleanup and Seed Scripts"
Cohesion: 0.12
Nodes (32): aplicarEventosDoSetup(), EVENTO_PARA_ESTADOS, exchangePublicoSchema, montarPrefill(), naoEncontrado(), PODE_CONECTAR, registerOnboardingConectarRoutes(), resolverServicoWaCloud() (+24 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.07
Nodes (45): express, vite, express-session, requireAdmin(), requireAuth(), requireTermsAccepted(), resolveAccountRootId(), SessionData (+37 more)

### Community 33 - "Multi-BM Submission Storage"
Cohesion: 0.27
Nodes (7): buttonKind(), defaultLabel(), normalizeButtons(), NormalizeButtonsOptions, PreviewButton, RawButton, WhatsappMessagePreviewProps

### Community 34 - "Admin Logs UI"
Cohesion: 0.23
Nodes (12): CHANNEL_DOT, espera(), horaCurta(), InboxPanel(), iniciais(), Props, CentralFilters, InboxConversation (+4 more)

### Community 35 - "Media Storage Utilities"
Cohesion: 0.11
Nodes (26): main(), cleanupApiCampaignOrphanMedia(), CleanupReport, CleanupRow, MEDIA_DIR, safeUnlink(), assertPublicHost(), deleteMediaObject() (+18 more)

### Community 36 - "RCS API Client"
Cohesion: 0.25
Nodes (11): apiGet(), getNumber(), GetNumberError, GetNumberResult, getStatus(), GetStatusResult, setStatus(), apiGet() (+3 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.14
Nodes (27): applyBrandColors(), applyPalette(), applyVars(), BrandingConfig, BrandingContext, BrandingContextValue, BrandingProvider(), DEFAULT_BRANDING (+19 more)

### Community 41 - "Toast and Notice System"
Cohesion: 0.09
Nodes (10): getGlobalContactByPhone(), getContactTimeline(), KIND_LABEL, TimelineEntry, brPhoneMatchCandidates(), ContactAttribute, contactAttributes, contactEvents (+2 more)

### Community 42 - "Chart UI Component"
Cohesion: 0.14
Nodes (26): flagConnectionFromError(), syncCloudTemplates(), authorizeDispatchSchema, effectiveOwnerId(), ExchangeOpts, ExchangeResultado, exchangeSchema, metaWebhookRateLimiter (+18 more)

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

### Community 44 - "Branding Storage Methods"
Cohesion: 0.09
Nodes (29): Avatar, AvatarFallback, AvatarImage, DropdownMenuItem, MultibmSender, qualityColor(), qualityLabel(), senderInitials() (+21 more)

### Community 45 - "Button, Calendar, Pagination UI"
Cohesion: 0.17
Nodes (17): InfobipSenderFromApi, listarSendersFromApi(), diagnoseMultibmForService(), mapConnectionStatusToBanRestriction(), MultibmDiagnosticItem, MultibmDiagnosticKind, MultibmDiagnosticsResult, MultibmHealthSyncResult (+9 more)

### Community 46 - "Multi-BM Template Storage"
Cohesion: 0.10
Nodes (35): isTwoStageNegativeReply(), maybeSendTwoStagePreProgrammed(), appSecretProof(), buildGraphButtons(), buildTemplateComponents(), BUSINESS_ERROR_CODES, classifyGraphSendError(), createCloudTemplate() (+27 more)

### Community 48 - "WABA Message Storage"
Cohesion: 0.12
Nodes (28): buildRcsBatchBody(), mapCard(), mapMessage(), mapSuggestions(), RcsBatchResult, RcsMailingParams, RcsOutBase, RcsOutMessage (+20 more)

### 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.29
Nodes (4): db, dispatch(), enviarMensagemTemplateMock, storageHandlers

### Community 51 - "Multi-BM Health Sync"
Cohesion: 0.06
Nodes (18): main(), estado(), main(), db, pool, poolMax, cache, drawControlGroup() (+10 more)

### Community 52 - "Business Manager Storage"
Cohesion: 0.13
Nodes (19): computeQuietHour(), currentHourSaoPaulo(), isQuietNow(), lastVerdict, loadConfig(), parseHour(), QuietConfig, _resetQuietCacheForTests() (+11 more)

### Community 53 - "waCloudUsinaRoutes.ts"
Cohesion: 0.14
Nodes (21): clampDays(), engineKeyOk(), registerAdPerformanceRoutes(), withSpend(), fetchMetaSpend(), spendByPlatform(), SpendRow, syncAllAdSpend() (+13 more)

### Community 54 - "rcsApi.ts"
Cohesion: 0.18
Nodes (24): buildHeaders(), buscarRelatorio(), buscarSaldo(), createSubscription(), deleteProfilePhoto(), deleteSubscription(), enviarMensagemMidia(), enviarMensagemTexto() (+16 more)

### Community 55 - "WA Filter Batch Storage"
Cohesion: 0.06
Nodes (49): AiProvider, AiProviderError, generateAiReply(), assembleTemplate(), buildComposeSystemPrompt(), buildGenerateSystemPrompt(), ComposerComposeInput, ComposerComposeResult (+41 more)

### Community 56 - "Multi-BM Dashboard UI"
Cohesion: 0.20
Nodes (13): CampaignClickStats, DeactivateCampaignLinksParams, deleteStaticCampaignLink(), fetchCampaignClickStats(), generateCampaignLinks(), GenerateCampaignLinksParams, generateSingleCampaignLink(), generateStaticCampaignLink() (+5 more)

### Community 57 - "Toast UI Component"
Cohesion: 0.16
Nodes (8): onboardingEvents, condicoes(), corrente, dbFalso, filtrar(), Linha, snakeParaCamel(), tabelas

### Community 58 - "BM Sender Storage"
Cohesion: 0.05
Nodes (68): buildProfileSection(), buildSystemPrompt(), cloudQuarantineMinutes(), executeReplyFlush(), flushConversationReply(), handleInboundMessage(), InboundMessage, normalizeForMatch() (+60 more)

### Community 59 - "Chip Activation Storage"
Cohesion: 0.20
Nodes (9): @esbuild-kit/esm-loader, license, name, optionalDependencies, bufferutil, overrides, drizzle-kit, type (+1 more)

### Community 61 - "use-atendimento-stream.ts"
Cohesion: 0.12
Nodes (26): quietWindowLabel(), ContactRenderCtx, dispatchRcsCampaign(), dispatchRcsCampaignInner(), finalizarCampanhaRcs(), inFlightCampaigns, parseContactParams(), RcsDispatchOptions (+18 more)

### Community 62 - "API Token Storage"
Cohesion: 0.17
Nodes (5): aiState, buildApp(), forwardCalls, storageHandlers, storageState

### Community 63 - "scripts"
Cohesion: 0.36
Nodes (7): buscarStatusTemplate(), fetchWithRetry(), parseRetryAfterMs(), sleep(), forwardWebhookEvents(), getForwardUrl(), isForwardingEnabled()

### Community 65 - "webhookTokenTimingSafe.test.ts"
Cohesion: 0.08
Nodes (32): DELIVERY_ERROR_LABELS, friendlyDeliveryError(), scrubVendor(), dispatchSmsCampaign(), dispatchSmsCampaignInner(), finalizarCampanhaSms(), inFlightCampaigns, SmsDispatchOptions (+24 more)

### 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.27
Nodes (10): banirLinksDoTemplate(), blockLinks(), canonicalizeLink(), gateBlockedLinks(), getBlockedSet(), invalidateBlockedLinksCache(), unblockLink(), BlockedLink (+2 more)

### Community 68 - "enviarMensagemCtaUrl"
Cohesion: 0.24
Nodes (14): AiChatTurn, apiKeyFor(), classifyGoogleImageError(), fetchWithTimeout(), generateAnthropic(), GeneratedImage, generateGemini(), generateGeminiImage() (+6 more)

### Community 69 - "Multi-BM Message Storage"
Cohesion: 0.07
Nodes (32): AccountUpdateValue, drainMetaBatch(), drainMetaWebhookQueue(), EchoChangeValue, extractInboundText(), handleAccountUpdate(), handleInboundMessages(), handleMessageEchoes() (+24 more)

### Community 70 - "mediaLimits.ts"
Cohesion: 0.08
Nodes (26): BubbleMedia(), CARD_ACCENTS, CardImageField(), isVideoUrl(), MEDIA_HEIGHT_CLASS, MEDIA_HEIGHT_LABEL, RcsContentEditor(), RcsContentEditorProps (+18 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 (CANCELADA) + HubSpot compatibility (pendente), Ordem recomendada de execução, PARTE A — UX: Multi-BM na barra lateral com sub-itens (+3 more)

### Community 73 - "registerRoutes"
Cohesion: 0.18
Nodes (11): ClientCallbackContact, ClientCallbackPayload, BACKOFF_MINUTES, drainOutboundBatch(), drainOutboundWebhookQueue(), enqueueOutboundWebhook(), OutboundEventType, UrlSecurityResult (+3 more)

### Community 74 - "ContactFilePreviewTable"
Cohesion: 0.22
Nodes (12): buildMappedContacts(), BuildMappedContactsResult, ColumnMapping, ContactMappingError, MappedContact, BTN_URL_SUFFIX_ERROR_LABELS, BtnUrlSuffixResult, canonicalizeForCompare() (+4 more)

### Community 75 - "Activity Log Storage"
Cohesion: 0.12
Nodes (24): getHubspotOAuthConfig(), getValidAccessToken(), HubSpotAuthError, hubspotRefreshLocks, buildEventTemplateDefinition(), buildOnsmsLink(), getDeveloperConfig(), getPublicBaseUrl() (+16 more)

### Community 76 - "templateGenerator.ts"
Cohesion: 0.13
Nodes (19): dispatchHubspotMessageStandalone(), DispatchStandaloneResult, enviarMensagemTemplate(), ordenarSenders(), emitirOtp(), FALHA_LEGIVEL, FalhaOtp, gerarCodigo() (+11 more)

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

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

### Community 79 - "RcsContentEditor"
Cohesion: 0.12
Nodes (13): useCarousel(), ChartConfig, ChartContainer, ChartContext, ChartContextProps, ChartLegendContent, ChartTooltipContent, THEMES (+5 more)

### 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 81 - "signals.ts"
Cohesion: 0.19
Nodes (14): avaliarProntidao(), BLOQUEIOS, CNAE_ATENCAO_PREFIXOS, cnaeDeAtencao(), CodigoBloqueio, CodigoPenalidade, DadosProntidao, definirRota() (+6 more)

### Community 82 - "dashboard.tsx"
Cohesion: 0.23
Nodes (10): applySmsReplyEvent(), applySmsStatusEvent(), drainRcsBatch(), drainRcsEventQueue(), normalizeRcsStatus(), processRcsEvent(), processRcsReplyEvent(), processRcsStatusEvent() (+2 more)

### Community 83 - "cloudTemplateSync.ts"
Cohesion: 0.15
Nodes (10): Router(), AppSidebar(), ROLE_ICON, AdminAgentes(), Agente, BLOCOS, MODELOS, RUNTIMES (+2 more)

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

### 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.29
Nodes (6): 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, Window is measured from the DISPATCH (REVERSED 2026-07-14 — post-billing model)

### Community 89 - "usina-multibm-dashboard.tsx"
Cohesion: 0.17
Nodes (18): criarContaCliente(), DadosNovaConta, gerarSenhaTemporaria(), gerarUsername(), hashPassword(), converterSchema, conviteValido(), criarConviteAcesso() (+10 more)

### Community 90 - "Template Media Storage"
Cohesion: 0.29
Nodes (4): db, dispatch(), enviarMensagemTemplateMock, storageHandlers

### Community 91 - "AI Agent Safeguards Tests"
Cohesion: 0.24
Nodes (6): calls, optOutCalls, setupCta(), setupHappyPath(), setupTwoStage(), st

### Community 92 - "clientBusinessProfile.test.ts"
Cohesion: 0.24
Nodes (10): AI_SLEEP_LABEL, CENTRAL_CHANNELS, CENTRAL_TAB_LABEL, CENTRAL_TABS, CentralConversationState, CentralMediaType, CHANNEL_META, MEDIA_TYPES (+2 more)

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

### Community 94 - "waOnsmsReceptivo.test.ts"
Cohesion: 0.83
Nodes (3): chamarHub(), registerAgentesRoutes(), semChave()

### Community 95 - "vendor-mask.ts"
Cohesion: 0.03
Nodes (117): ClientsTab(), ServicesTab(), CompositorTab(), SenderProfileSheet(), CampaignHandoffCard(), LegacyWebhookMode(), BotaoConverter(), PainelCalibracao() (+109 more)

### Community 102 - "whatsapp-template-preview.tsx"
Cohesion: 0.12
Nodes (17): fmt(), HubspotRow, HubspotTab(), InfobipRow, InfobipTab(), KIND_LABEL, LogSource, ORIGIN_COLORS (+9 more)

### Community 103 - "AI Conversation Messages"
Cohesion: 0.09
Nodes (23): devDependencies, autoprefixer, drizzle-kit, esbuild, postcss, @replit/vite-plugin-cartographer, @replit/vite-plugin-dev-banner, @replit/vite-plugin-runtime-error-modal (+15 more)

### Community 105 - "Object Uploader Component"
Cohesion: 0.18
Nodes (7): db, enviarMensagemTemplateMock, loadDispatch(), Msg, seedWabas(), storageHandlers, submissionFor()

### Community 106 - "multibmDispatchPerContactParams.test.ts"
Cohesion: 0.15
Nodes (19): sendClientCallback(), InfobipSendResult, dispatchInfobipCampaign(), dispatchInfobipCampaignInner(), DispatchOptions, DispatchResult, finalizarCampanhaInfobip(), inFlightCampaigns (+11 more)

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

### Community 108 - "Sender Stats Queries"
Cohesion: 0.25
Nodes (3): BmNoticeTipo, MultibmBmNotice, multibmBmNotices

### Community 109 - "dispatch"
Cohesion: 0.40
Nodes (4): A regra (comprovada ao vivo, 2026-07-14), Armadilha conhecida (custou uma tarde), Infobip: uma assinatura só — produção encaminha pro dev, O modelo vigente

### Community 110 - "cloudHealthSync.ts"
Cohesion: 0.29
Nodes (7): Handlers, StreamConversationEvent, StreamMessageEvent, StreamTypingEvent, useAtendimentoStream(), useTypingIndicator(), CentralAtendimento()

### 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 114 - "Credit Transactions"
Cohesion: 0.17
Nodes (20): assinar(), Blocklist, carregarBlocklist(), DISPOSABLE_DOMAINS, dominioDeEmail(), ehDescartavel(), emitirFormToken(), estaBloqueado() (+12 more)

### Community 115 - "freeform-send-guard.md"
Cohesion: 0.20
Nodes (9): 1. A pergunta que abriu a análise, 2. O meio-termo pedido já é o estado atual, 3. Como o histórico chegaria (se fosse pedido), 4. Os cinco bloqueios do nosso lado, 5. O que fizemos em vez disso, 6. Se um dia for reaberto, 7. "E se o cliente conectar um número cheio de conversas?" — a IA responde algo antigo?, 8. Nota para auditoria (+1 more)

### Community 116 - "messageGuard.ts"
Cohesion: 0.15
Nodes (14): alertAdmins(), cache, reconcileCloudTemplate(), InfobipClientOptions, alertAdminsRecategorizacao(), BmParaGuard, cache, CategorySource (+6 more)

### Community 118 - "mailer.ts"
Cohesion: 0.16
Nodes (18): cnpjValido(), emailOk(), foneOk(), FormConfig, FormularioPublico(), lerCookie(), lerRastros(), mascararCnpj() (+10 more)

### Community 122 - "HubspotAlertState"
Cohesion: 0.20
Nodes (8): Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut()

### Community 123 - "multibmCampaignCreationAtomic.test.ts"
Cohesion: 0.08
Nodes (32): ChatPanel(), diaLegivel(), hora(), MessageBubble(), CampaignComposer(), CampaignComposerProps, composerErrorMessage(), ComposeResponse (+24 more)

### Community 124 - "permissions.ts"
Cohesion: 0.33
Nodes (6): CREATABLE_ROLES, hasPermission(), Permission, PERMISSIONS, REQUIRED_PARENT_ROLES, requirePermission()

### Community 130 - "AccountServiceBalance"
Cohesion: 0.10
Nodes (20): 1. Fluxograma do ciclo de vida, 2. Âncoras de código por etapa, 3. Walkthrough do exemplo: lote de 1.000 números · 1 BM · 10 senders · 100/dia cada, 4. Achados da auditoria, 5. Simulação executável (12/07/2026) — `tests/multibmDispatchSimulation.test.ts`, 6. Confirmação em dados reais (banco dev, 12/07/2026, somente SELECT), 7. Barragens — tabela consolidada e priorização, 8. Reforma implementada (12/07/2026) — R1/R2/R3 (+12 more)

### Community 132 - "TemplatePreset"
Cohesion: 0.20
Nodes (15): isSmtpConfigComplete(), parseRecipientsCsv(), sendAlertEmail(), SmtpConfig, actorKey(), clientIp(), CONFIRM_THRESHOLD, Counter (+7 more)

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

### Community 136 - "drawer.tsx"
Cohesion: 0.25
Nodes (6): DrawerContent, DrawerDescription, DrawerFooter(), DrawerHeader(), DrawerOverlay, DrawerTitle

### Community 138 - "multibmValidateGuard.test.ts"
Cohesion: 0.11
Nodes (15): isFacebookOrigin(), dataLonga(), EmFila, EsConfig, FbResposta, PassoConectar(), Situacao, CanalPublico (+7 more)

### Community 139 - "multibmDailyLimitByBm.test.ts"
Cohesion: 0.29
Nodes (4): sessionState, state, storageHandlers, templates

### Community 140 - "usina-multibm-dashboard.tsx"
Cohesion: 0.38
Nodes (6): deriveRolloutTemplateName(), rolloutNameCandidates(), rolloutNameWithDigits(), onMobile, principal, velLingerie

### Community 141 - "multibmHealthSyncBanDetection.test.ts"
Cohesion: 0.40
Nodes (3): db, listarSendersFromApiMock, storageHandlers

### Community 142 - "fileSignatureValidation.test.ts"
Cohesion: 0.33
Nodes (4): detectFileSignature(), buildApp(), sessionState, storageHandlers

### Community 143 - "moderationDispatchGuard.test.ts"
Cohesion: 0.40
Nodes (3): db, enviarMensagemTemplateMock, storageHandlers

### Community 147 - "whatsapp-message-preview.tsx"
Cohesion: 0.17
Nodes (13): StatusBadge(), StatusBadgeProps, StatusTone, TONE_CLASSES, ActivityDay, CAT_CHIP, CreditBalance, Dashboard() (+5 more)

### Community 148 - "multibmSharedTierByMetaBm.test.ts"
Cohesion: 0.31
Nodes (10): ALLOWED_ROLES, effectiveOwnerId(), forward(), forwardText(), mediaUpload, parseIdParam(), registerPagesRoutes(), requireAdmin() (+2 more)

### Community 149 - "section-status-badge.tsx"
Cohesion: 0.50
Nodes (3): SectionStatus, SectionStatusBadge(), SectionStatusBadgeProps

### Community 150 - "notice-banner.tsx"
Cohesion: 0.22
Nodes (9): detectSeparator(), extractNamedColumnMap(), isHeaderLine(), isNamedColumnHeader(), OBS_HEADER_KEYWORDS, parseReportContent(), PHONE_HEADER_KEYWORDS, STATUS_HEADER_KEYWORDS (+1 more)

### Community 152 - "multibmDistributionStrategy.test.ts"
Cohesion: 0.11
Nodes (27): flagConnectionFromSendResult(), PAYMENT_ERROR_CODES, buildSendComponents(), cancelPausedCloudCampaign(), CloudDispatchResult, cloudIntervalMs(), computeCloudFinalizationResults(), connectionNextSlotAt (+19 more)

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

### Community 156 - "senderProfiles.test.ts"
Cohesion: 0.40
Nodes (3): sessionState, state, storageHandlers

### Community 160 - "ClientBusinessProfile"
Cohesion: 0.04
Nodes (67): AiProviderValue, ApiKeyPresence, IMAGE_MODELS, IMAGE_PROVIDERS, ProviderModelPickerProps, TEXT_MODELS, TEXT_PROVIDERS, columnTargetLabel() (+59 more)

### Community 162 - "Service"
Cohesion: 0.10
Nodes (29): groupByMetaBm(), metaBmGroupLabel(), BusinessManager, CATEGORIA_LABELS, ClusterSignature, countVars(), emptyForm, findUrlButton() (+21 more)

### Community 163 - ".getUserById"
Cohesion: 0.50
Nodes (3): baseBody, ENC_KEY, state

### Community 170 - "section-status-badge.tsx"
Cohesion: 0.26
Nodes (9): COMBINING_MARKS_RE, DEFAULT_PROHIBITED_TERMS, escapeRegex(), findProhibitedTermsInParams(), findTermsInText(), normalizeForTermMatch(), termMatches(), ContactWithParams (+1 more)

### Community 173 - "smsAdapter.ts"
Cohesion: 0.09
Nodes (40): buscarLeadDoSinal(), CONFIG_PADRAO, drenarAgora(), drenarSinais(), enfileirarSinais(), enviarPara(), Estagio, eventIdDe() (+32 more)

### Community 175 - "UpdateCampaign"
Cohesion: 0.33
Nodes (6): buildApp(), get(), sessionState, statusNasDuasRotas(), storageHandlers, users

### Community 182 - "onboardingFila.test.ts"
Cohesion: 0.50
Nodes (3): cenario, pedidoValidado, settings

### Community 184 - "toast.tsx"
Cohesion: 0.24
Nodes (10): Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastTitle, toastVariants (+2 more)

### Community 186 - "waCloudCoexistence.test.ts"
Cohesion: 0.25
Nodes (7): DropdownMenuCheckboxItem, DropdownMenuLabel, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut(), DropdownMenuSubContent, DropdownMenuSubTrigger

### Community 187 - "scripts"
Cohesion: 0.25
Nodes (8): scripts, build, check, db:push, dev, start, test, test:watch

### Community 189 - "templateMediaStorage.ts"
Cohesion: 0.36
Nodes (5): extFromMime(), getTemplateMediaDir(), PUBLIC_BASE_URL, templateMediaExists(), uploadTemplateMediaToObjectStorage()

### Community 190 - "hubspotWorkflowAction.test.ts"
Cohesion: 0.35
Nodes (13): ClusterSignature, computeSignature(), countQuickReplies(), countTemplateVars(), extractButtonUrlPrefix(), extractUrlButtonDynamic(), findUrlButton(), normalizeHeaderMarker() (+5 more)

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

### Community 192 - "twoStageReport.test.ts"
Cohesion: 0.50
Nodes (4): baixarCsv(), CONTACTS, get(), storageHandlers

### Community 193 - "scheduledDispatchWorker.test.ts"
Cohesion: 0.40
Nodes (3): sessionState, state, storageHandlers

### Community 195 - "whatsapp-message-preview.tsx"
Cohesion: 0.43
Nodes (7): ALLOWED_ROLES, effectiveOwnerId(), forward(), parseIdParam(), registerShortenerRoutes(), requireShortenerAccess(), revrFetch()

### Community 196 - "vendor-mask.ts"
Cohesion: 0.29
Nodes (4): atomicState, buildApp(), sessionState, storageHandlers

### Community 197 - "moderationSampleFallback.test.ts"
Cohesion: 0.22
Nodes (7): MySendersMultibm(), s(), sendMultibmSampleMessage(), BUTTONS, db, enviarMock, storageHandlers

### Community 198 - "segmented-control.tsx"
Cohesion: 0.29
Nodes (4): buildApp(), dispatchInfobipCampaignMock, sessionState, storageHandlers

### Community 200 - "templateUtils.ts"
Cohesion: 0.33
Nodes (4): buildApp(), sessionState, state, storageHandlers

### Community 202 - "usina-multibm-dashboard.tsx"
Cohesion: 0.33
Nodes (6): Props, Props, CannedResponse, CentralMessage, ConversationDetail, AiSleepReason

### Community 205 - "metaSignupExchange.test.ts"
Cohesion: 0.40
Nodes (3): ENC_KEY, EXCHANGE_BODY, state

### Community 207 - "multibmPauseResumeCancel.test.ts"
Cohesion: 0.29
Nodes (5): buildApp(), enviarMensagemTemplateMockRef, sessionState, state, storageHandlers

### Community 208 - "brandingPublicRoutes.test.ts"
Cohesion: 0.33
Nodes (4): adminBranding, buildApp(), revendaBranding, storageHandlers

### Community 209 - "section-status-badge.tsx"
Cohesion: 0.29
Nodes (4): db, dispatch(), enviarMensagemTemplateMock, storageHandlers

### Community 210 - "segmented-control.tsx"
Cohesion: 0.50
Nodes (3): SegmentedControl(), SegmentedControlProps, SegmentedOption

### Community 214 - "migrar-config-sinais.ts"
Cohesion: 0.48
Nodes (6): APLICAR, cifrar(), decifrar(), impressao(), lerEnv(), main()

### Community 215 - "publicRoutes.ts"
Cohesion: 0.83
Nodes (3): AudioMessage(), mmss(), VELOCIDADES

### Community 220 - "use-app-mode.ts"
Cohesion: 0.39
Nodes (7): AppMode, emit(), listeners, read(), readAppMode(), subscribe(), useAppMode()

### Community 225 - "PageEditor"
Cohesion: 0.09
Nodes (28): compartilhaToken(), DisplayNameResult, dominioDe(), GENERICOS, gerarSugestao(), normalizar(), RESERVADAS, STOPWORDS (+20 more)

### Community 226 - "rcsLimits.ts"
Cohesion: 0.29
Nodes (4): buildApp(), enviarCalls, EnviarMensagemArgs, storageState

### Community 227 - "legal-publico.tsx"
Cohesion: 0.40
Nodes (5): LegalPublico(), LegalSlug, parseSections(), PublicLegalDocument, Section

### Community 232 - "popover.tsx"
Cohesion: 0.22
Nodes (6): BM_COM_TOKEN, BM_SEM_TOKEN, CREDS, infobipMock, st, SUB

### Community 234 - "whatsapp-message-preview.tsx"
Cohesion: 0.14
Nodes (14): aviso, destino, placeholders, publicar(), q(), raiz, destino, publicar() (+6 more)

### Community 237 - "use-notices.ts"
Cohesion: 0.32
Nodes (5): ICON, NoticeBannerProps, VARIANT, useNotices(), SystemNotice

### Community 238 - "multibmBalanceGuard.ts"
Cohesion: 0.33
Nodes (3): AGORA, numeroOk, st

### Community 240 - "toggle-group.tsx"
Cohesion: 0.33
Nodes (5): ToggleGroup, ToggleGroupContext, ToggleGroupItem, Toggle, toggleVariants

### Community 241 - "Análise do App (Meta) — roteiro dos vídeos e da submissão"
Cohesion: 0.29
Nodes (6): Antes de tudo: gerar o token temporário (24h), Análise do App (Meta) — roteiro dos vídeos e da submissão, Descrição escrita do serviço (colar na submissão), Submissão, Vídeo 1 — `whatsapp_business_messaging` (envio de mensagem), Vídeo 2 — `whatsapp_business_management` (criação de template)

### Community 246 - "extractNamedColumnMap"
Cohesion: 0.23
Nodes (14): ALLOWED_RESULT_HOSTS, CheckNumberStatusResponse, CheckNumberTaskResponse, downloadWaFilterResults(), extractFileFromZip(), getWaFilterStatus(), parseCsv(), submitWaFilter() (+6 more)

### Community 247 - "multibmSyncReconciliation.test.ts"
Cohesion: 0.20
Nodes (7): buildApp(), criarTemplateMock, listarSendersFromApiMock, listarTemplatesPorWabaMock, sessionState, state, storageHandlers

### Community 248 - "hideAiFeature.test.ts"
Cohesion: 0.33
Nodes (3): buildApp(), sessionState, st

### Community 249 - "outboundWebhooks.ts"
Cohesion: 0.05
Nodes (78): BulkImportDialogProps, BulkImportResult, Resultado, BusinessManager, countVars(), EditorForm, emptyForm, HeaderChoice (+70 more)

### Community 250 - "multibmTemplateSync.test.ts"
Cohesion: 0.20
Nodes (7): buildApp(), db, infobipState, sessionState, storageHandlers, Sub, Tpl

### Community 251 - "antiabuse.ts"
Cohesion: 0.10
Nodes (30): buscarLeadNaGraph(), CampoResposta, CAMPOS_PADRAO, carregarConfigLeadAds(), ConfigLeadAds, graphVersion(), jaProcessado(), LeadgenDetalhe (+22 more)

### Community 252 - "Central de Atendimento — regras de negócio e arquitetura"
Cohesion: 0.15
Nodes (12): 0. Por que este módulo existe, 1. Estado da conversa (derivado, não persistido), 2. Transições bot ↔ humano, 3. Colaboração e anti-colisão, 4. Envio de mensagem (gates, na ordem), 4b. Black-list (opt-out) no atendimento — **[DONO, 2026-08-06]**, 5. Escopo por papel, 6. Tempo real (SSE) (+4 more)

### Community 256 - "prohibitedTerms.ts"
Cohesion: 0.11
Nodes (27): main(), main(), proof(), graph(), loadConnection(), main(), proof(), readState() (+19 more)

### Community 257 - "templateMediaStorage.ts"
Cohesion: 0.15
Nodes (12): 1. Black-list de links (`server/blockedLinks.ts`, migration 079), 2. Template recategorizado some da criação, 3. Avisos da Meta por BM (`server/bmNotices.ts`, migration 080), 4. Link novo a cada lote + template a pedido do cliente, Como funciona agora, Fontes de verdade (plugável), Gerar o token Meta (System User) — passo a passo por BM, Guard de categoria de template (Multi-BM) (+4 more)

### Community 259 - "multibmValidatedTemplates.test.ts"
Cohesion: 0.22
Nodes (7): buildApp(), criarCalls, handlers, infobipState, sessionState, St, validBody

### Community 263 - "verify-coexistence-echo.ts"
Cohesion: 0.06
Nodes (49): bloco(), Dict, linhasMeta(), montarDossie(), camposObrigatoriosRcs(), completarRcsComTronco(), EDITAVEIS, empresaSchema (+41 more)

### Community 265 - "fetchWithRetry"
Cohesion: 0.06
Nodes (33): check(), main(), novoUser(), main(), postSigned(), buildCampaignPreview(), CampaignPreviewLinks, CampaignPreviewPayload (+25 more)

### Community 267 - "outboundWebhooks.ts"
Cohesion: 0.09
Nodes (28): describeNetworkError(), fetchInvoicesPage(), getToken(), mapInvoice(), resolveTotvsBase(), runTotvsDiagnostic(), runTotvsSync(), summarizeInvoicesForDiagnostic() (+20 more)

### Community 278 - "vite.ts"
Cohesion: 0.25
Nodes (5): db, dispatch(), enviarMensagemTemplateMock, SendCall, storageHandlers

### Community 283 - "relatorioEstadoFinal.test.ts"
Cohesion: 0.32
Nodes (7): CAMPAIGN_FINAL_STATUSES, isCampaignFinalStatus(), baixar(), CONTACTS, get(), sess, state

### Community 294 - "linkDoLote.test.ts"
Cohesion: 0.29
Nodes (4): sessionState, state, storageHandlers, templates

### Community 297 - "clientBusinessProfile.test.ts"
Cohesion: 0.14
Nodes (10): ProfileResponse, ContaCriada, ClientBusinessProfile, User, buildApp(), handlers, profiles, sessionState (+2 more)

### Community 299 - "solicitarTemplate.test.ts"
Cohesion: 0.20
Nodes (8): BM_A, BM_B, criarTemplateMock, pedido(), sessionState, sourceBase, state, storageHandlers

## Knowledge Gaps
- **1757 isolated node(s):** `Agente`, `Saude`, `MODELOS`, `RUNTIMES`, `VAZIO` (+1752 more)
  These have ≤1 connection - possible missing edges or undocumented components.
- **52 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 `DatabaseStorage` connect `Database Storage Implementation` to `Storage Interface Methods`, `TemplateGeneratorConfig`, `Button and Alert Dialog UI`, `fetchWithRetry`, `scheduledDispatchWorker.test.ts`, `WABA Template Storage`, `CompositorConfig`, `HubSpot Auth and Timeline`, `.attachSubmissions`, `multibmDistributionStrategy.test.ts`, `messageGuard.ts`, `.listCentralInbox`, `waOnsmsReceptivo.test.ts`, `clientBusinessProfile.test.ts`, `.appendAiConversationMessage`, `.createTermsAcceptance`, `Infobip Config Storage`, `multibmDailyLimitByBm.test.ts`, `.getCampaigns`, `admin-wa-cloud.tsx`, `.getCampaigns`, `instanceGuard.ts`, `AI Client Settings Storage`, `HubSpot Alert Config Storage`, `Multi-BM Alert Config Storage`, `Multi-BM Config Storage`, `HubSpot Timeline Template Storage`?**
  _High betweenness centrality (0.169) - this node is a cross-community bridge._
- **Why does `IStorage` connect `Storage Interface Methods` to `fetchWithRetry`, `Database Storage Implementation`?**
  _High betweenness centrality (0.165) - this node is a cross-community bridge._
- **Why does `storage` connect `fetchWithRetry` to `prohibitedTerms.ts`, `Roles and Permissions`, `TemplatePreset`, `verify-coexistence-echo.ts`, `outboundWebhooks.ts`, `Build Tooling Dependencies`, `Infobip Sender Storage`, `Campaign Storage Methods`, `multibmDistributionStrategy.test.ts`, `AI Agent Orchestration`, `Multi-BM Dispatch Logic`, `DB Cleanup and Seed Scripts`, `User and Sender Assignment Storage`, `RCS API Client`, `Chart UI Component`, `smsAdapter.ts`, `Button, Calendar, Pagination UI`, `Multi-BM Template Storage`, `WABA Message Storage`, `Multi-BM Health Sync`, `Business Manager Storage`, `WA Filter Batch Storage`, `BM Sender Storage`, `use-atendimento-stream.ts`, `webhookTokenTimingSafe.test.ts`, `Dropdown Menu UI`, `Multi-BM Message Storage`, `registerRoutes`, `Activity Log Storage`, `templateGenerator.ts`, `usina-multibm-dashboard.tsx`, `multibmDispatchPerContactParams.test.ts`, `Credit Transactions`, `messageGuard.ts`, `extractNamedColumnMap`, `antiabuse.ts`?**
  _High betweenness centrality (0.045) - this node is a cross-community bridge._
- **What connects `Agente`, `Saude`, `MODELOS` to the rest of the system?**
  _1761 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Storage Interface Methods` be split into smaller, more focused modules?**
  _Cohesion score 0.00437636761487965 - nodes in this community are weakly interconnected._
- **Should `Database Storage Implementation` be split into smaller, more focused modules?**
  _Cohesion score 0.004830917874396135 - nodes in this community are weakly interconnected._
- **Should `NPM Runtime Dependencies` be split into smaller, more focused modules?**
  _Cohesion score 0.023529411764705882 - nodes in this community are weakly interconnected._