# Graph Report - /Users/dementiy/Documents/Claude/lms-system (2026-05-20) ## Corpus Check - 189 files · ~66,515 words - Verdict: corpus is large enough that graph structure adds value. ## Summary - 747 nodes · 1213 edges · 79 communities (37 shown, 42 thin omitted) - Extraction: 100% EXTRACTED · 0% INFERRED · 0% AMBIGUOUS · INFERRED: 4 edges (avg confidence: 0.85) - Token cost: 193,752 input · 7,975 output ## Community Hubs (Navigation) - [[_COMMUNITY_Admin Categories & UI Library|Admin Categories & UI Library]] - [[_COMMUNITY_Auth Flow & App Settings|Auth Flow & App Settings]] - [[_COMMUNITY_Markdown→TipTap Import|Markdown→TipTap Import]] - [[_COMMUNITY_Email Notifications & Q&A API|Email Notifications & Q&A API]] - [[_COMMUNITY_Student Lesson Player|Student Lesson Player]] - [[_COMMUNITY_AuthSession & Student Profile|Auth/Session & Student Profile]] - [[_COMMUNITY_Lesson Editor & Quiz Tools|Lesson Editor & Quiz Tools]] - [[_COMMUNITY_Admin User Detail (BalanceContact)|Admin User Detail (Balance/Contact)]] - [[_COMMUNITY_Next.js Config|Next.js Config]] - [[_COMMUNITY_Course Tree & Module Sorting|Course Tree & Module Sorting]] - [[_COMMUNITY_CSV ImportExport|CSV Import/Export]] - [[_COMMUNITY_Curator Homework Review|Curator Homework Review]] - [[_COMMUNITY_Components Manifest|Components Manifest]] - [[_COMMUNITY_Prisma Client & Dashboards|Prisma Client & Dashboards]] - [[_COMMUNITY_Admin Users List & Enroll|Admin Users List & Enroll]] - [[_COMMUNITY_TSConfig|TSConfig]] - [[_COMMUNITY_S3 Upload Routes|S3 Upload Routes]] - [[_COMMUNITY_Module Page & Lesson Sorting|Module Page & Lesson Sorting]] - [[_COMMUNITY_Cross-cutting Course Actions|Cross-cutting Course Actions]] - [[_COMMUNITY_Create-User Form|Create-User Form]] - [[_COMMUNITY_Load Testing|Load Testing]] - [[_COMMUNITY_Admin Comments Moderation|Admin Comments Moderation]] - [[_COMMUNITY_Admin Questions Split View|Admin Questions Split View]] - [[_COMMUNITY_Bridge Shared Libs (authprismaemail)|Bridge: Shared Libs (auth/prisma/email)]] - [[_COMMUNITY_Module Actions Standalone|Module Actions Standalone]] - [[_COMMUNITY_Student Course Sidebar Layout|Student Course Sidebar Layout]] - [[_COMMUNITY_Question Thread UI|Question Thread UI]] - [[_COMMUNITY_AdminCurator Dashboards|Admin/Curator Dashboards]] - [[_COMMUNITY_Homework Filters|Homework Filters]] - [[_COMMUNITY_Student New Question Page|Student New Question Page]] - [[_COMMUNITY_Prisma Seed|Prisma Seed]] - [[_COMMUNITY_Admin Homework Actions|Admin Homework Actions]] - [[_COMMUNITY_Middleware|Middleware]] - [[_COMMUNITY_Email→Homework→Questions Bridge|Email→Homework→Questions Bridge]] - [[_COMMUNITY_Tech Docs & Prisma Schema|Tech Docs & Prisma Schema]] - [[_COMMUNITY_Lesson Actions Lib|Lesson Actions Lib]] - [[_COMMUNITY_Lesson Actions + Prisma Bridge|Lesson Actions + Prisma Bridge]] - [[_COMMUNITY_Project Docs (CLAUDEROADMAP)|Project Docs (CLAUDE/ROADMAP)]] - [[_COMMUNITY_Homework Editor↔Actions Pair|Homework Editor↔Actions Pair]] - [[_COMMUNITY_File-format Badge & Files Manager|File-format Badge & Files Manager]] - [[_COMMUNITY_Auth↔Middleware Pair|Auth↔Middleware Pair]] - [[_COMMUNITY_ESLint Config|ESLint Config]] - [[_COMMUNITY_PostCSS Config|PostCSS Config]] - [[_COMMUNITY_Lesson Editor↔md-to-tiptap|Lesson Editor↔md-to-tiptap]] - [[_COMMUNITY_Sortable Lessons↔Module Actions|Sortable Lessons↔Module Actions]] - [[_COMMUNITY_Quiz Editor↔Quiz Actions|Quiz Editor↔Quiz Actions]] - [[_COMMUNITY_User Enrollment Pair|User Enrollment Pair]] - [[_COMMUNITY_Community 54|Community 54]] - [[_COMMUNITY_Community 55|Community 55]] - [[_COMMUNITY_Community 56|Community 56]] - [[_COMMUNITY_Community 57|Community 57]] - [[_COMMUNITY_Community 58|Community 58]] - [[_COMMUNITY_Community 59|Community 59]] - [[_COMMUNITY_Community 60|Community 60]] - [[_COMMUNITY_Community 61|Community 61]] - [[_COMMUNITY_Community 62|Community 62]] - [[_COMMUNITY_Community 63|Community 63]] - [[_COMMUNITY_Community 64|Community 64]] - [[_COMMUNITY_Community 65|Community 65]] - [[_COMMUNITY_Community 66|Community 66]] - [[_COMMUNITY_Community 67|Community 67]] - [[_COMMUNITY_Community 68|Community 68]] - [[_COMMUNITY_Community 69|Community 69]] - [[_COMMUNITY_Community 70|Community 70]] - [[_COMMUNITY_Community 71|Community 71]] - [[_COMMUNITY_Community 72|Community 72]] - [[_COMMUNITY_Community 73|Community 73]] - [[_COMMUNITY_Community 74|Community 74]] - [[_COMMUNITY_Community 75|Community 75]] - [[_COMMUNITY_Community 76|Community 76]] - [[_COMMUNITY_Community 77|Community 77]] - [[_COMMUNITY_Community 78|Community 78]] ## God Nodes (most connected - your core abstractions) 1. `auth` - 55 edges 2. `cn()` - 39 edges 3. `compilerOptions` - 16 edges 4. `getSetting()` - 15 edges 5. `uploadFile()` - 14 edges 6. `getSchoolName()` - 13 edges 7. `Prisma Client` - 13 edges 8. `getResend()` - 12 edges 9. `base()` - 12 edges 10. `btn()` - 12 edges ## Surprising Connections (you probably didn't know these) - `cn()` --calls--> `clsx` [INFERRED] src/lib/utils.ts → package.json - `mdToTiptap()` --calls--> `unified` [INFERRED] src/lib/md-to-tiptap.ts → package.json - `Claude Project Rules` --references--> `Project Roadmap` [EXTRACTED] CLAUDE.md → ROADMAP.md - `Technical Documentation` --references--> `Prisma Schema` [EXTRACTED] TECHNICAL.md → prisma/schema.prisma - `generateMetadata()` --calls--> `getSettings` [EXTRACTED] src/app/layout.tsx → src/lib/settings.ts ## Communities (79 total, 42 thin omitted) ### Community 0 - "Admin Categories & UI Library" Cohesion: 0.06 Nodes (49): CategoryRow(), Props, Category, Course, CreateCourseDialog(), createCategory(), deleteCategory(), requireAdmin() (+41 more) ### Community 1 - "Auth Flow & App Settings" Cohesion: 0.07 Nodes (29): AdminNav(), links, AdminShell(), focusHandlers, inputStyle, SettingsForm(), StopImpersonateBanner(), firaMono (+21 more) ### Community 2 - "Markdown→TipTap Import" Cohesion: 0.05 Nodes (41): POST(), convertBlock(), convertInline(), Mark, MdastNode, mdToTiptap(), TipTapNode, dependencies (+33 more) ### Community 3 - "Email Notifications & Q&A API" Cohesion: 0.15 Nodes (30): createModule(), deleteModule(), grantAccess(), reorderModules(), requireAdmin(), revokeAccess(), updateModule(), HomeworkFile (+22 more) ### Community 4 - "Student Lesson Player" Cohesion: 0.08 Nodes (24): addComment(), deleteComment(), HomeworkFile, submitHomework(), submitQuizAttempt(), toggleLessonProgress(), parseNotificationEmails(), KinescopePlayer() (+16 more) ### Community 5 - "Auth/Session & Student Profile" Cohesion: 0.09 Nodes (6): { GET, POST }, auth, Session, User, metadata, POST() ### Community 6 - "Lesson Editor & Quiz Tools" Cohesion: 0.09 Nodes (22): deleteHomework(), requireAdmin(), saveHomework(), deleteQuiz(), requireAdmin(), saveQuiz(), HomeworkEditor(), Props (+14 more) ### Community 7 - "Admin User Detail (Balance/Contact)" Cohesion: 0.10 Nodes (25): bulkGrantAccess(), requireAdmin(), revokeUserAccess(), focusHandlers, formatAmount(), inputStyle, Props, Transaction (+17 more) ### Community 8 - "Next.js Config" Cohesion: 0.07 Nodes (26): nextConfig, devDependencies, dotenv, eslint, eslint-config-next, prisma, tailwindcss, @tailwindcss/postcss (+18 more) ### Community 9 - "Course Tree & Module Sorting" Cohesion: 0.13 Nodes (19): createModule(), deleteModule(), grantAccess(), reorderModules(), requireAdmin(), revokeAccess(), updateModule(), CourseEditForm() (+11 more) ### Community 10 - "CSV Import/Export" Cohesion: 0.12 Nodes (18): Course, CsvExporter(), focusHandlers, inputStyle, Course, CsvImporter(), focusHandlers, inputStyle (+10 more) ### Community 11 - "Curator Homework Review" Cohesion: 0.12 Nodes (14): AudioRecorder(), AudioRecorderProps, ContentViewer(), asBool(), deleteSubmission(), requireCurator(), setReviewing(), submitFeedback() (+6 more) ### Community 12 - "Components Manifest" Cohesion: 0.09 Nodes (21): aliases, components, hooks, lib, ui, utils, iconLibrary, menuAccent (+13 more) ### Community 13 - "Prisma Client & Dashboards" Cohesion: 0.10 Nodes (7): Props, requireAdmin(), saveLesson(), globalForPrisma, Props, metadata, Props ### Community 14 - "Admin Users List & Enroll" Cohesion: 0.12 Nodes (14): Course, Props, QuickEnrollButton(), inputStyle, UsersSearch(), Enrollment, roleLabel, roleVariant (+6 more) ### Community 15 - "TSConfig" Cohesion: 0.10 Nodes (19): compilerOptions, allowJs, esModuleInterop, incremental, isolatedModules, jsx, lib, module (+11 more) ### Community 16 - "S3 Upload Routes" Cohesion: 0.22 Nodes (12): POST(), POST(), DELETE(), PATCH(), POST(), requireAdmin(), deleteFile(), getPublicUrl() (+4 more) ### Community 17 - "Module Page & Lesson Sorting" Cohesion: 0.23 Nodes (11): createLesson(), deleteLesson(), moveLessonToModule(), reorderLessons(), requireAdmin(), toggleLessonPublished(), updateLesson(), Lesson (+3 more) ### Community 18 - "Cross-cutting Course Actions" Cohesion: 0.12 Nodes (16): Course Detail Page, Create Course Action, Admin Dashboard, AdminLayout(), Create Lesson Action, Create Module Action, User Detail Page, Create User Action (+8 more) ### Community 19 - "Create-User Form" Cohesion: 0.18 Nodes (6): CreateUserForm(), focusHandlers, inputStyle, ROLES, metadata, createUser() ### Community 20 - "Load Testing" Cohesion: 0.20 Nodes (9): BROWSER_HEADERS, courseRes, dashRes, jar, lessonRes, LESSONS, loginRes, options (+1 more) ### Community 21 - "Admin Comments Moderation" Cohesion: 0.24 Nodes (6): Comment, CommentsTable(), inputStyle, adminDeleteComment(), metadata, Props ### Community 22 - "Admin Questions Split View" Cohesion: 0.22 Nodes (5): FileAttachment, Message, QuestionDetail, QuestionSplitView(), QuestionSummary ### Community 23 - "Bridge: Shared Libs (auth/prisma/email)" Cohesion: 0.22 Nodes (9): AudioRecorder, Better Auth, grantAccess, Email Senders, EnrollmentManager, HomeworkSection, Prisma Client, getSettings (+1 more) ### Community 24 - "Module Actions Standalone" Cohesion: 0.46 Nodes (7): createLesson(), deleteLesson(), moveLessonToModule(), reorderLessons(), requireAdmin(), toggleLessonPublished(), updateLesson() ### Community 25 - "Student Course Sidebar Layout" Cohesion: 0.29 Nodes (5): Props, Course, CourseSidebar(), Lesson, Module ### Community 26 - "Question Thread UI" Cohesion: 0.29 Nodes (4): FileAttachment, Message, QuestionThread(), QuestionThreadProps ### Community 31 - "Admin Homework Actions" Cohesion: 0.83 Nodes (3): deleteHomework(), requireAdmin(), saveHomework() ### Community 33 - "Email→Homework→Questions Bridge" Cohesion: 0.67 Nodes (3): Questions API Route, Email Helpers (Resend), Homework Submission Actions ### Community 37 - "Lesson Actions + Prisma Bridge" Cohesion: 0.67 Nodes (3): Prisma Client Singleton, Lesson Comment Actions, Lesson Progress Actions ## Knowledge Gaps - **278 isolated node(s):** `config`, `LESSONS`, `TEST_USER`, `BROWSER_HEADERS`, `options` (+273 more) These have ≤1 connection - possible missing edges or undocumented components. - **42 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 `dependencies` connect `Markdown→TipTap Import` to `Next.js Config`, `Cross-cutting Course Actions`?** _High betweenness centrality (0.128) - this node is a cross-community bridge._ - **Why does `auth` connect `Auth/Session & Student Profile` to `Admin Categories & UI Library`, `Auth Flow & App Settings`, `Markdown→TipTap Import`, `Email Notifications & Q&A API`, `Student Lesson Player`, `Lesson Editor & Quiz Tools`, `Admin User Detail (Balance/Contact)`, `Course Tree & Module Sorting`, `CSV Import/Export`, `Curator Homework Review`, `Prisma Client & Dashboards`, `Admin Users List & Enroll`, `S3 Upload Routes`, `Module Page & Lesson Sorting`, `Admin Comments Moderation`, `Admin Questions Split View`, `Module Actions Standalone`, `Student Course Sidebar Layout`, `Admin/Curator Dashboards`, `Admin Homework Actions`, `Lesson Actions Lib`, `Student Comment Actions`?** _High betweenness centrality (0.121) - this node is a cross-community bridge._ - **What connects `config`, `LESSONS`, `TEST_USER` to the rest of the system?** _278 weakly-connected nodes found - possible documentation gaps or missing edges._ - **Should `Admin Categories & UI Library` be split into smaller, more focused modules?** _Cohesion score 0.06377151799687011 - nodes in this community are weakly interconnected._ - **Should `Auth Flow & App Settings` be split into smaller, more focused modules?** _Cohesion score 0.06787330316742081 - nodes in this community are weakly interconnected._ - **Should `Markdown→TipTap Import` be split into smaller, more focused modules?** _Cohesion score 0.05094130675526024 - nodes in this community are weakly interconnected._ - **Should `Student Lesson Player` be split into smaller, more focused modules?** _Cohesion score 0.08235294117647059 - nodes in this community are weakly interconnected._