graphify added

This commit is contained in:
Kalana B. Thilakarathna
2026-07-31 11:53:20 +05:30
parent b7bd8dca5c
commit 3cccaf4c63
448 changed files with 255761 additions and 0 deletions
+851
View File
@@ -0,0 +1,851 @@
# Graph Report - . (2026-07-31)
## Corpus Check
- Large corpus: 631 files · ~524,040 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder.
## Summary
- 4512 nodes · 14753 edges · 193 communities (150 shown, 43 thin omitted)
- Extraction: 94% EXTRACTED · 6% INFERRED · 0% AMBIGUOUS · INFERRED: 868 edges (avg confidence: 0.8)
- Token cost: 25,930 input · 8,335 output
## Community Hubs (Navigation)
- HRM Dashboard Pages
- Dashboard & Procurement UI
- Attendance Management UI
- Employee Profile UI
- Product Catalog Frontend
- Backend API Controllers
- Domain Entities
- Purchase Order Frontend
- Authentication API
- Leave Management API
- Core Domain Models
- Repository & UoW Interfaces
- Production Runs API
- Attendance Batch API
- HRM Attendance DTOs
- Audit & Finance Stubs
- ETag Concurrency Layer
- Inventory Items API
- Purchase Orders API
- Production Run Entities
- GRN Receiving API
- Cross-Cutting Infrastructure
- Stock Count API
- GRN & Bin Entities
- Branch & Department Entities
- Audit Logs API
- Production API Client
- Stock Transfer API
- HR Reports API
- Backend Progress Tracker
- Role Management API
- Stock Ledger Entities
- AuthHex Identity Client
- User Management API
- Stock Adjustment API
- Employment Types API
- Auth Role DTOs
- Production Template Graph UI
- Brand Management API
- Warehouse Management API
- HRM Branches & Designations
- HR Domain Enums
- Employee Management API
- Work Shift API
- RFQ Management API
- Department Management API
- HR Document Types API
- App Header Layout
- Purchase Returns API
- Vendor Management API
- Build & Config
- Item Types API
- Dashboard & Procurement UI
- Authentication API
- Salary Components API
- Navigation Item Domain
- HRM Branches API
- Payroll Line Entities
- Auth Session & Roles
- Authentication API
- Product Config Entities
- File Storage Service
- HR Document Enums
- GRN Receiving Frontend
- HR Document Enums
- Shared UI Components
- Payroll API
- Authentication API
- Tax Slab API
- RFQ Entities
- Payroll DTOs
- Payroll DTOs
- Frontend Application
- Dashboard & Procurement UI
- Dashboard API
- Reason Codes API
- Launch Configuration
- Product Config API
- Unit of Measure API
- Smoke Tests
- React UI Components
- Build & Config
- Payroll API
- Production Templates API
- Reason Code Entities
- ERP Core Backend
- Payslip API
- Batch Processing Entities
- Shadow User Auth
- Production Graph Validator
- Stock Snapshot API
- Requisition Domain
- Production Template DTOs
- Production Graph Validator
- Employee Documents Service
- Unit of Measure API
- Employee Loan Entities
- Requisition Domain
- Employee DTOs
- RFQ Entities
- Data Transfer Objects
- Service Interfaces
- Smoke Tests
- Smoke Tests
- ETag Concurrency
- Category Management API
- Data Transfer Objects
- ERP Core Backend
- Smoke Tests
- Layout Components
- ERP Core Backend
- ERP Core Backend
- Domain Entities
- Requisition Domain
- Dashboard & Procurement UI
- Shared UI Components
- Domain Entities
- Component Group 117
- ERP Core Backend
- Payroll DTOs
- ERP Core Backend
- Smoke Tests
- Smoke Tests
- Component Group 123
- Architecture Documentation
- Shared UI Components
- Build & Config
- Domain Entities
- Domain Entities
- Leave Domain
- HRM Service Layer
- Production Template Service
- ERP Core Backend
- Component Group 133
- Component Group 134
- Smoke Tests
- Component Group 136
- Frontend Pages
- Shared UI Components
- Authentication API
- Domain Entities
- Domain Entities
- Auth Infrastructure
- Accounting Stubs
- Production Template Service
- Frontend Application
- ERP Core Backend
- Frontend Pages
- Dashboard API
- Product Config API
- ERP Core Backend
- ERP Core Backend
- AuthHex Identity Client
- ERP Core Backend
- Smoke Tests
- Architecture Documentation
- Architecture Documentation
- Component Group 157
- HRM Dashboard Pages
- Dashboard & Procurement UI
- Shared UI Components
- Frontend Application
- Component Group 162
- Component Group 163
- Component Group 164
- ETag Concurrency
- Build & Config
- Frontend Application
- Build & Config
- Build & Config
- Build & Config
- Build & Config
- Build & Config
- Build & Config
- Build & Config
- Build & Config
- Build & Config
- Build & Config
- Frontend Application
- Frontend Application
- Architecture Documentation
- Architecture Documentation
- Architecture Documentation
- Architecture Documentation
- Architecture Documentation
- Architecture Documentation
- File Storage Service
- Architecture Documentation
- Architecture Documentation
- Frontend Application
- Frontend Progress Tracker
## God Nodes (most connected - your core abstractions)
1. `cn()` - 287 edges
2. `ERPCore.Domain.Enums` - 234 edges
3. `ERPCore.Domain.Entities` - 195 edges
4. `ERPCore.Services.Interfaces` - 153 edges
5. `ETagged` - 118 edges
6. `PageQuery` - 116 edges
7. `PagedResponse` - 116 edges
8. `EntityStatus` - 110 edges
9. `ERPCore.Dtos.Common` - 108 edges
10. `errorMessage()` - 104 edges
## Surprising Connections (you probably didn't know these)
- `AttendanceComputationService` --semantically_similar_to--> `FifoCostingService Domain Service` [INFERRED] [semantically similar]
docs/12-BACKEND-HRM.md → docs/00-CORE.md
- `Server-Authoritative Validation Posture` --semantically_similar_to--> `FifoCostingService Domain Service` [INFERRED] [semantically similar]
docs/20-FRONTEND.md → docs/00-CORE.md
- `GRN unitCost Override with PO Price Variance (2026-07-20)` --references--> `Accepted Risks Register (AR-01 through AR-10)` [EXTRACTED]
Backend/PROGRESS.md → docs/02-SECURITY.md
- `HRM Frontend Screens (Code Complete 2026-07-23)` --references--> `Phase 2 HRM API Reference` [EXTRACTED]
C:/Users/lenovo/Desktop/ NEWGITEA/ERP-core/Frontend/PROGRESS.md → docs/13-BACKEND-HRM-API.md
- `Manufacturing Backend (312 Smoke Assertions, 2026-07-30)` --implements--> `Manufacturing Phase 2 Backend Spec (Model + Rules + API)` [EXTRACTED]
Backend/PROGRESS.md → docs/30-BACKEND-PHASE2.md
## Import Cycles
- None detected.
## Hyperedges (group relationships)
- **FIFO + UoW + Audit Trail = Stock Integrity Triad** — docs_00_core_fifocostingservice, docs_00_core_unitofwork, docs_02_security_accepted_risks [INFERRED 0.85]
- **httpOnly Cookie + CSRF + Same-Origin Proxy = Frontend Auth Pattern** — docs_02_security_csrf_httponlycookie, docs_20_frontend_same_origin_proxy, docs_10_backend_phase1_authcontroller [INFERRED 0.90]
- **Attendance Confirmation → Payroll Lock → Loan Stamp Pipeline** — docs_13_backend_hrm_api_attendance_batch, docs_13_backend_hrm_api_payroll_run, docs_12_backend_hrm_lock_boundary [EXTRACTED 1.00]
## Communities (193 total, 43 thin omitted)
### Community 0 - "HRM Dashboard Pages"
Cohesion: 0.02
Nodes (145): AttendanceBatchesPage(), EmployeesPage(), LeaveRequestsPage(), PayrollRunsPage(), DepartmentsPage(), DocumentTypesPage(), LeaveTypesPage(), SalaryComponentsPage() (+137 more)
### Community 1 - "Dashboard & Procurement UI"
Cohesion: 0.07
Nodes (91): SAMPLE_TREND_IN, SAMPLE_TREND_OUT, StatusFilter, LineState, StatusFilter, StatusFilter, TrackingFilter, StatusFilter (+83 more)
### Community 2 - "Attendance Management UI"
Cohesion: 0.10
Nodes (70): AttendanceBatchDetailPage(), minutesLabel(), ROW_STATUS_STYLE, STATUS_STYLE, emptyForm, STATUS_STYLE, STATUS_STYLE, CATEGORIES (+62 more)
### Community 3 - "Employee Profile UI"
Cohesion: 0.03
Nodes (100): EmployeeDetailPage(), money(), Tab, TABS, money(), PayrollLineDetailPage(), money(), PayrollRunDetailPage() (+92 more)
### Community 4 - "Product Catalog Frontend"
Cohesion: 0.04
Nodes (86): BUILDER_ITEM_TYPES, buildVariantSku(), isBuilderItemType(), NewItemPage(), skuSegment(), ItemsPage(), LABELS, ProductSettingsPage() (+78 more)
### Community 5 - "Backend API Controllers"
Cohesion: 0.05
Nodes (20): PaginationDto, ERPCore.Dtos.Audit, ERPCore.Dtos.Production, ERPCore.Dtos.ItemTypes, ERPCore.Dtos.Items, ERPCore.Dtos.Uoms, ERPCore.Dtos.Categories, ERPCore.Controllers (+12 more)
### Community 6 - "Domain Entities"
Cohesion: 0.04
Nodes (4): CustomFieldType, ERPCore.Infra.Persistence.Configurations, ERPCore.Domain.Entities, ERPCore.Domain.Enums
### Community 7 - "Purchase Order Frontend"
Cohesion: 0.04
Nodes (81): DraftLine, newKey(), PurchaseOrderDetailPage(), DraftLine, emptyLine(), newKey(), NewPurchaseOrderContent(), DraftLine (+73 more)
### Community 8 - "Authentication API"
Cohesion: 0.08
Nodes (47): AllowAnonymous, ActionResult, CancellationToken, Guid, HttpGet, HttpPost, HttpPut, IActionResult (+39 more)
### Community 9 - "Leave Management API"
Cohesion: 0.06
Nodes (48): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, LeaveRequestsController, ActionResult (+40 more)
### Community 10 - "Core Domain Models"
Cohesion: 0.04
Nodes (52): DateTime, Brand, DateTime, ICollection, Category, DateTime, ICollection, Item (+44 more)
### Community 11 - "Repository & UoW Interfaces"
Cohesion: 0.06
Nodes (38): IUnitOfWork, IQueryable, IRepository, CancellationToken, Task, EmployeeUserLinkService, CancellationToken, List (+30 more)
### Community 12 - "Production Runs API"
Cohesion: 0.07
Nodes (48): ActionResult, CancellationToken, HttpGet, HttpPost, HttpPut, ProducesResponseType, Task, ProductionRunsController (+40 more)
### Community 13 - "Attendance Batch API"
Cohesion: 0.06
Nodes (43): ActionResult, CancellationToken, HttpGet, HttpPost, HttpPut, IActionResult, IFormFile, List (+35 more)
### Community 14 - "HRM Attendance DTOs"
Cohesion: 0.07
Nodes (31): TimeSpan, AttendanceRecordDto, AttendanceUploadBatchDto, ResolveDuplicateRequest, UpdateAttendanceRecordRequest, BranchDto, CancellationToken, IReadOnlyList (+23 more)
### Community 15 - "Audit & Finance Stubs"
Cohesion: 0.05
Nodes (38): DateTime, AuditLog, JournalEntryStub, NumberSequence, AuditAction, Guid, Task, ShadowUserClaimsTransformation (+30 more)
### Community 16 - "ETag Concurrency Layer"
Cohesion: 0.11
Nodes (26): ETagged, ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult (+18 more)
### Community 17 - "Inventory Items API"
Cohesion: 0.10
Nodes (32): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+24 more)
### Community 18 - "Purchase Orders API"
Cohesion: 0.10
Nodes (28): ActionResult, CancellationToken, HttpDelete, HttpGet, HttpPost, HttpPut, IActionResult, ProducesResponseType (+20 more)
### Community 19 - "Production Run Entities"
Cohesion: 0.10
Nodes (27): DateTime, ICollection, ProductionRun, DateTime, ICollection, RunStage, ProductionStageStatus, RunGraphDto (+19 more)
### Community 20 - "GRN Receiving API"
Cohesion: 0.09
Nodes (31): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, GrnsController, GrnStatus (+23 more)
### Community 21 - "Cross-Cutting Infrastructure"
Cohesion: 0.14
Nodes (10): ERPCore.Common.Http, ERPCore.Infra.UoW, ERPCore.Services, ERPCore.Domain, ERPCore.Infra.Storage, ERPCore.Services.Hrm, ERPCore.Infra.Auth, ERPCore.System.Errors (+2 more)
### Community 22 - "Stock Count API"
Cohesion: 0.09
Nodes (32): ActionResult, CancellationToken, HttpGet, HttpPost, HttpPut, ProducesResponseType, Task, StockCountsController (+24 more)
### Community 23 - "GRN & Bin Entities"
Cohesion: 0.05
Nodes (36): Bin, DateTime, ICollection, Grn, GrnLine, ItemReorder, PoLine, DateTime (+28 more)
### Community 24 - "Branch & Department Entities"
Cohesion: 0.05
Nodes (36): DateTime, Branch, DateTime, Department, DateTime, Designation, DateTime, Employee (+28 more)
### Community 25 - "Audit Logs API"
Cohesion: 0.07
Nodes (33): ActionResult, CancellationToken, DateOnly, HttpGet, ProducesResponseType, Task, AuditLogsController, ActionResult (+25 more)
### Community 26 - "Production API Client"
Cohesion: 0.06
Nodes (48): isStaleStageError(), ListRunsParams, STALE_STAGE_CODES, ApproveStageRequest, ApproveStageResult, CancelReturn, CancelRunRequest, CancelRunResult (+40 more)
### Community 27 - "Stock Transfer API"
Cohesion: 0.11
Nodes (26): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, StockTransfersController, TransferStatus (+18 more)
### Community 28 - "HR Reports API"
Cohesion: 0.15
Nodes (22): ActionResult, CancellationToken, HttpGet, List, ProducesResponseType, Task, HrReportsController, AttendanceSummaryRowDto (+14 more)
### Community 29 - "Backend Progress Tracker"
Cohesion: 0.07
Nodes (42): AuthController Proxy (24 AuthHex functions, httpOnly cookies), DateTime Kind=Unspecified Fix (Global EF ValueConverter, 2026-07-23), GRN unitCost Override with PO Price Variance (2026-07-20), Backend HRM Phase 2 (Sub-phases 2.12.4, complete 2026-07-23), Manufacturing Backend (312 Smoke Assertions, 2026-07-30), Backend PROGRESS.md (Phase 1 Inventory & Supply Chain), ASP.NET Core Web API (.NET 10), AuthHex External Identity Provider (+34 more)
### Community 30 - "Role Management API"
Cohesion: 0.14
Nodes (22): ActionResult, CancellationToken, HttpDelete, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult (+14 more)
### Community 31 - "Stock Ledger Entities"
Cohesion: 0.09
Nodes (26): DateTime, StockLedger, Direction, string, CurrentUser, ICurrentUser, EntityTypeBuilder, StockLedgerConfiguration (+18 more)
### Community 32 - "AuthHex Identity Client"
Cohesion: 0.15
Nodes (9): CancellationToken, Guid, JsonSerializerOptions, List, Task, AuthHexClient, Guid, AuthHexSessionResult (+1 more)
### Community 33 - "User Management API"
Cohesion: 0.13
Nodes (22): ActionResult, CancellationToken, HttpGet, HttpPost, HttpPut, List, ProducesResponseType, Task (+14 more)
### Community 34 - "Stock Adjustment API"
Cohesion: 0.10
Nodes (26): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, StockAdjustmentsController, List (+18 more)
### Community 35 - "Employment Types API"
Cohesion: 0.13
Nodes (21): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+13 more)
### Community 36 - "Auth Role DTOs"
Cohesion: 0.14
Nodes (10): DateTime, Guid, AuthHexRoleDto, CreateAuthHexRoleRequest, UpdateAuthHexRoleRequest, CancellationToken, Guid, List (+2 more)
### Community 37 - "Production Template Graph UI"
Cohesion: 0.09
Nodes (26): AnnotationNodeData, LineNodeComponent, DEFAULT_BOX, DEFAULT_LINE, detectCycle(), graphToFlow(), nodeTypes, TemplateBuilderPage() (+18 more)
### Community 38 - "Brand Management API"
Cohesion: 0.14
Nodes (20): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+12 more)
### Community 39 - "Warehouse Management API"
Cohesion: 0.15
Nodes (20): ActionResult, CancellationToken, HttpGet, HttpPost, IReadOnlyList, ProducesResponseType, Task, WarehousesController (+12 more)
### Community 40 - "HRM Branches & Designations"
Cohesion: 0.14
Nodes (21): ApiControllerBase, BranchesController, ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut (+13 more)
### Community 41 - "HR Domain Enums"
Cohesion: 0.13
Nodes (20): EmployeeStatus, Gender, DateTime, List, CreateEmployeeRequest, EmployeeBankDetailDto, EmployeeDetailDto, EmployeeListItemDto (+12 more)
### Community 42 - "Employee Management API"
Cohesion: 0.23
Nodes (14): ActionResult, CancellationToken, HttpDelete, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult (+6 more)
### Community 43 - "Work Shift API"
Cohesion: 0.15
Nodes (20): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+12 more)
### Community 44 - "RFQ Management API"
Cohesion: 0.13
Nodes (23): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, RfqsController, RfqStatus (+15 more)
### Community 45 - "Department Management API"
Cohesion: 0.15
Nodes (17): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+9 more)
### Community 46 - "HR Document Types API"
Cohesion: 0.15
Nodes (17): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+9 more)
### Community 47 - "App Header Layout"
Cohesion: 0.09
Nodes (25): Header(), initialNotifications, initials(), Notification, PROCUREMENT_TITLES, STOCK_TITLES, titleFromPath(), options (+17 more)
### Community 48 - "Purchase Returns API"
Cohesion: 0.14
Nodes (20): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, PurchaseReturnsController, List (+12 more)
### Community 49 - "Vendor Management API"
Cohesion: 0.17
Nodes (17): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+9 more)
### Community 50 - "Build & Config"
Cohesion: 0.07
Nodes (28): compilerOptions, allowJs, esModuleInterop, incremental, isolatedModules, jsx, lib, module (+20 more)
### Community 51 - "Item Types API"
Cohesion: 0.18
Nodes (17): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+9 more)
### Community 52 - "Dashboard & Procurement UI"
Cohesion: 0.13
Nodes (22): buildFlow(), nodeTypes, ProductionRunDetailPage(), runStatusBadgeClass(), fmt(), money(), RunActions(), fmt() (+14 more)
### Community 53 - "Authentication API"
Cohesion: 0.16
Nodes (14): DateTime, Guid, JsonElement, IsAvailableRequest, IsAvailableResponse, SendOtpRequest, SendOtpResponse, VerifyAltOtpRequest (+6 more)
### Community 54 - "Salary Components API"
Cohesion: 0.19
Nodes (16): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+8 more)
### Community 55 - "Navigation Item Domain"
Cohesion: 0.10
Nodes (18): ICollection, NavItem, Permission, DateTime, Guid, Role, RolePermission, SubNavItem (+10 more)
### Community 56 - "HRM Branches API"
Cohesion: 0.17
Nodes (15): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+7 more)
### Community 57 - "Payroll Line Entities"
Cohesion: 0.10
Nodes (16): List, PayrollLine, PayrollLineComponent, DateTime, TaxSlab, PayrollLineComponentCategory, EntityTypeBuilder, PayrollLineComponentConfiguration (+8 more)
### Community 58 - "Auth Session & Roles"
Cohesion: 0.21
Nodes (7): AuthSessionResult, OtpAuthSessionResult, CancellationToken, Guid, List, Task, AuthUserService
### Community 59 - "Authentication API"
Cohesion: 0.17
Nodes (12): DateTime, Guid, ForgotPasswordRequest, ForgotPasswordResponse, VerifyRecoveryOtpRequest, VerifyRecoveryOtpResponse, CancellationToken, Task (+4 more)
### Community 60 - "Product Config Entities"
Cohesion: 0.10
Nodes (17): DateTime, int, ProductConfig, DateTime, ICollection, StockTransfer, StockTransferLine, Guid (+9 more)
### Community 61 - "File Storage Service"
Cohesion: 0.14
Nodes (15): CancellationToken, RelativePath, SizeBytes, StoredFileName, Stream, Task, IFileStorageService, CancellationToken (+7 more)
### Community 62 - "HR Document Enums"
Cohesion: 0.13
Nodes (16): EmployeeDocumentStatus, HrDocumentCategory, DateTime, CreateHrDocumentTypeRequest, EmployeeDocumentDto, UpdateEmployeeDocumentStatusRequest, UpdateHrDocumentTypeRequest, UploadEmployeeDocumentRequest (+8 more)
### Community 63 - "GRN Receiving Frontend"
Cohesion: 0.13
Nodes (20): DraftLine, grnClass(), GrnStatusBadge(), holdClass(), HoldStatusBadge(), ListGrnsParams, BatchInput, ConfirmGrnResponse (+12 more)
### Community 64 - "HR Document Enums"
Cohesion: 0.18
Nodes (12): LoanKind, CreateEmployeeLoanRequest, EmployeeLoanDto, CancellationToken, List, Task, EmployeeLoanService, CancellationToken (+4 more)
### Community 65 - "Shared UI Components"
Cohesion: 0.09
Nodes (21): aliases, components, hooks, lib, ui, utils, iconLibrary, menuAccent (+13 more)
### Community 66 - "Payroll API"
Cohesion: 0.16
Nodes (15): ActionResult, CancellationToken, HttpGet, HttpPost, List, ProducesResponseType, Task, PayrollStatutorySettingsController (+7 more)
### Community 67 - "Authentication API"
Cohesion: 0.17
Nodes (6): AuthHexEnvelope, AuthHexRequestBody, ERPCore.Services.Auth, ERPCore.Infra.Auth.AuthHex, ERPCore.Dtos.Auth, ERPCore.Dtos.Rbac
### Community 68 - "Tax Slab API"
Cohesion: 0.17
Nodes (15): ActionResult, CancellationToken, HttpGet, HttpPost, List, ProducesResponseType, Task, TaxSlabsController (+7 more)
### Community 69 - "RFQ Entities"
Cohesion: 0.14
Nodes (13): DateTime, ICollection, Rfq, RfqLine, DateTime, ICollection, VendorQuotation, VendorQuotationLine (+5 more)
### Community 70 - "Payroll DTOs"
Cohesion: 0.27
Nodes (7): PayrollLineDetailDto, PayrollLineDto, PayrollRunDto, CancellationToken, List, Task, PayrollRunService
### Community 71 - "Payroll DTOs"
Cohesion: 0.20
Nodes (12): List, CreateSalaryStructureRequest, EmployeeSalaryStructureDto, SalaryStructureLineRequest, CancellationToken, List, Task, EmployeeSalaryStructureService (+4 more)
### Community 72 - "Frontend Application"
Cohesion: 0.16
Nodes (13): AuthContext, AuthContextValue, AuthProvider(), useAuth(), AppSidebar(), navItems, SidebarContent(), Toaster() (+5 more)
### Community 73 - "Dashboard & Procurement UI"
Cohesion: 0.25
Nodes (12): Props, RolePermissionTree(), Label(), navApi, rolesApi, AssignRolePermissionsRequest, CreateRoleRequest, NavItem (+4 more)
### Community 74 - "Dashboard API"
Cohesion: 0.13
Nodes (14): ActionResult, CancellationToken, HttpGet, ProducesResponseType, Task, DashboardController, DashboardStatsDto, WarehouseValuationDto (+6 more)
### Community 75 - "Reason Codes API"
Cohesion: 0.20
Nodes (13): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, ReasonCodesController, ReasonContext (+5 more)
### Community 76 - "Launch Configuration"
Cohesion: 0.12
Nodes (17): ASPNETCORE_ENVIRONMENT, applicationUrl, commandName, dotnetRunMessages, environmentVariables, launchBrowser, launchUrl, applicationUrl (+9 more)
### Community 77 - "Product Config API"
Cohesion: 0.21
Nodes (12): ActionResult, CancellationToken, HttpGet, HttpPut, ProducesResponseType, Task, ProductConfigController, ProductConfigDto (+4 more)
### Community 78 - "Unit of Measure API"
Cohesion: 0.21
Nodes (12): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, UomsController, CreateUomRequest (+4 more)
### Community 79 - "Smoke Tests"
Cohesion: 0.15
Nodes (8): Client, _decode(), login(), parse_args(), Obtain an AuthHex access token via its `{functionName, payload}` envelope., The RFC 7807 domain error code, when the body carries one (docs/11 §1.8)., Response, Namespace
### Community 80 - "React UI Components"
Cohesion: 0.12
Nodes (17): @base-ui/react, chart.js, dependencies, @base-ui/react, chart.js, next, @radix-ui/react-icons, react-day-picker (+9 more)
### Community 81 - "Build & Config"
Cohesion: 0.12
Nodes (17): eslint, eslint-config-next, devDependencies, eslint, eslint-config-next, tailwindcss, @tailwindcss/postcss, @types/node (+9 more)
### Community 82 - "Payroll API"
Cohesion: 0.42
Nodes (8): ActionResult, CancellationToken, HttpGet, HttpPost, List, ProducesResponseType, Task, PayrollRunsController
### Community 83 - "Production Templates API"
Cohesion: 0.26
Nodes (11): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPost, HttpPut, IActionResult, ProducesResponseType (+3 more)
### Community 84 - "Reason Code Entities"
Cohesion: 0.16
Nodes (11): ReasonCode, DateTime, ICollection, StockAdjustment, StockAdjustmentLine, AdjustmentStatus, EntityTypeBuilder, ReasonCodeConfiguration (+3 more)
### Community 85 - "ERP Core Backend"
Cohesion: 0.13
Nodes (13): net10.0, ClosedXML (0.105.0), CsvHelper (33.1.0), Microsoft.AspNetCore.Authentication.JwtBearer (10.0.9), Microsoft.EntityFrameworkCore (10.0.9), Microsoft.EntityFrameworkCore.Design (10.0.9), Microsoft.EntityFrameworkCore.Tools (10.0.9), Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore (10.0.9) (+5 more)
### Community 86 - "Payslip API"
Cohesion: 0.22
Nodes (11): ActionResult, CancellationToken, HttpGet, IActionResult, ProducesResponseType, Task, PayslipsController, PayslipDto (+3 more)
### Community 87 - "Batch Processing Entities"
Cohesion: 0.17
Nodes (9): DateOnly, Batch, Serial, DateTime, StockLayer, EntityTypeBuilder, BatchConfiguration, SerialConfiguration (+1 more)
### Community 88 - "Shadow User Auth"
Cohesion: 0.13
Nodes (4): ERPCore.Infra.Persistence, ERPCore.Infra.Persistence.Auditing, ERPCore.Repositories, ERPCore.Services.Stock
### Community 89 - "Production Graph Validator"
Cohesion: 0.15
Nodes (12): Dictionary, HashSet, IEnumerable, IReadOnlyList, List, EdgeDraft, InputDraft, OutputDraft (+4 more)
### Community 90 - "Stock Snapshot API"
Cohesion: 0.41
Nodes (8): ActionResult, CancellationToken, DateOnly, HttpGet, HttpPost, ProducesResponseType, Task, StockController
### Community 91 - "Requisition Domain"
Cohesion: 0.23
Nodes (9): DateOnly, List, CreateRequisitionLineInput, CreateRequisitionRequest, RequisitionLineDto, RequisitionSummaryDto, CancellationToken, Task (+1 more)
### Community 92 - "Production Template DTOs"
Cohesion: 0.22
Nodes (13): List, CanvasAnnotationDto, FieldDefDto, SaveEdgeRequest, SaveInputRequest, SaveOutputRequest, SaveStageRequest, SaveTemplateRequest (+5 more)
### Community 93 - "Production Graph Validator"
Cohesion: 0.41
Nodes (5): TemplateGraphDto, CancellationToken, IQueryable, Task, ProductionTemplateService
### Community 94 - "Employee Documents Service"
Cohesion: 0.19
Nodes (11): CancellationToken, Content, ContentType, Dictionary, FileName, List, Stream, Task (+3 more)
### Community 95 - "Unit of Measure API"
Cohesion: 0.20
Nodes (10): CancellationToken, QtyBase, Task, UnitCostBase, IUomConverter, CancellationToken, QtyBase, Task (+2 more)
### Community 96 - "Employee Loan Entities"
Cohesion: 0.19
Nodes (9): DateTime, List, EmployeeLoan, LoanInstallment, LoanInstallmentStatus, LoanStatus, EntityTypeBuilder, EmployeeLoanConfiguration (+1 more)
### Community 97 - "Requisition Domain"
Cohesion: 0.19
Nodes (9): DateTime, ICollection, Requisition, DateOnly, RequisitionLine, RequisitionStatus, EntityTypeBuilder, RequisitionConfiguration (+1 more)
### Community 98 - "Employee DTOs"
Cohesion: 0.24
Nodes (8): EmployeeMatchDto, EmployeeMatchResponse, LinkUserRequest, UserMatchDto, UserMatchResponse, CancellationToken, Task, IEmployeeUserLinkService
### Community 99 - "RFQ Entities"
Cohesion: 0.40
Nodes (5): RfqDto, CancellationToken, IEnumerable, Task, RfqService
### Community 100 - "Data Transfer Objects"
Cohesion: 0.27
Nodes (8): StockLedgerRowDto, StockOnHandDto, StockValuationDto, StockValuationLayerDto, CancellationToken, DateOnly, Task, IStockService
### Community 101 - "Service Interfaces"
Cohesion: 0.37
Nodes (4): CancellationToken, List, Task, IPayrollRunService
### Community 102 - "Smoke Tests"
Cohesion: 0.23
Nodes (12): cleanup(), diamond(), key_of(), main(), output_key_of(), pick_fixtures(), M2 smoke test — production template CRUD + graph validation (docs/30 §D.1, FR-MF, Grab two active items and a UOM to build a realistic template from. (+4 more)
### Community 103 - "Smoke Tests"
Cohesion: 0.27
Nodes (10): ledger_sum(), main(), on_hand(), M5 smoke test — terminal approve = production receipt + cost pool (FR-MFG-13)., drain_stock(), ensure_vendor(), Shared harness for the manufacturing smoke tests (docs/30-BACKEND-PHASE2.md)., Zero out every item's on-hand in a warehouse via one negative adjustment. (+2 more)
### Community 104 - "ETag Concurrency"
Cohesion: 0.17
Nodes (6): ETag, ApiControllerBase, HttpGet, IActionResult, MetaController, ControllerBase
### Community 105 - "Category Management API"
Cohesion: 0.27
Nodes (9): ActionResult, CancellationToken, HttpGet, HttpPatch, HttpPut, IActionResult, ProducesResponseType, Task (+1 more)
### Community 106 - "Data Transfer Objects"
Cohesion: 0.24
Nodes (7): ReorderAlertDto, CancellationToken, Task, IReorderService, CancellationToken, Task, ReorderService
### Community 107 - "ERP Core Backend"
Cohesion: 0.23
Nodes (6): CancellationToken, DbSet, IQueryable, IReadOnlyList, Task, Repository
### Community 108 - "Smoke Tests"
Cohesion: 0.27
Nodes (11): adjustment_reason(), build_template(), ensure_warehouse(), ledger_rows(), main(), on_hand(), production_reason(), M4 smoke test — stage start/complete/approve/transfer (docs/30 §D.3, FR-MFG-09.. (+3 more)
### Community 109 - "Layout Components"
Cohesion: 0.26
Nodes (10): Breadcrumbs(), labelFor(), SEGMENT_LABELS, Breadcrumb(), BreadcrumbEllipsis(), BreadcrumbItem(), BreadcrumbLink(), BreadcrumbList() (+2 more)
### Community 110 - "ERP Core Backend"
Cohesion: 0.18
Nodes (9): ActionResult, CancellationToken, HttpGet, List, ProducesResponseType, Task, NavController, NavItemDto (+1 more)
### Community 111 - "ERP Core Backend"
Cohesion: 0.44
Nodes (7): ActionResult, CancellationToken, HttpGet, HttpPost, ProducesResponseType, Task, RequisitionsController
### Community 112 - "Domain Entities"
Cohesion: 0.22
Nodes (8): DateTime, EmployeeDocument, DateTime, HrDocumentType, EntityTypeBuilder, EmployeeDocumentConfiguration, EntityTypeBuilder, HrDocumentTypeConfiguration
### Community 113 - "Requisition Domain"
Cohesion: 0.40
Nodes (5): RequisitionDto, CancellationToken, IEnumerable, Task, RequisitionService
### Community 114 - "Dashboard & Procurement UI"
Cohesion: 0.25
Nodes (8): areas, Card(), CardAction(), CardContent(), CardDescription(), CardFooter(), CardHeader(), CardTitle()
### Community 115 - "Shared UI Components"
Cohesion: 0.24
Nodes (7): DatePicker(), DatePickerProps, DateRangePicker(), DateRangePickerProps, Popover(), PopoverContent(), PopoverTrigger()
### Community 116 - "Domain Entities"
Cohesion: 0.31
Nodes (6): DateTime, ICollection, ProductionTemplate, ICollection, TemplateStage, Dictionary
### Community 117 - "Component Group 117"
Cohesion: 0.36
Nodes (10): ERP System Promotional Image (No Background), ERP System, ERP User (Laptop - Male), ERP User (Tablet - Female), Hexa ERP Brand, Hexa ERP Logo Image, Hexagonal Chain-Link Icon, Integrated Analytics Module (+2 more)
### Community 118 - "ERP Core Backend"
Cohesion: 0.25
Nodes (5): IReadOnlyList, PagedResult, PaginationMeta, Result, ERPCore.Common.Models
### Community 119 - "Payroll DTOs"
Cohesion: 0.25
Nodes (8): DateTime, CreateTaxSlabRequest, EmployeeSalaryStructureLineDto, GeneratePayrollRunRequest, LoanInstallmentDto, PayrollLineComponentDto, UnlockPayrollRunRequest, UpsertPayrollStatutorySettingRequest
### Community 120 - "ERP Core Backend"
Cohesion: 0.22
Nodes (7): CancellationToken, Exception, DomainExceptionHandler, HttpContext, IExceptionHandler, IProblemDetailsService, ValueTask
### Community 121 - "Smoke Tests"
Cohesion: 0.31
Nodes (7): find_template(), main(), M3 smoke test — run creation, list/detail, quantity override (docs/30 §D.2, FR-M, main(), M4b smoke test — UOM conversion on production stock inputs. This covers the s, bootstrap(), Standard entry point: parse args, log in, return (client, checker, args).
### Community 122 - "Smoke Tests"
Cohesion: 0.36
Nodes (8): ensure_template(), ledger(), main(), new_run(), on_hand(), prod_reason(), M6 + M7 smoke test — leftover return, reject-intake, terminal reject, run cancel, Cut (entry) -> Assemble (terminal). Cut has the stock input we return leftovers
### Community 123 - "Component Group 123"
Cohesion: 0.31
Nodes (9): Dark Theme Design Language, Dual User Workstation Setup, ERP Core Frontend Application, ERP Dashboard UI Scene, Financial Analytics Panel, ERP Background Image, Inventory Management Panel, User Productivity Panel (+1 more)
### Community 124 - "Architecture Documentation"
Cohesion: 0.22
Nodes (9): Backend Layered Architecture (Controller→Service→Repository→UoW), FifoCostingService Domain Service, UnitOfWork Transaction Boundary, AttendanceComputationService, Payroll Lock Boundary Rule, PayrollRun API (generate/approve/lock/unlock/payslips), Server-Authoritative Validation Posture, Run Cost Pool (Material Roll-up for Finished Goods) (+1 more)
### Community 125 - "Shared UI Components"
Cohesion: 0.22
Nodes (7): columns, currency, Order, orders, statusStyles, DataTable(), DataTableColumn
### Community 126 - "Build & Config"
Cohesion: 0.22
Nodes (8): name, private, scripts, build, dev, lint, start, version
### Community 127 - "Domain Entities"
Cohesion: 0.29
Nodes (6): DateTime, List, PayrollRun, PayrollRunStatus, EntityTypeBuilder, PayrollRunConfiguration
### Community 128 - "Domain Entities"
Cohesion: 0.29
Nodes (5): DateTime, SalaryComponent, SalaryComponentType, EntityTypeBuilder, SalaryComponentConfiguration
### Community 129 - "Leave Domain"
Cohesion: 0.46
Nodes (5): LeaveBalanceDto, CancellationToken, List, Task, ILeaveBalanceService
### Community 130 - "HRM Service Layer"
Cohesion: 0.54
Nodes (3): CancellationToken, Task, LeaveTypeService
### Community 131 - "Production Template Service"
Cohesion: 0.54
Nodes (3): CancellationToken, Task, IProductionTemplateService
### Community 132 - "ERP Core Backend"
Cohesion: 0.54
Nodes (3): CancellationToken, Task, VendorService
### Community 133 - "Component Group 133"
Cohesion: 0.43
Nodes (8): ERP Login Page UI, ERP System Branding / Marketing Visual, Female User Working on Tablet, ERP Login Page Illustration Image, Integrated Analytics Dashboard, Inventory Management Dashboard, Male User Working on Laptop, Order Processing Dashboard
### Community 134 - "Component Group 134"
Cohesion: 0.29
Nodes (6): ActionExecutingContext, ActionExecutionDelegate, Attribute, Task, ValidateCsrfAttribute, IAsyncActionFilter
### Community 136 - "Component Group 136"
Cohesion: 0.38
Nodes (7): ERP Frontend Public Assets, Globe SVG Icon, Vercel Brand / Company, Vercel Logo SVG, Window SVG Icon, Next.js Application Icon Asset, Window/Browser UI Icon
### Community 137 - "Frontend Pages"
Cohesion: 0.29
Nodes (5): ForgotEmailPage(), emailSchema, loginSchema, LoginValues, validateEmail()
### Community 138 - "Shared UI Components"
Cohesion: 0.29
Nodes (6): Avatar(), AvatarBadge(), AvatarFallback(), AvatarGroup(), AvatarGroupCount(), AvatarImage()
### Community 140 - "Domain Entities"
Cohesion: 0.40
Nodes (4): DateTime, ItemType, EntityTypeBuilder, ItemTypeConfiguration
### Community 141 - "Domain Entities"
Cohesion: 0.40
Nodes (4): DateTime, Payslip, EntityTypeBuilder, PayslipConfiguration
### Community 142 - "Auth Infrastructure"
Cohesion: 0.33
Nodes (4): string, JwtAuthExtensions, IConfiguration, IServiceCollection
### Community 143 - "Accounting Stubs"
Cohesion: 0.40
Nodes (4): CancellationToken, Task, NumberSequenceService, IDbCommand
### Community 144 - "Production Template Service"
Cohesion: 0.33
Nodes (5): List, ChildStageId, Name, ParentStageId, StageId
### Community 145 - "Frontend Application"
Cohesion: 0.33
Nodes (4): geistMono, geistSans, metadata, TooltipProvider()
### Community 146 - "ERP Core Backend"
Cohesion: 0.60
Nodes (4): ConflictException, DomainException, NotFoundException, Exception
### Community 155 - "Architecture Documentation"
Cohesion: 0.67
Nodes (3): Snapshot-at-Ingestion Rule (Attendance Integrity), AttendanceUploadBatch API (validate/confirm/unlock flow), Attendance Upload Wizard (3-step client flow)
### Community 156 - "Architecture Documentation"
Cohesion: 0.67
Nodes (3): Production Template Canvas Builder (React Flow), Production Template DAG (Stage Graph), ProductionGraphValidator (Kahn Toposort)
### Community 157 - "Component Group 157"
Cohesion: 1.00
Nodes (3): ERP Frontend Public Assets Directory, Next.js SVG Wordmark Logo, Next.js Brand / Framework
## Knowledge Gaps
- **362 isolated node(s):** `CustomFieldType`, `PaginationDto`, `WarehouseValuationDto`, `GrnLineDto`, `EmployeeSalaryStructureLineDto` (+357 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **43 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 `ERPCore.Domain.Enums` connect `Domain Entities` to `Domain Entities`, `Backend API Controllers`, `Leave Management API`, `Core Domain Models`, `Production Runs API`, `Attendance Batch API`, `HRM Attendance DTOs`, `Audit & Finance Stubs`, `ETag Concurrency Layer`, `Inventory Items API`, `Purchase Orders API`, `Production Run Entities`, `GRN Receiving API`, `Cross-Cutting Infrastructure`, `Stock Count API`, `GRN & Bin Entities`, `Branch & Department Entities`, `Audit Logs API`, `Dashboard API`, `Stock Transfer API`, `Role Management API`, `Stock Ledger Entities`, `User Management API`, `Stock Adjustment API`, `Employment Types API`, `Brand Management API`, `HR Domain Enums`, `RFQ Management API`, `Purchase Returns API`, `Vendor Management API`, `Item Types API`, `Payroll Line Entities`, `HR Document Enums`, `HR Document Enums`, `Authentication API`, `Reason Codes API`, `Reason Code Entities`, `Shadow User Auth`, `Requisition Domain`, `Production Template DTOs`, `Employee Loan Entities`, `Requisition Domain`, `Data Transfer Objects`, `Payroll DTOs`, `Domain Entities`?**
_High betweenness centrality (0.089) - this node is a cross-community bridge._
- **Why does `EntityStatus` connect `ETag Concurrency Layer` to `Domain Entities`, `HRM Service Layer`, `Production Template Service`, `ERP Core Backend`, `Leave Management API`, `Core Domain Models`, `Repository & UoW Interfaces`, `Domain Entities`, `Attendance Batch API`, `HRM Attendance DTOs`, `Inventory Items API`, `GRN & Bin Entities`, `Branch & Department Entities`, `Role Management API`, `Employment Types API`, `Brand Management API`, `HRM Branches & Designations`, `Work Shift API`, `Department Management API`, `HR Document Types API`, `Vendor Management API`, `Item Types API`, `Salary Components API`, `Navigation Item Domain`, `HRM Branches API`, `Product Config Entities`, `Production Templates API`, `Production Graph Validator`, `Domain Entities`, `Domain Entities`?**
_High betweenness centrality (0.048) - this node is a cross-community bridge._
- **Why does `ErpDbContext` connect `Audit & Finance Stubs` to `Domain Entities`, `Leave Management API`, `Core Domain Models`, `Domain Entities`, `Attendance Batch API`, `Domain Entities`, `Accounting Stubs`, `Production Run Entities`, `Stock Count API`, `GRN & Bin Entities`, `Branch & Department Entities`, `Stock Ledger Entities`, `Navigation Item Domain`, `Payroll Line Entities`, `Product Config Entities`, `RFQ Entities`, `Reason Code Entities`, `Batch Processing Entities`, `Shadow User Auth`, `Employee Loan Entities`, `Requisition Domain`, `ERP Core Backend`, `Domain Entities`, `Domain Entities`, `Domain Entities`?**
_High betweenness centrality (0.047) - this node is a cross-community bridge._
- **What connects `CustomFieldType`, `PaginationDto`, `WarehouseValuationDto` to the rest of the system?**
_362 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `HRM Dashboard Pages` be split into smaller, more focused modules?**
_Cohesion score 0.02269031781226903 - nodes in this community are weakly interconnected._
- **Should `Dashboard & Procurement UI` be split into smaller, more focused modules?**
_Cohesion score 0.0685805422647528 - nodes in this community are weakly interconnected._
- **Should `Attendance Management UI` be split into smaller, more focused modules?**
_Cohesion score 0.10198464435752572 - nodes in this community are weakly interconnected._