Files
adiuvAI/graphify-out/GRAPH_REPORT.md
2026-06-12 18:01:41 +02:00

44 KiB

Graph Report - . (2026-06-12)

Corpus Check

  • 380 files · ~250,681 words
  • Verdict: corpus is large enough that graph structure adds value.

Summary

  • 3244 nodes · 7215 edges · 180 communities (152 shown, 28 thin omitted)
  • Extraction: 87% EXTRACTED · 13% INFERRED · 0% AMBIGUOUS · INFERRED: 955 edges (avg confidence: 0.63)
  • Token cost: 0 input · 0 output

Community Hubs (Navigation)

God Nodes (most connected - your core abstractions)

  1. cn() - 239 edges
  2. MemoryMiddleware - 110 edges
  3. useNotify() - 63 edges
  4. trpc - 50 edges
  5. MemoryProactive - 47 edges
  6. execute_on_client() - 46 edges
  7. Button() - 46 edges
  8. CloudScoutConfig - 43 edges
  9. MemoryAssociative - 42 edges
  10. User - 40 edges

Surprising Connections (you probably didn't know these)

  • api/requirements.txt --references--> core/llm.py (LiteLLM factory) [INFERRED] api/requirements.txt → .claude/CLAUDE.md
  • Any --uses--> MemoryMiddleware [INFERRED] api/app/agents/relations_agent.py → api/app/core/memory_middleware.py
  • ChatRequest --uses--> MemoryMiddleware [INFERRED] api/app/api/routes/chat.py → api/app/core/memory_middleware.py
  • JSONResponse --uses--> MemoryMiddleware [INFERRED] api/app/api/routes/chat.py → api/app/core/memory_middleware.py
  • AsyncSession --uses--> Subscription [INFERRED] api/app/billing/tier_manager.py → api/app/models.py

Import Cycles

  • 1-file cycle: api/app/models.py -> api/app/models.py
  • 1-file cycle: api/app/main.py -> api/app/main.py
  • 1-file cycle: api/app/api/routes/scouts.py -> api/app/api/routes/scouts.py
  • 1-file cycle: api/app/billing/stripe_service.py -> api/app/billing/stripe_service.py
  • 1-file cycle: api/app/core/memory_middleware.py -> api/app/core/memory_middleware.py
  • 1-file cycle: api/app/core/scout_runner.py -> api/app/core/scout_runner.py
  • 1-file cycle: api/app/integrations/gmail.py -> api/app/integrations/gmail.py
  • 1-file cycle: api/app/integrations/ms_graph.py -> api/app/integrations/ms_graph.py

Hyperedges (group relationships)

  • WS Tool-Call Round-Trip Flow — backend_client, device_ws, drizzle_executor, deep_agent, device_manager [INFERRED 0.85]
  • Encrypted Memory Subsystem — memory_middleware, memory_maintenance, memory_extraction, fernet_encryption, orm_models [INFERRED 0.80]
  • Redis-Backed Shared State Refactor — redis_introduction, rate_limit_middleware, ttl_state_store, oauth_providers [INFERRED 0.78]

Communities (180 total, 28 thin omitted)

Community 0 - "Auth UI Forms"

Cohesion: 0.03 Nodes (106): LoginForm(), SignInForm(), SignUpForm(), ExpandedClientsContext, ExpandedClientsContextValue, ExpandedClientsProvider(), useExpandedClients(), HeaderContext (+98 more)

Community 1 - "Folder & Listbox UI"

Cohesion: 0.06 Nodes (65): FolderUnlinkDialogProps, ListboxItemProps, useListboxKeys(), UseListboxKeysOptions, NotifyOptions, ToastVariant, trpc, ProjectSidebarProps (+57 more)

Community 2 - "Chat Entity Blocks"

Cohesion: 0.05 Nodes (68): TaskEntityBlock(), TimelineEventEntityBlock(), useRovingFocus(), detectBrowserFormatPrefs(), formatDate(), formatDateTime(), formatDueDate(), formatRelative() (+60 more)

Community 3 - "Scout Run UI"

Cohesion: 0.05 Nodes (61): RunRow(), ScoutRunSummary, statusBadge(), FolderChip(), FolderChipProps, Filter, FILTERS, FolderFileList() (+53 more)

Community 4 - "Auth & Memory ORM"

Cohesion: 0.09 Nodes (71): AsyncSession, RedirectResponse, UserProfile, MemoryRelation, MemoryAssociative, OAuthAccount, Per-user semantic memory: encrypted content + pgvector embedding for similarity, RefreshToken (+63 more)

Community 5 - "Scout Config Models"

Cohesion: 0.07 Nodes (69): AsyncSession, CloudScoutConfig, datetime, RedirectResponse, ScoutRunLog, UserProfile, CloudScoutConfig, LocalScoutConfig (+61 more)

Community 6 - "Client Agent"

Cohesion: 0.04 Nodes (61): get_client(), list_clients(), Client agent — read-only tools for the clients table., List clients, optionally filtered by a name/email substring search. searc, Get full details for one client by UUID. id: the client's UUID., create_project(), delete_project(), get_project() (+53 more)

Community 7 - "Billing & Request Context"

Cohesion: 0.05 Nodes (51): Any, AsyncSession, Request, UserProfile, AsyncSession, BillingTier, AsyncSession, BillingTier (+43 more)

Community 8 - "Filesystem Agent"

Cohesion: 0.06 Nodes (53): get_file_metadata(), list_directory(), make_directory_tools(), Filesystem agent — tools for reading local directories and files on Electron., Return filesystem tools that resolve relative paths against base_directory., Resolve path against base when path is relative. The LLM often pass, List files and folders in a local directory on the user's device. Returns, Read the text content of a local file on the user's device. Returns the f (+45 more)

Community 9 - "Project Folder Agent"

Cohesion: 0.06 Nodes (48): _decode(), _fetch_file(), _is_unsafe_path(), Scoped file-read and search tools for the project folder feature., Search a project folder file for a query string (case-insensitive substring)., Return the raw Electron tool_result dict for a file read., Decode a tool_result into (text, kind, total_size). For pdf/docx, extracts, Read a slice of a file inside the project's linked folder. Args: (+40 more)

Community 10 - "Shared API Types"

Cohesion: 0.04 Nodes (56): AgentCatalogItemSchema, AgentManifest, AgentManifestSchema, AgentRunLogSchema, BillingTier, BillingTierSchema, CloudScoutConfigSchema, JourneyMessage (+48 more)

Community 11 - "Files Section UI"

Cohesion: 0.09 Nodes (41): FilesSection(), FilesSectionProps, FolderLinkCard(), FolderLinkCardProps, FolderUnlinkDialog(), useNotify(), NavUser(), usePlatform() (+33 more)

Community 12 - "Drizzle Executor"

Cohesion: 0.04 Nodes (48): AnyTable, buildOrderBy(), ExecutorError, RESERVED_KEYS, TABLE_REGISTRY, TableName, AiChatMessage, AiChatSession (+40 more)

Community 13 - "Device & Langfuse"

Cohesion: 0.07 Nodes (48): Any, Any, datetime, DeviceConnectionManager, ScoutRunLog, compile_prompt(), extract_usage(), get_langfuse() (+40 more)

Community 14 - "Cloud Scout Triage"

Cohesion: 0.08 Nodes (34): Request, CloudScoutConfig, ItemContent, ItemRef, CloudScoutConfig, ScoutTriageQueue, Register a SourceConnector instance under its source_type. Calling tw, register_connector() (+26 more)

Community 15 - "Memory Middleware"

Cohesion: 0.07 Nodes (23): Fernet, _encrypt(), _now(), Memory Middleware — enrich requests with memory context and store interactions., Summarise and store a completed interaction in episodic memory. The s, Route extraction to realtime task or batch queue based on user tier., Upsert a core memory key/value for a user., Return core memory as editable blocks (label/value). (+15 more)

Community 16 - "API Test Harness"

Cohesion: 0.06 Nodes (31): AsyncSession, datetime, AsyncSession, TestClient, Base, get_session(), Database engine, session factory, and base model. All app code uses the async, Shared declarative base for all ORM models. (+23 more)

Community 17 - "Middleware Tests"

Cohesion: 0.11 Nodes (16): TestClient, _auth_header(), _make_jwt(), _override_db(), Tests for Step 9 middleware: auth, rate limiting, and sanitizer. Auth tests:, Each test uses a fresh unique user_id so windows never collide., POST /auth/register is exempt — 25 calls should never return 429., POST /auth/login is exempt — multiple failed attempts are not rate-limited. (+8 more)

Community 18 - "LLM Factory"

Cohesion: 0.10 Nodes (39): ChatLiteLLM, ChatOpenAI, _api_key_for_model(), get_agent_llm(), get_llm(), model_for_agent(), LLM factory — centralised model instantiation via LiteLLM. Every agent and th, Return the resolved model string for agent_name (for Langfuse tracking). (+31 more)

Community 19 - "WS Session Buffer"

Cohesion: 0.10 Nodes (38): WebSocket, ContextualBufferProxy, Thin wrapper around _SessionBuffer that closes over user_id + session_id., clear_client_executor(), Bind fn as the executor for the current async context (task/coroutine)., Remove the executor binding (best-effort; ContextVar resets on task exit)., set_client_executor(), device_ws() (+30 more)

Community 20 - "Prompt Formatting"

Cohesion: 0.08 Nodes (39): Path, _format_metadata(), _format_projects(), _get_extraction_rules(), _get_no_match_behavior(), Format the project list for the unified system prompt., Format preprocessor metadata as a compact context block., Return the extraction_prompt for content_type from agent_config. Fall (+31 more)

Community 21 - "NPM Dependencies"

Cohesion: 0.05 Nodes (40): dependencies, better-sqlite3, class-variance-authority, clsx, date-fns, drizzle-orm, electron-squirrel-startup, electron-store (+32 more)

Community 22 - "Community 22"

Cohesion: 0.09 Nodes (36): Any, AsyncSession, _apply_candidate(), _content_to_key(), decide_action(), MemoryCandidate, Mem0-style Extract/Update pipeline — Phase 2. Runs after every ``store_episod, Decide what to do with a candidate given existing memories in the same tier. (+28 more)

Community 23 - "Community 23"

Cohesion: 0.07 Nodes (34): absolutePath(), attachmentsRoot(), copyIntoTask(), deleteStored(), deleteTaskDir(), sanitizeFilename(), detectFormatPrefs(), detectLanguage() (+26 more)

Community 24 - "Community 24"

Cohesion: 0.14 Nodes (36): alias, AsyncSession, MemoryRelation, UserProfile, Any, AsyncSession, datetime, MemoryRelation (+28 more)

Community 25 - "Community 25"

Cohesion: 0.08 Nodes (26): ItemContent, ItemRef, _extract_plain_text_body(), _get_gmail_service(), _gmail_service_from_token(), GmailConnector, Gmail SourceConnector — wraps the existing GmailClient. Responsibilities:, Fetch subject, sender, snippet only — uses Gmail metadata format (no body). (+18 more)

Community 26 - "Community 26"

Cohesion: 0.08 Nodes (27): NewTaskDialog(), Props, TaskFormValues, OrderBy, StatusFilter, buildWindow(), TaskPager(), TaskTable() (+19 more)

Community 27 - "Community 27"

Cohesion: 0.10 Nodes (29): AsyncSession, UserProfile, MemoryMiddleware, Delete a core memory block by label. Returns True if deleted., Query relation rows for a user with optional filters., Enrich orchestrator context with memory and persist interactions after., get_current_user(), Validate a Bearer JWT and return the authenticated user. The JWT is used (+21 more)

Community 28 - "Community 28"

Cohesion: 0.10 Nodes (33): BaseModel, AuthTokens, ChatContext, ChatRequest, ChatResponse, CloudScoutCreateRequest, CloudScoutResponse, CloudScoutUpdateRequest (+25 more)

Community 29 - "Community 29"

Cohesion: 0.12 Nodes (27): checkConnectivity(), dailyBrief(), generateAndCacheBrief(), getBriefTimeSlot(), getCachedBrief(), getCurrentSlotKey(), invalidateBriefCache(), markCurrentSlotAsGenerated() (+19 more)

Community 30 - "Community 30"

Cohesion: 0.11 Nodes (22): bootstrapMigrationsLedger(), DbInstance, initDb(), resolveMigrationsFolder(), projectFolderFiles, projects, DOCX_EXTS, IMAGE_EXTS (+14 more)

Community 31 - "Community 31"

Cohesion: 0.11 Nodes (20): Any, datetime, EmailMessage, ChatMessage, _build_email_filter(), MSGraphClient, _odata_datetime(), Microsoft Graph API client for Outlook and Teams cloud agent integration. Han (+12 more)

Community 32 - "Community 32"

Cohesion: 0.10 Nodes (16): _make_gmail_message(), _make_graph_email(), _make_graph_teams_message(), Tests for Step 3.6: cloud provider integration clients. Coverage: Unit \u2, Build a minimal Gmail API message response dict., GmailClient.fetch_messages tests with mocked Google API., Build a minimal MS Graph message item dict., MSGraphClient.fetch_emails tests with mocked httpx. (+8 more)

Community 33 - "Community 33"

Cohesion: 0.09 Nodes (27): PreprocessResult, PreprocessResult, Path, PreprocessResult, Base types for the preprocessor system., Output of a preprocessor handler. Attributes ---------- content, _extract_metadata(), preprocess_email_html() (+19 more)

Community 34 - "Community 34"

Cohesion: 0.06 Nodes (31): devDependencies, drizzle-kit, electron, @electron-forge/cli, @electron-forge/maker-deb, @electron-forge/maker-rpm, @electron-forge/maker-squirrel, @electron-forge/maker-zip (+23 more)

Community 35 - "Community 35"

Cohesion: 0.08 Nodes (20): AuthExpiredError, IndexSessionListener, JourneyListener, logHttp(), logHttpResponse(), logWsRecv(), OfflineError, QuotaError (+12 more)

Community 36 - "Community 36"

Cohesion: 0.11 Nodes (29): _datetime_context_injection(), Build a comprehensive DATE CONTEXT block with pre-computed ms-epoch boundaries f, Return a small block with per-request scope and resolved project context., _request_context_block(), _fp(), _parse_ms(), Unit tests for single-agent deep_agent flows with mocked tool results., Extract [start, end] from a 'key [start, end]' line in the DATE CONTEXT block. (+21 more)

Community 38 - "Community 38"

Cohesion: 0.07 Nodes (26): BatchAction, BatchActionSchema, BatchActionType, BatchActionTypeSchema, BatchAnalysis, BatchAnalysisSchema, BatchConfig, BatchConfigSchema (+18 more)

Community 39 - "Community 39"

Cohesion: 0.10 Nodes (19): BriefChatHeader(), BriefChatHeaderProps, PRIORITY_STYLES, relativeDate(), CanvasPlaceholder(), CanvasPlaceholderProps, KIND_META, CarouselControls() (+11 more)

Community 41 - "Community 41"

Cohesion: 0.13 Nodes (23): _build_system_prompt(), _candidate_tokens(), _fetch_project_manifest(), get_page_details(), _is_upcoming_timeline_query(), _needs_project_resolution(), _normalize_tagged_list_lines(), _prepare_context() (+15 more)

Community 42 - "Community 42"

Cohesion: 0.09 Nodes (15): WebSocket, DeviceConnectionManager, DeviceConnection, DeviceConnectionManager, Device connection manager. Maintains in-memory state for all active Electron, Send frame as a JSON text message to the device. Raises ``RuntimeEr, Register a Future that will be resolved when the tool_result arrives., Fulfil the Future registered under call_id with the Electron result. (+7 more)

Community 43 - "Community 43"

Cohesion: 0.12 Nodes (14): Fernet, decrypt_token(), EmailMessage, encrypt_token(), _get_fernet(), Cloud provider integration utilities. Provides: * Shared message dataclass, Fernet-encrypt an OAuth credential dict and return a base64 string. Store, Decrypt a Fernet-encrypted token string and return the credential dict. R (+6 more)

Community 44 - "Community 44"

Cohesion: 0.13 Nodes (17): Any, datetime, EmailMessage, _build_gmail_query(), GmailClient, _parse_body(), _parse_date(), Gmail API client for cloud agent integration. Wraps the Google Gmail REST API (+9 more)

Community 45 - "Community 45"

Cohesion: 0.17 Nodes (20): scoutRuns, AppSettings, deleteLocalScout(), getDeviceId(), getFormatPrefs(), getLocalScout(), getLocalScouts(), getStore() (+12 more)

Community 46 - "Community 46"

Cohesion: 0.13 Nodes (20): AppShell(), FileRoutesByFullPath, FileRoutesById, FileRoutesByPath, FileRoutesByTo, FileRouteTypes, IndexRoute, NotesNoteIdRoute (+12 more)

Community 47 - "Community 47"

Cohesion: 0.11 Nodes (20): create_note(), delete_note(), _fmt_summary(), get_note(), _is_uuid(), list_notes(), propose_note_edit(), Note agent — Markdown note management (list, get, create, update, propose edit). (+12 more)

Community 48 - "Community 48"

Cohesion: 0.12 Nodes (18): AIChatPanel(), AIChatPanelProps, briefModule, fadeUp, getTimeGreeting(), stagger, SUGGESTION_CHIPS, ChatMarkdown() (+10 more)

Community 49 - "Community 49"

Cohesion: 0.16 Nodes (21): AsyncSession, Fernet, _memory_cron_tick(), Hourly cron: drain Free-tier extraction queue + mine proactive patterns for Powe, audit_memory(), _audit_memory_inner(), _decay_proactive_patterns(), decay_relations() (+13 more)

Community 50 - "Community 50"

Cohesion: 0.19 Nodes (11): Any, AsyncSession, datetime, Stripe service: checkout sessions, webhook handling, subscription management., Return the subscription record for user_id, or None if absent., Cancel the user's Stripe subscription and downgrade them to free. Rai, Return recent invoices for the user from Stripe. Returns an empty lis, Wraps all Stripe interactions and owns subscription persistence. (+3 more)

Community 51 - "Community 51"

Cohesion: 0.12 Nodes (13): Any, get_connector(), Connector registry — single source of truth for source_type -> connector., Return the registered connector for source_type or raise KeyError., Clear the registry — for use in pytest fixtures only., _reset_for_tests(), _clean_registry(), _DummyConnector (+5 more)

Community 52 - "Community 52"

Cohesion: 0.20 Nodes (9): OAuthUserInfo, GET /auth/oauth/google/authorize and POST /auth/oauth/google/callback., Call /authorize and return the fresh state token., POST /callback with mocked provider exchange_code + get_userinfo., First-time Google login creates a new user and returns valid tokens., Second Google login with the same account re-uses the existing user., Verified Google email matching an existing password user links the accounts., Unverified Google email matching an existing account returns 409, not 500. (+1 more)

Community 53 - "Community 53"

Cohesion: 0.10 Nodes (19): free_user_with_key(), pro_user_with_key(), Tests for Phase 3 — relational tier (Mem0g-light). Coverage: 1. upsert_rel, Free user: upsert_relation is silently skipped (no row created)., enrich_context includes relational_memory key for Pro user., Free user: relational_memory is empty list in enrich_context., decay_relations reduces confidence on stale rows., decay_relations deletes rows whose confidence drops below 0.2 threshold. (+11 more)

Community 54 - "Community 54"

Cohesion: 0.33 Nodes (4): buildConditions(), DrizzleExecutor, getDb(), WsToolCall

Community 55 - "Community 55"

Cohesion: 0.10 Nodes (19): compilerOptions, allowJs, baseUrl, esModuleInterop, jsx, lib, module, moduleResolution (+11 more)

Community 56 - "Community 56"

Cohesion: 0.12 Nodes (13): AIMessage, AIMessageProps, blockAnimation, ChatSurface, ChatSurfaceProps, ContentSegment, INLINE_TAG_RE, MARKDOWN_COMPONENTS (+5 more)

Community 57 - "Community 57"

Cohesion: 0.11 Nodes (5): manager(), _override_db(), Tests for Step 3.3: DeviceConnectionManager and device WS endpoint. Coverage:, Route all get_session calls to the test SQLite session., Fresh manager instance for each test.

Community 58 - "Community 58"

Cohesion: 0.11 Nodes (3): Tests for v3 WebSocket frame protocol schemas., Backward compat: v2 types must remain., test_v2_frame_types_still_exist()

Community 59 - "Community 59"

Cohesion: 0.18 Nodes (17): Any, _build_read_tools(), Brief agent — produces plain-text home and project status briefs. Read-only t, Stream a plain-text daily home brief. Yields (event_type, data) tuples id, Stream a plain-text project status brief for project_id. Yields (event_ty, _resolve_language(), run_home_brief(), run_project_brief() (+9 more)

Community 60 - "Community 60"

Cohesion: 0.23 Nodes (18): Any, _all_tools(), _all_tools_for_user(), _as_text(), _contextual_tools(), _history_to_messages(), _memory_tools(), Run the contextual agent for a single user turn. Injects the rendered sco (+10 more)

Community 61 - "Community 61"

Cohesion: 0.17 Nodes (14): Any, extract_canvas_block(), Output formatter for deep-agent stream events., Strip the first ... block from text. Return, Convert (event_type, data) stream events into websocket frame models., StreamFormatter, StreamFormatter, _collect() (+6 more)

Community 62 - "Community 62"

Cohesion: 0.16 Nodes (13): ChatChartBlock(), renderChart(), ChatEntityBlock(), ChatTableBlock(), ChartBlockData, ChartConfig, ChartContainer(), ChartContext (+5 more)

Community 63 - "Community 63"

Cohesion: 0.13 Nodes (13): FormatPrefs, buttonVariants, Calendar(), CalendarDayButton(), DateTimeField(), DateTimeFieldProps, LayoutEntry, SegDef (+5 more)

Community 64 - "Community 64"

Cohesion: 0.16 Nodes (16): UserProfile, ChatRequest, embed(), Return an embedding vector for text. Uses settings.LLM_EMBED_MODEL, JSONResponse, brief(), _BriefRequest, _BriefResponse (+8 more)

Community 65 - "Community 65"

Cohesion: 0.17 Nodes (4): logWsSend(), deepConvertKeys(), toCamelCase(), toSnakeCase()

Community 66 - "Community 66"

Cohesion: 0.24 Nodes (13): ChatTimelineBlock(), ProjectTimeline(), TimelineEvent, ProjectGroup, ProjectTimelineBox(), DAY_PX_BY_ZOOM, TimelineGanttViewInner(), TimelineGanttViewProps (+5 more)

Community 67 - "Community 67"

Cohesion: 0.12 Nodes (16): aliases, components, hooks, lib, ui, utils, rsc, $schema (+8 more)

Community 68 - "Community 68"

Cohesion: 0.14 Nodes (14): Any, auth_header(), auth_headers_free(), Return an Authorization header dict for the given tier., Authorization header for the seeded free-tier user., _fake_token_stream(), Tests for Phase 3: brief agent WS frame + REST fallback. Coverage: - run_h, Fake _run_single_agent_stream that yields two token events. (+6 more)

Community 69 - "Community 69"

Cohesion: 0.23 Nodes (15): _decrypt(), _encrypt(), _fernet_key(), Tests for Step 6 — memory ORM models and User.encryption_key. Uses the SQLite, POST /api/v1/auth/register creates a user with a valid Fernet key., User model has encryption_key column and it can be set., Deleting a user cascades to memory_core., test_memory_associative_create_and_read() (+7 more)

Community 70 - "Community 70"

Cohesion: 0.17 Nodes (15): agent_runner_v2: email_action.html, agent_runner_v2: email_date.html, journey_v2: email_action.html, Action Item Extraction, Date / Meeting Extraction, Email Header Parsing (From/To/Subject/Date), Email HTML Preprocessing, Heavy HTML / Table Layout Stripping (+7 more)

Community 71 - "Community 71"

Cohesion: 0.15 Nodes (13): ChatInputBox, ChatInputBoxHandle, ChatInputBoxProps, ChatInputBoxVariant, VARIANT_STYLES, BriefingResult, BriefMarkdown, ChatMessage (+5 more)

Community 72 - "Community 72"

Cohesion: 0.30 Nodes (12): AsyncClient, _auth_headers(), Tests for cloud scout CRUD routes., test_authorize_draft_returns_url_and_no_scout_created(), test_create_cloud_scout_defaults_schedule(), test_delete_cloud_scout(), test_finalize_creates_scout_from_session(), test_finalize_rejects_unknown_session() (+4 more)

Community 73 - "Community 73"

Cohesion: 0.13 Nodes (9): AuthError, PendingOAuth, RelationOut, RelationPatch, TOKEN_KEYS, OnboardingFlowProps, AuthTokensSchema, UserProfile (+1 more)

Community 74 - "Community 74"

Cohesion: 0.19 Nodes (8): ItemContent, ItemMetadata, ItemRef, Source connector Protocol and shared item types. A SourceConnector adapts a t, Adapter for a third-party data source (Gmail, Slack, ...)., SourceConnector, TriageVerdict, Protocol

Community 75 - "Community 75"

Cohesion: 0.13 Nodes (5): Unit tests for gmail._build_gmail_query., since=Feb is more recent than date_range.from=Jan, so after: should be Feb., date_range.from=Feb is more recent than since=Jan, so after: should be Feb., An invalid date string in filter_config must not raise, just be skipped., TestBuildGmailQuery

Community 76 - "Community 76"

Cohesion: 0.18 Nodes (10): ContextualChatState, CachedChatState, ChatMessage, chatSessionCache, parseMutationsToEntityTags(), TABLE_TO_ENTITY, UIChatContext, UseAIChatReturn (+2 more)

Community 77 - "Community 77"

Cohesion: 0.14 Nodes (13): env, browser, es6, node, extends, node, typescript, extensions (+5 more)

Community 78 - "Community 78"

Cohesion: 0.19 Nodes (8): OnboardingFlow(), spring, Step, STEP_ORDER, INDUSTRIES, JOB_ROLES, TONES, USE_CASES

Community 79 - "Community 79"

Cohesion: 0.16 Nodes (11): Integration tests for the unified WebSocket handler (Step 5). Tests the devic, tool_result for unknown call_id is silently ignored — no crash., Connection with bad token is closed before or after accept., Receive frames until stream_end or max_frames., home_request → stream_start, stream_text+, stream_end., request_id in home_request is echoed in all response frames., _recv_until_end(), test_home_request_produces_stream_frames() (+3 more)

Community 80 - "Community 80"

Cohesion: 0.19 Nodes (13): adiuvAI Monorepo, .claude/CLAUDE.md (workspace guide), Root CLAUDE.md (project instructions), Custom ipcLink (not electron-trpc), Electron Desktop App, electron/index.html (Electron entry), electron/web.html (Web SPA entry), Gitea Electron Release Workflow (+5 more)

Community 81 - "Community 81"

Cohesion: 0.19 Nodes (13): core/agent_runner.py, Agent Runner V2 eval cases, core/deep_agent.py (main agent runner), agents/filesystem_agent.py, Journey V2 eval cases, core/langfuse_client.py (prompt + tracing), core/llm.py (LiteLLM factory), core/output_formatter.py (+5 more)

Community 82 - "Community 82"

Cohesion: 0.23 Nodes (13): api/backend-client.ts (WS client), Correctness Findings (CORR-01..CORR-21), core/device_manager.py (WS session tracking), device_ws.py — unified WS /device endpoint, Cross-Project WS Integration (/api/v1/device), api/drizzle-executor.ts (tool-call executor), Electron Main Process, noteEdits HITL Table (+5 more)

Community 83 - "Community 83"

Cohesion: 0.18 Nodes (13): make_jwt(), Create a signed test JWT. Uses the fixed TEST_USER_IDS mapping so the, _device_hello(), Connect, send device_hello, receive ping, then close., Non-device_hello first frame should close the connection., tool_result frame is routed to the DeviceConnectionManager., On disconnect, _mark_runs_disconnected is called with the correct user_id., test_ws_device_disconnect_marks_run_logs_as_error() (+5 more)

Community 84 - "Community 84"

Cohesion: 0.23 Nodes (9): AdiuvaIcon(), AdiuvaIconProps, AdiuvaTriggerButton(), clamp(), ContextualChatProvider(), Ctx, readNumber(), useContextualChat() (+1 more)

Community 85 - "Community 85"

Cohesion: 0.18 Nodes (9): ASGIApp, Request, Response, BaseHTTPMiddleware, _get_user_id_from_jwt(), Tier-aware rate limiting middleware. Uses a per-user sliding-window counter (, Key function for the slowapi Limiter: returns JWT sub or remote IP., Sliding-window rate limiter applied globally across all non-exempt routes. (+1 more)

Community 86 - "Community 86"

Cohesion: 0.24 Nodes (8): MemoryProactive, Per-user inferred behavioral patterns, encrypted at rest. Confidence in [, ExtractionResult, _enc(), Tests for Phase 5 — proactive hints surfacing. Coverage: 1. _proactive_hin, test_enrich_context_excludes_low_confidence_proactive(), test_enrich_context_returns_proactive_hints(), test_proactive_hints_in_system_prompt_string()

Community 87 - "Community 87"

Cohesion: 0.33 Nodes (9): TableBlockData, Table(), TableBody(), TableCaption(), TableCell(), TableFooter(), TableHead(), TableHeader() (+1 more)

Community 88 - "Community 88"

Cohesion: 0.21 Nodes (8): ThemeProvider(), createHttpLink(), webPlatform, Register, router, routeTree, App(), rootElement

Community 90 - "Community 90"

Cohesion: 0.24 Nodes (9): _get_url(), Alembic migration environment — async-compatible. At runtime the app uses ``p, Convert an asyncpg URL to a psycopg2 URL for Alembic CLI., Emit SQL without a live DB connection., Run migrations against a live DB using the async engine., run_migrations_offline(), run_migrations_online(), run_migrations_online_async() (+1 more)

Community 91 - "Community 91"

Cohesion: 0.20 Nodes (8): ASGIApp, Request, Response, Response sanitizer middleware. Scans JSON responses from the /api/v1/chat end, Scan text for prompt fragments and replace matches with [REDACTED]., Strip prompt IP from /api/v1/chat JSON responses., _sanitize_text(), SanitizerMiddleware

Community 92 - "Community 92"

Cohesion: 0.24 Nodes (4): BaseMessage, In-process TTL buffer for per-session LangChain message history. Stores the f, Append a synthetic system message to the buffer for the given session., _SessionBuffer

Community 93 - "Community 93"

Cohesion: 0.20 Nodes (9): aiChatMessages, aiChatSessions, createIPCHandler(), IPCRequest, TRPCContext, aiChatRouter, ChannelSchema, RoleSchema (+1 more)

Community 94 - "Community 94"

Cohesion: 0.24 Nodes (9): ipcLink(), electronPlatform, FileDialogOptions, FileDialogResult, Platform, PlatformContext, PlatformProvider(), App() (+1 more)

Community 95 - "Community 95"

Cohesion: 0.36 Nodes (10): addDays(), addMonths(), DateKeywords, parseDate(), parseDateRange(), ParseInput, parseKeyword(), parseNumeric() (+2 more)

Community 96 - "Community 96"

Cohesion: 0.24 Nodes (8): ContextualScope, Contextual sidebar scope schema and prompt block renderer. ContextualScope mi, Scope payload sent by the Electron renderer for contextual chat. The rend, Produce a single-paragraph human-readable summary of the current view for i, render_scope_block(), test_render_list_scope_no_entity(), test_render_note_scope_includes_char_count(), test_render_project_scope()

Community 97 - "Community 97"

Cohesion: 0.22 Nodes (5): ABC, Any, BaseAgent, Minimal agent base types retained for compatibility with batch runners., Common base for non-chat agents still using the old base contract.

Community 98 - "Community 98"

Cohesion: 0.27 Nodes (10): api/README.md (dev run instructions), routes/chat.py (HTTP /chat, /chat/brief, /chat/embed), GitHub Actions CI (lint/test/docker), docker-compose.yml (app + pgvector db), FastAPI Backend (api/), Gitea API Deploy Workflow (Docker LXC via SSH), routes/memory.py, core/note_summarizer.py (gpt-4o-mini) (+2 more)

Community 99 - "Community 99"

Cohesion: 0.24 Nodes (9): create_app(), lifespan(), _memory_audit_cron_tick(), Every-24-hour cron: re-issue Gmail users.watch for scouts expiring within 24h., Weekly cron: contradiction scan + label canonicalization for all users (Phase 7), Every-15-min cron: poll enabled cloud scouts (cron-fallback; push is primary)., _scout_cron_tick(), _scout_watch_renewal_tick() (+1 more)

Community 100 - "Community 100"

Cohesion: 0.20 Nodes (9): author, description, keywords, license, main, name, private, productName (+1 more)

Community 101 - "Community 101"

Cohesion: 0.20 Nodes (10): scripts, build:web, dev:web, knip, lint, make, package, preview:web (+2 more)

Community 103 - "Community 103"

Cohesion: 0.22 Nodes (8): make_query_relations_tool(), Relations agent — read-only tool wrapping MemoryMiddleware.query_relations., Return a query_relations tool bound to user_id., Any, _brief_research_tools(), Return memory tools that only read — safe for the read-only brief-agent subset., Return the full tool palette for Stage-1 task brief research (read-only)., _read_only_memory_tools()

Community 104 - "Community 104"

Cohesion: 0.28 Nodes (9): auth/auth-manager.ts, auth/backup-key.ts (device AES-256 key), Google OAuth Flow (deep-link bounce), auth/oauth_providers.py (GoogleOAuthProvider), middleware/rate_limit.py (TierRateLimit), Redis Introduction (SEC-17/SEC-18 shared infra), Security Findings (SEC-01..SEC-36), ai/token.ts (two-tier token storage) (+1 more)

Community 105 - "Community 105"

Cohesion: 0.28 Nodes (7): initialState, Theme, ThemeProviderContext, ThemeProviderProps, ThemeProviderState, useTheme(), Toaster()

Community 106 - "Community 106"

Cohesion: 0.28 Nodes (8): build_brief_multi_project_manifest(), format_folder_manifest(), Build a compact multi-project manifest for the daily brief agent. Calls e, Format a folder manifest into the <linked_folder> block. Truncates by mti, test_brief_multi_project_manifest_top_5_per_project(), test_format_folder_manifest_basic(), test_format_folder_manifest_null_returns_empty(), test_format_folder_manifest_truncates_past_budget()

Community 107 - "Community 107"

Cohesion: 0.22 Nodes (3): Tests for auth routes: register, login, refresh, me, OAuth social login. Exer, POST /api/v1/auth/register, TestRegister

Community 108 - "Community 108"

Cohesion: 0.29 Nodes (8): routes/auth.py (register/login/OAuth/onboarding), Per-user Fernet Memory Encryption, i18n (i18next, 5 languages), core/memory_middleware.py (encrypted core memory), Onboarding Wizard (5 fields), app/models.py (SQLAlchemy 2.0 ORM), PostgreSQL pgvector:pg16 service, Zero-Trust Data Model

Community 109 - "Community 109"

Cohesion: 0.25 Nodes (4): BriefingResult, sessionCache, UseTaskBriefCacheReturn, UseTaskBriefingReturn

Community 110 - "Community 110"

Cohesion: 0.25 Nodes (3): Tier comes from the live subscription row, not the JWT claim., A JWT with exp in the past must be rejected., TestMe

Community 111 - "Community 111"

Cohesion: 0.25 Nodes (3): _FakeLLM, _FakeTool, test_run_home_uses_mocked_tool_result()

Community 113 - "Community 113"

Cohesion: 0.32 Nodes (7): _pubsub_payload(), Tests for the Gmail Pub/Sub webhook route. Covers: - Happy path: valid JWT, Build a minimal Pub/Sub push envelope., 204 returned and ScoutEngine.trigger_scout awaited for the matching scout., 401 returned when JWT verification fails., test_webhook_rejects_unverified_jwt(), test_webhook_triggers_scout_for_matching_user()

Community 114 - "Community 114"

Cohesion: 0.43 Nodes (3): get_provider(), Return the correct provider client for provider. Parameters ------, TestGetProvider

Community 115 - "Community 115"

Cohesion: 0.29 Nodes (6): ElectronAI, ElectronDialog, ElectronTRPC, TRPCResponse, V3StreamEvent, Window

Community 116 - "Community 116"

Cohesion: 0.38 Nodes (3): POST /api/v1/auth/refresh, After rotation, the original refresh token must be rejected., TestRefresh

Community 117 - "Community 117"

Cohesion: 0.33 Nodes (6): APScheduler Lifespan Crons (memory hourly + audit weekly), routes/billing.py (Stripe), core/memory_extraction.py, core/memory_maintenance.py, billing/stripe_service.py, billing/tier_manager.py (Tier System source of truth)

Community 118 - "Community 118"

Cohesion: 0.33 Nodes (4): OAuthUserInfo, OAuth 2.0 + PKCE provider abstractions. Each provider implements a three-step, Fetch the authenticated user's identity from Google., Normalized user identity returned by any provider.

Community 119 - "Community 119"

Cohesion: 0.33 Nodes (5): entry, ignore, ignoreDependencies, $schema, tags

Community 122 - "Community 122"

Cohesion: 0.60 Nodes (6): ActivityBar(), CheckpointEvent(), getEventColor(), getEventState(), MilestoneEvent(), useDrag()

Community 123 - "Community 123"

Cohesion: 0.40 Nodes (5): adiuvAI Brand Identity Showcase, Generic (Non-Email) Page Detection, Plain Text Fallback, preprocessors: fallback.txt, preprocessors: generic_page.html

Community 125 - "Community 125"

Cohesion: 0.50 Nodes (3): embed_text(), OpenAI embedding helper for associative memory tier. Single public function:, Call OpenAI text-embedding-3-small. Return None on failure (caller falls back to

Community 126 - "Community 126"

Cohesion: 0.50 Nodes (3): RovingDirection, RovingItemProps, UseRovingFocusOptions

Community 127 - "Community 127"

Cohesion: 0.50 Nodes (3): ChatMessage, A single Teams chat or channel message fetched from MS Graph., Return a human-readable text representation for LLM extraction.

Community 129 - "Community 129"

Cohesion: 0.50 Nodes (3): Tests for contextual WS frame handlers. These tests only exercise the new han, _handle_contextual_scope_update must: - call append_system_message on the s, test_handle_contextual_scope_update_appends_system_message_no_llm()

Community 130 - "Community 130"

Cohesion: 0.50 Nodes (3): Tests for run_contextual_stream. These tests monkeypatch _run_single_agent_st, run_contextual_stream must inject the scope block into the system prompt an, test_run_contextual_stream_includes_scope_block()

Community 131 - "Community 131"

Cohesion: 1.00 Nodes (3): agent_runner_v2: email_info.html, journey_v2: email_info.html, Informational Email (No Action Needed)

Community 135 - "Community 135"

Cohesion: 0.67 Nodes (3): Enum, WsFrameType, str

Ambiguous Edges - Review These

  • Generic (Non-Email) Page DetectionadiuvAI Brand Identity Showcase [AMBIGUOUS] electron/assets/logo/brand-showcase.html · relation: conceptually_related_to

Knowledge Gaps

  • 492 isolated node(s): Any, ASGIApp, Response, ASGIApp, Request (+487 more) These have ≤1 connection - possible missing edges or undocumented components.
  • 28 thin communities (<3 nodes) omitted from report — run graphify query to explore isolated nodes.

Suggested Questions

Questions this graph is uniquely positioned to answer:

  • What is the exact relationship between Generic (Non-Email) Page Detection and adiuvAI Brand Identity Showcase? Edge tagged AMBIGUOUS (relation: conceptually_related_to) - confidence is low.
  • Why does run_cloud_agent() connect Device & Langfuse to Community 43, Community 114, WS Session Buffer, Scout Config Models? High betweenness centrality (0.046) - this node is a cross-community bridge.
  • Why does get_provider() connect Community 114 to Community 43, Community 44, Device & Langfuse, Community 31? High betweenness centrality (0.041) - this node is a cross-community bridge.
  • Why does cn() connect Auth UI Forms to Folder & Listbox UI, Chat Entity Blocks, Scout Run UI, Community 66, Community 39, Files Section UI, Community 78, Community 87, Community 26, Community 62, Community 63? High betweenness centrality (0.037) - this node is a cross-community bridge.
  • Are the 85 inferred relationships involving MemoryMiddleware (e.g. with alias and Any) actually correct? MemoryMiddleware has 85 INFERRED edges - model-reasoned connections that need verification.
  • What connects Alembic migration environment — async-compatible. At runtime the app uses ``p, Convert an asyncpg URL to a psycopg2 URL for Alembic CLI., Emit SQL without a live DB connection. to the rest of the system? 1043 weakly-connected nodes found - possible documentation gaps or missing edges.
  • Should Auth UI Forms be split into smaller, more focused modules? Cohesion score 0.03288314738696418 - nodes in this community are weakly interconnected.