chore: update graphify graph

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-15 09:31:57 +03:30
co-authored by Claude Opus 4.8
parent 8697c94886
commit 2220c516d7
5 changed files with 1038 additions and 918 deletions
+19 -1
View File
@@ -800,18 +800,36 @@
"798": "Community 798",
"799": "Community 799",
"800": "Community 800",
"801": "Community 801",
"802": "Community 802",
"803": "Community 803",
"804": "Community 804",
"805": "Community 805",
"806": "Community 806",
"807": "Community 807",
"808": "Community 808",
"809": "Community 809",
"810": "Community 810",
"811": "Community 811",
"812": "Community 812",
"813": "Community 813",
"814": "Community 814",
"815": "Community 815",
"816": "Community 816",
"817": "Community 817",
"818": "Community 818",
"819": "Community 819",
"820": "Community 820",
"821": "Community 821"
"821": "Community 821",
"822": "Community 822",
"823": "Community 823",
"824": "Community 824",
"825": "Community 825",
"826": "Community 826",
"827": "Community 827",
"828": "Community 828",
"829": "Community 829",
"830": "Community 830",
"831": "Community 831",
"832": "Community 832"
}
+183 -101
View File
@@ -1,16 +1,16 @@
# Graph Report - clinicpro (2026-07-14)
# Graph Report - clinicpro (2026-07-15)
## Corpus Check
- 872 files · ~627,755 words
- 872 files · ~628,092 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 10493 nodes · 15107 edges · 815 communities (635 shown, 180 thin omitted)
- 10494 nodes · 15108 edges · 833 communities (651 shown, 182 thin omitted)
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 339 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `fd91840b`
- Built from commit: `8697c948`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -800,20 +800,38 @@
- [[_COMMUNITY_Community 798|Community 798]]
- [[_COMMUNITY_Community 799|Community 799]]
- [[_COMMUNITY_Community 800|Community 800]]
- [[_COMMUNITY_Community 801|Community 801]]
- [[_COMMUNITY_Community 802|Community 802]]
- [[_COMMUNITY_Community 803|Community 803]]
- [[_COMMUNITY_Community 804|Community 804]]
- [[_COMMUNITY_Community 805|Community 805]]
- [[_COMMUNITY_Community 806|Community 806]]
- [[_COMMUNITY_Community 807|Community 807]]
- [[_COMMUNITY_Community 808|Community 808]]
- [[_COMMUNITY_Community 809|Community 809]]
- [[_COMMUNITY_Community 810|Community 810]]
- [[_COMMUNITY_Community 811|Community 811]]
- [[_COMMUNITY_Community 812|Community 812]]
- [[_COMMUNITY_Community 813|Community 813]]
- [[_COMMUNITY_Community 814|Community 814]]
- [[_COMMUNITY_Community 815|Community 815]]
- [[_COMMUNITY_Community 816|Community 816]]
- [[_COMMUNITY_Community 817|Community 817]]
- [[_COMMUNITY_Community 818|Community 818]]
- [[_COMMUNITY_Community 819|Community 819]]
- [[_COMMUNITY_Community 820|Community 820]]
- [[_COMMUNITY_Community 821|Community 821]]
- [[_COMMUNITY_Community 822|Community 822]]
- [[_COMMUNITY_Community 823|Community 823]]
- [[_COMMUNITY_Community 824|Community 824]]
- [[_COMMUNITY_Community 825|Community 825]]
- [[_COMMUNITY_Community 826|Community 826]]
- [[_COMMUNITY_Community 827|Community 827]]
- [[_COMMUNITY_Community 828|Community 828]]
- [[_COMMUNITY_Community 829|Community 829]]
- [[_COMMUNITY_Community 830|Community 830]]
- [[_COMMUNITY_Community 831|Community 831]]
- [[_COMMUNITY_Community 832|Community 832]]
## God Nodes (most connected - your core abstractions)
1. `ApiTestCase` - 114 edges
@@ -828,25 +846,25 @@
10. `Clinic` - 50 edges
## Surprising Connections (you probably didn't know these)
- `PrivateRoute()` --calls--> `useAuthStore` [EXTRACTED]
assets/admin/App.tsx → assets/admin/stores/authStore.ts
- `PublicRoute()` --calls--> `useAuthStore` [EXTRACTED]
assets/admin/App.tsx → assets/admin/stores/authStore.ts
- `RoleRoute()` --calls--> `useAuthStore` [EXTRACTED]
assets/admin/App.tsx → assets/admin/stores/authStore.ts
- `openMenu()` --calls--> `renderWithProviders()` [EXTRACTED]
assets/admin/components/AppointmentActions.test.tsx → assets/admin/test/utils.tsx
- `PatientTagsCell()` --calls--> `formatNumber()` [EXTRACTED]
assets/admin/components/PatientTagsCell.tsx → assets/admin/lib/utils.ts
- `ServiceTariffModal()` --calls--> `formatNumber()` [EXTRACTED]
assets/admin/components/ServiceTariffModal.tsx → assets/admin/lib/utils.ts
- `Pagination()` --calls--> `formatNumber()` [EXTRACTED]
assets/admin/components/ui/Pagination.tsx → assets/admin/lib/utils.ts
- `WalletTab()` --calls--> `formatRial()` [EXTRACTED]
assets/admin/pages/PatientDetailPage.tsx → assets/admin/lib/utils.ts
- `SettlementsPage()` --calls--> `formatRial()` [EXTRACTED]
assets/admin/pages/SettlementsPage.tsx → assets/admin/lib/utils.ts
## Import Cycles
- None detected.
## Communities (815 total, 180 thin omitted)
## Communities (833 total, 182 thin omitted)
### Community 0 - "Community 0"
Cohesion: 0.14
Nodes (12): PatientFilters, PatientTagsCell(), TenantTag, toDate(), Form, REFERRAL_OPTIONS, schema, countFilters() (+4 more)
Cohesion: 0.04
Nodes (37): EMPTY, PatientFilters, PricingInsurance, TenantTag, PatientTagsCell(), TenantTag, formatDate(), toDate() (+29 more)
### Community 1 - "Community 1"
Cohesion: 0.03
@@ -873,12 +891,12 @@ Cohesion: 0.17
Nodes (8): SettlementController, SettlementRepository, Settlement, JsonResponse, Request, User, ManagerRegistry, User
### Community 7 - "Community 7"
Cohesion: 0.05
Nodes (11): DoctorServiceController, DoctorService, Clinic, DoctorServiceRepository, Collection, Doctor, self, User (+3 more)
Cohesion: 0.07
Nodes (5): Clinic, Collection, Doctor, self, User
### Community 8 - "Community 8"
Cohesion: 0.07
Nodes (23): applyAppointmentFilters(), AppointmentFilters, EMPTY_FILTERS, Option, STATUS_OPTIONS, AppointmentsPage(), BookingSlot, CancelledBadge() (+15 more)
Cohesion: 0.04
Nodes (45): AppointmentInfoModal(), ModalKind, PickedPatient, PickerOption, appt, get, openMenu(), patch (+37 more)
### Community 9 - "Community 9"
Cohesion: 0.04
@@ -897,8 +915,8 @@ Cohesion: 0.04
Nodes (47): Clinic Doctor Invitation API, DELETE `/api/v1/admin/clinic/invitation/{invUuid}`, Errors, Errors, Errors, Errors, Errors, Errors (+39 more)
### Community 13 - "Community 13"
Cohesion: 0.04
Nodes (62): appt, get, openMenu(), patch, get, get, post, renderDrawer() (+54 more)
Cohesion: 0.03
Nodes (85): get, post, renderDrawer(), get, get, patch, usePatient(), useUpdatePatient() (+77 more)
### Community 14 - "Community 14"
Cohesion: 0.10
@@ -910,7 +928,7 @@ Nodes (7): PaymentController, Appointment, JsonResponse, Payment, Request, Respo
### Community 16 - "Community 16"
Cohesion: 0.06
Nodes (9): AppointmentUpdateTest, PatientSession, SmsWallet, AppointmentExpiryService, Appointment, Collection, PatientRecord, self (+1 more)
Nodes (9): PatientSession, SmsWallet, AppLog, AppointmentExpiryService, Appointment, Collection, PatientRecord, self (+1 more)
### Community 17 - "Community 17"
Cohesion: 0.05
@@ -929,12 +947,12 @@ Cohesion: 0.12
Nodes (5): AdminApiController, RepresentationRepository, JsonResponse, Request, StreamedResponse
### Community 21 - "Community 21"
Cohesion: 0.03
Nodes (66): formatDateTime(), ALL_STATUSES, AppointmentDetailPage(), timeOf(), CityForm, citySchema, ImportError, InsuranceForm (+58 more)
Cohesion: 0.13
Nodes (12): AbstractAuthenticator, AuthenticationException, ExceptionSubscriber, SecurityHeadersSubscriber, EventSubscriberInterface, ExceptionEvent, Passport, ResponseEvent (+4 more)
### Community 22 - "Community 22"
Cohesion: 0.29
Nodes (4): RatingController, JsonResponse, Request, User
Cohesion: 0.11
Nodes (14): RatingController, Like, Rate, LikeRepository, RateRepository, JsonResponse, Request, User (+6 more)
### Community 23 - "Community 23"
Cohesion: 0.05
@@ -949,8 +967,8 @@ Cohesion: 0.05
Nodes (39): Appointment API, Error Responses, Errors, Errors, Errors, Errors, Errors, Errors (+31 more)
### Community 26 - "Community 26"
Cohesion: 0.24
Nodes (4): InsuranceController, JsonResponse, Request, User
Cohesion: 0.13
Nodes (8): InsuranceController, EntityInsurancePricing, EntityInsurancePricingRepository, TenantInsuranceCleanupService, JsonResponse, Request, User, ManagerRegistry
### Community 27 - "Community 27"
Cohesion: 0.06
@@ -977,8 +995,8 @@ Cohesion: 0.06
Nodes (32): 10. Modal / Dialog, 11. Toast Notifications, 12. Empty States & Loading, 13. Page Header (هر صفحه), 14. تکنولوژی Stack, 15. Responsive Breakpoints, 16. Dark Mode (اختیاری — فاز دوم), 17. نمونه رنگ‌بندی صفحه داشبورد (+24 more)
### Community 33 - "Community 33"
Cohesion: 0.04
Nodes (55): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), RoleRoute(), queryClient, toastStyle, NAV_ITEMS, NavItem (+47 more)
Cohesion: 0.22
Nodes (5): AuthController, RateLimiterFactory, JsonResponse, Request, User
### Community 34 - "Community 34"
Cohesion: 0.06
@@ -1041,8 +1059,8 @@ Cohesion: 0.11
Nodes (4): Payment, Appointment, self, User
### Community 49 - "Community 49"
Cohesion: 0.02
Nodes (68): AppointmentInfoModal(), ModalKind, PickedPatient, PickerOption, TransferReserveModal(), WalletChargeLink(), addMinutes(), NewAppointmentDrawer() (+60 more)
Cohesion: 0.04
Nodes (33): WalletChargeLink(), addMinutes(), NewAppointmentDrawer(), Option, PatientRow, CoverageRow, Draft, KIND (+25 more)
### Community 50 - "Community 50"
Cohesion: 0.07
@@ -1058,7 +1076,7 @@ Nodes (26): الزامات UI, باگ‌فیکس صفحه نوبت‌ها, با
### Community 53 - "Community 53"
Cohesion: 0.07
Nodes (17): AppLogRepository, ClaimItemRepository, DoctorClaimRequestRepository, PreRegistrationRepository, ProvinceRepository, SiteConfigRepository, SmsTemplateRepository, ServiceEntityRepository (+9 more)
Nodes (17): AppLogRepository, ClaimItemRepository, DoctorClaimRequestRepository, DoctorInsuranceRepository, InvoiceItemRepository, PreRegistrationRepository, SiteConfigRepository, ServiceEntityRepository (+9 more)
### Community 54 - "Community 54"
Cohesion: 0.10
@@ -1077,8 +1095,8 @@ Cohesion: 0.08
Nodes (24): Blog API, DELETE `/api/v1/blog/{uuid}`, Errors, Errors, Errors, Errors, Errors, GET `/api/v1/blog/{slug}` (+16 more)
### Community 58 - "Community 58"
Cohesion: 0.15
Nodes (8): Blog, BlogController, BlogRepository, JsonResponse, Request, User, ManagerRegistry, QueryBuilder
Cohesion: 0.28
Nodes (4): Blog, BlogRepository, ManagerRegistry, QueryBuilder
### Community 59 - "Community 59"
Cohesion: 0.22
@@ -1093,16 +1111,16 @@ Cohesion: 0.22
Nodes (9): Create Patient Record, Create Session, Endpoints, Get Patient Record, List Patient Appointments, List Patient Sessions, List Patients, Update Patient Basic Info (+1 more)
### Community 62 - "Community 62"
Cohesion: 0.05
Nodes (28): ApiResponse, ClinicAddress, ClinicDoctorItem, ClinicInvitation, EditForm, editSchema, HUES_LIST, INV_STATUS_MAP (+20 more)
Cohesion: 0.06
Nodes (24): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), RoleRoute(), queryClient, toastStyle, ClinicAddress, ClinicDoctorItem (+16 more)
### Community 63 - "Community 63"
Cohesion: 0.07
Nodes (27): useSubscription(), AdminLayout(), avatarBg(), buildSections(), HUES, Props, ROLE_LABELS, Section (+19 more)
Cohesion: 0.16
Nodes (15): AdminLayout(), avatarBg(), buildSections(), HUES, Props, ROLE_LABELS, Section, SectionItem (+7 more)
### Community 64 - "Community 64"
Cohesion: 0.29
Nodes (4): SmsWalletController, JsonResponse, Request, User
Cohesion: 0.19
Nodes (7): SmsWalletController, SmsSettingsRepository, SmsSettings, JsonResponse, Request, User, ManagerRegistry
### Community 65 - "Community 65"
Cohesion: 0.08
@@ -1145,8 +1163,8 @@ Cohesion: 0.16
Nodes (5): DoctorSecretary, Clinic, Doctor, self, User
### Community 77 - "Community 77"
Cohesion: 0.15
Nodes (6): RepresentationActionController, InputValidator, JsonResponse, Representation, Request, User
Cohesion: 0.24
Nodes (5): RepresentationActionController, JsonResponse, Representation, Request, User
### Community 78 - "Community 78"
Cohesion: 0.12
@@ -1173,8 +1191,8 @@ Cohesion: 0.07
Nodes (30): devDependencies, @babel/core, @babel/preset-env, @babel/preset-react, @babel/preset-typescript, core-js, @csstools/postcss-oklab-function, @hotwired/stimulus (+22 more)
### Community 86 - "Community 86"
Cohesion: 0.05
Nodes (19): AppointmentExpiryServiceTest, DateOverrideOwnershipTest, LowTierFixesTest, SendCodeMobileRateLimitTest, ClaimsListPaginationTest, CaptchaFlowTest, ServiceItemDeleteCleanupTest, ServiceItemMultiStaffTest (+11 more)
Cohesion: 0.04
Nodes (20): AppointmentExpiryServiceTest, LowTierFixesTest, SendCodeMobileRateLimitTest, ClaimsListPaginationTest, CaptchaFlowTest, ServiceItemDeleteCleanupTest, ServiceItemMultiStaffTest, ServiceItemStaffOwnershipTest (+12 more)
### Community 87 - "Community 87"
Cohesion: 0.10
@@ -1237,7 +1255,7 @@ Cohesion: 0.10
Nodes (19): Backend — endpoint اشتراک, Frontend — App.tsx, Frontend — authStore, Frontend — Sidebar, اعمال محدودیت‌های اشتراک در پنل ادمین (Frontend Gate), ترتیب اجرا, زمینه, فایل‌های مرتبط (+11 more)
### Community 102 - "Community 102"
Cohesion: 0.07
Cohesion: 0.08
Nodes (26): Bulk import / export, DELETE `/api/v1/admin/tag/{id}`, DELETE `/api/v1/tenant-tag/{uuid}`, Errors, Errors, Errors, Errors, Errors (+18 more)
### Community 103 - "Community 103"
@@ -1261,8 +1279,8 @@ Cohesion: 0.33
Nodes (6): AppointmentController, Appointment, Doctor, JsonResponse, Request, User
### Community 108 - "Community 108"
Cohesion: 0.10
Nodes (13): BaseController, CategoryController, CategoryImportController, SiteContextController, SmsMessageController, JsonResponse, JsonResponse, Request (+5 more)
Cohesion: 0.11
Nodes (12): CaptchaController, BaseController, CategoryController, SiteContextController, SmsMessageController, JsonResponse, JsonResponse, Request (+4 more)
### Community 109 - "Community 109"
Cohesion: 0.29
@@ -1461,8 +1479,8 @@ Cohesion: 0.13
Nodes (15): Date Overrides, DELETE `/api/v1/appointment-settings/date-override/{uuid}`, Errors, Errors, GET `/api/v1/appointment-settings/date-override/list/{doctorUuid}`, GET `/api/v1/appointment-settings/date-override/{uuid}`, PATCH `/api/v1/appointment-settings/date-override/{uuid}`, POST `/api/v1/appointment-settings/date-override` (+7 more)
### Community 161 - "Community 161"
Cohesion: 0.24
Nodes (7): ClaimSubmitterInterface, ClaimService, ManualClaimSubmitter, Claim, Invoice, Claim, ClaimSubmissionResult
Cohesion: 0.16
Nodes (9): ClaimsListNPlusOneTest, ClaimItem, ClaimSubmitterInterface, ClaimService, ManualClaimSubmitter, Claim, Invoice, Claim (+1 more)
### Community 162 - "Community 162"
Cohesion: 0.10
@@ -1621,8 +1639,8 @@ Cohesion: 0.15
Nodes (12): Clinic Services API, DELETE /api/v1/service-item/{uuid}, DELETE /api/v1/service-section/{uuid}, GET /api/v1/service-items/{sectionUuid}, GET /api/v1/service-items/{uuid}/tariffs, GET /api/v1/service-sections, PATCH /api/v1/service-item/{uuid}, PATCH /api/v1/service-section/{uuid} (+4 more)
### Community 204 - "Community 204"
Cohesion: 0.03
Nodes (81): PaginatedResponse, cn(), formatDate(), iranMobileOptionalSchema, iranMobileSchema, isValidIranMobile(), maskMobile(), sanitizeMobileInput() (+73 more)
Cohesion: 0.02
Nodes (121): PaymentConfig, PaymentGatewayInfo, ApiResponse, PaginatedResponse, ALL_STATUSES, AppointmentDetailPage(), timeOf(), STATUS_FILTERS (+113 more)
### Community 205 - "Community 205"
Cohesion: 0.21
@@ -1697,8 +1715,8 @@ Cohesion: 0.17
Nodes (11): تشخیص عمیق down شدن سرور بعد از ~۱۰ سیکل + وریفای و تکمیل فیکس‌های پایداری, زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, ۱. وریفای فیکس‌های repo (idempotent) (+3 more)
### Community 228 - "Community 228"
Cohesion: 0.04
Nodes (46): Bulk import / export, DELETE `/api/v1/admin/insurance/{id}`, DELETE `/api/v1/insurance/{id}`, EntityInsurancePricing — قیمت‌گذاری ویزیت بر اساس بیمه, Errors, Errors, Errors, Errors (+38 more)
Cohesion: 0.20
Nodes (10): Bulk import / export, DELETE `/api/v1/admin/insurance/{id}`, DELETE `/api/v1/insurance/{id}`, EntityInsurancePricing — قیمت‌گذاری ویزیت بر اساس بیمه, GET `/api/v1/insurance/{id}`, Insurance API, Response `200`, Response `200` (+2 more)
### Community 229 - "Community 229"
Cohesion: 0.14
@@ -1990,7 +2008,7 @@ Nodes (16): آماده‌سازی پروژه ClinicPro برای دیپلوی ر
### Community 304 - "Community 304"
Cohesion: 0.22
Nodes (9): 29. 🟢 `GET` clinic list 🆕, 30. 🟢 `GET` get 🆕, 36. 🟢 `GET` get my rate, 6. کلینیک (Clinic), هدرهای اضافی, پارامترهای Query, پاسخ‌ها, پاسخ‌ها (+1 more)
Nodes (9): 29. 🟢 `GET` clinic list 🆕, 30. 🟢 `GET` get 🆕, 33. 🔵 `POST` image_clinic, 6. کلینیک (Clinic), هدرهای اضافی, پارامترهای Query, پاسخ‌ها, پاسخ‌ها (+1 more)
### Community 306 - "Community 306"
Cohesion: 0.07
@@ -2029,16 +2047,16 @@ Cohesion: 0.36
Nodes (3): ServiceSectionRepository, ManagerRegistry, ServiceSection
### Community 315 - "Community 315"
Cohesion: 0.13
Nodes (12): AdminUserDetail, AVATAR_COLORS, EditForm, editSchema, GENDER_LABELS, getPrimaryRole(), MARITAL_LABELS, MEDICAL_SECTIONS (+4 more)
Cohesion: 0.08
Nodes (20): formatDateTime(), LogsPage(), VisitDetailModal(), PAYMENT_TYPE_LABELS, PaymentDetailPage(), SettlementDetail, SettlementDetailPage(), SmsPage() (+12 more)
### Community 316 - "Community 316"
Cohesion: 0.12
Nodes (15): mapping صفحات clinicpro → فریم فیگما, الف-۱. توکن‌های رنگ (light + dark), الف-۲. سلکتور رنگ کاربر, الف-۳. ابعاد و رفتار layout, الف-۴. شعاع‌ها و input/button, الف-۵. کامپوننت‌های مشترک مطابق فیگما, ایندکس فریم‌های فیگما (۴ section، node-id دسکتاپ), بخش الف — سیستم طراحی مشترک (یک‌بار، پایه‌ی همه‌ی صفحات) (+7 more)
### Community 317 - "Community 317"
Cohesion: 0.43
Nodes (3): InvoiceItemRepository, InvoiceItem, ManagerRegistry
Cohesion: 0.32
Nodes (6): ClinicServiceController, JsonResponse, Request, ServiceItem, ServiceSection, User
### Community 318 - "Community 318"
Cohesion: 0.32
@@ -2333,8 +2351,8 @@ Cohesion: 0.33
Nodes (6): Refactoring Plan, فاز ۰ — مستندسازی (۳ تا ۵ روز، قبل از هر کدنویسی), فاز ۱ — زیرساخت پایه (task-01), فاز ۲ — پیاده‌سازی ماژول‌ها (به ترتیب dependency), فاز ۳ — بهینه‌سازی (بعد از پیاده‌سازی), فاز ۴ — آماده‌سازی تولید
### Community 397 - "Community 397"
Cohesion: 0.21
Nodes (6): ClaimAmountBoundsTest, ClaimsListNPlusOneTest, ClaimItem, Claim, Doctor, User
Cohesion: 0.36
Nodes (4): ClaimAmountBoundsTest, Claim, Doctor, User
### Community 398 - "Community 398"
Cohesion: 0.22
@@ -2349,8 +2367,8 @@ Cohesion: 0.11
Nodes (17): بازطراحی معماری پرداخت — سرویس‌محور، امن، توسعه‌پذیر (Backend), تست دستی (ddev، در حالت `payment_test_mode=1`), خروجی نهایی (طبق spec — در گزارش اجرا ارائه شود), زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی (+9 more)
### Community 407 - "Community 407"
Cohesion: 0.27
Nodes (8): MessageBusInterface, MockObject, SmsServiceLookupOnlyTest, SmsLogRepository, SmsMessageTemplateRepository, SmsService, SmsTextResolver, KavehNegarProvider
Cohesion: 0.26
Nodes (7): MessageBusInterface, MockObject, SmsServiceLookupOnlyTest, SmsLogRepository, SmsMessageTemplateRepository, SmsTextResolver, KavehNegarProvider
### Community 410 - "Community 410"
Cohesion: 0.15
@@ -2361,8 +2379,8 @@ Cohesion: 0.10
Nodes (20): edge cases, خلاصهٔ خطاها و اولویت, راه‌حل, راه‌حل, راه‌حل, راه‌حل, رفع خطاهای لاگ سرور (production) — ۱۴۰۵/۰۴/۲۰, ریشه (+12 more)
### Community 416 - "Community 416"
Cohesion: 0.05
Nodes (46): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, Contract (+38 more)
Cohesion: 0.04
Nodes (60): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, dateStrToTs() (+52 more)
### Community 418 - "Community 418"
Cohesion: 0.17
@@ -2374,7 +2392,11 @@ Nodes (15): راه‌حل, راه‌حل, راه‌حل, رفع زوم نقشه
### Community 424 - "Community 424"
Cohesion: 0.03
Nodes (80): FreeVisitPrice(), Pricing, TauriStatCards(), usePaymentConfig(), formatNumber(), formatRial(), tomanToRial(), ClinicDetailPage() (+72 more)
Nodes (69): TauriStatCards(), usePaymentConfig(), formatNumber(), formatRial(), ClinicDetailPage(), ClinicsPage(), AdminCharts, AdminDashboard() (+61 more)
### Community 428 - "Community 428"
Cohesion: 0.12
Nodes (9): Claim, ClaimItem, DebtRow, InsuranceOption, KIND_LABEL, STATUS_FILTERS, STATUS_META, FeatureGate() (+1 more)
### Community 430 - "Community 430"
Cohesion: 0.13
@@ -2385,16 +2407,16 @@ Cohesion: 0.12
Nodes (16): backend (آماده — فقط annotation/doc ناقص), افزودن فیلد «تاریخ شروع فعالیت» (سال تجربه) در پنل ادمین با تقویم شمسی, زمینه, فایل‌های مرتبط, فرم ساخت پزشک — `DoctorFormPage.tsx` (خط ~282), فرم ویرایش پزشک — `DoctorDetailPage.tsx` (وضعیت فعلی، بدون فیلد تاریخ), مشکل / هدف, نکات مهم (+8 more)
### Community 433 - "Community 433"
Cohesion: 0.05
Nodes (33): AbstractAuthenticator, AuthenticationException, ErrorCodes, AuthController, ClinicServiceController, PatientController, ExceptionSubscriber, SecurityHeadersSubscriber (+25 more)
Cohesion: 0.21
Nodes (7): ErrorCodes, PatientController, JsonResponse, PatientRecord, PatientSession, Request, User
### Community 435 - "Community 435"
Cohesion: 0.18
Nodes (10): Command, CancelExpiredAppointmentsCommand, PruneLogsCommand, SeedSmsMessageTemplatesCommand, InputInterface, OutputInterface, InputInterface, OutputInterface (+2 more)
Cohesion: 0.26
Nodes (7): Command, CancelExpiredAppointmentsCommand, PruneLogsCommand, InputInterface, OutputInterface, InputInterface, OutputInterface
### Community 436 - "Community 436"
Cohesion: 0.16
Nodes (9): rialToToman(), FormValues, schema, SectionDef, SectionId, SECTIONS, Settings, TaxHistoryRow (+1 more)
Cohesion: 0.06
Nodes (36): FreeVisitPrice(), Pricing, Contract, InsuranceOption, KIND_LABEL, cn(), iranMobileOptionalSchema, iranMobileSchema (+28 more)
### Community 439 - "Community 439"
Cohesion: 0.17
@@ -2405,8 +2427,8 @@ Cohesion: 0.11
Nodes (18): [F10] راهنمای کهنه در `CLAUDE.md`: endpoint `categorys/{bundle}` منتقل شده, [F11] داشبورد دکتر `GET /api/v1/dashboard/doctor` همیشه 500 (فیلد ناموجود در DQL) — ✅ رفع شد, [F1] phpstan: مقایسهٔ همیشه‌درست در محاسبهٔ estimated SMS — ✅ رفع شد, [F2] تست‌های PHPUnit به API خارجی Kavenegar درخواست واقعی می‌زنند, [F3] دیتابیس تست seed نشده — فقط کاربر ادمین وجود دارد, [F4] اسکریپت seeder `create_test_users.php` وجود ندارد, [F5] ادمین با JWT معتبر به `/api/doc` (Swagger UI) دسترسی ندارد (401), [F6] ناسازگاری کدهای خطا بین دامنه‌ها (+10 more)
### Community 442 - "Community 442"
Cohesion: 0.16
Nodes (4): RanginehProvider, SmsService, SendSmsMessage, SmsProviderInterface
Cohesion: 0.32
Nodes (3): SmsService, SendSmsMessage, SmsProviderInterface
### Community 447 - "Community 447"
Cohesion: 0.31
@@ -2541,8 +2563,8 @@ Cohesion: 0.20
Nodes (9): Backend Audit Backlog — ClinicPro, ☐ CRITICAL, ✅ DONE (committed on backend-audit), ☐ EPICS (design debt — cross-repo, defer; do NOT quick-fix), ☐ HIGH, ☐ LOW, ☐ MEDIUM, Progress (this audit session) (+1 more)
### Community 494 - "Community 494"
Cohesion: 0.48
Nodes (3): DoctorInsuranceRepository, DoctorInsurance, ManagerRegistry
Cohesion: 0.18
Nodes (9): AdminUser, ASSIGNABLE_ROLES, ChangeRoleModal(), getPrimaryRole(), HUES_LIST, ROLE_META, ROLE_TABS, RoleBadge() (+1 more)
### Community 495 - "Community 495"
Cohesion: 0.12
@@ -2561,8 +2583,8 @@ Cohesion: 0.18
Nodes (10): license, private, scripts, build, dev, dev-server, test, test:cov (+2 more)
### Community 499 - "Community 499"
Cohesion: 0.48
Nodes (3): SmsSettingsRepository, SmsSettings, ManagerRegistry
Cohesion: 0.33
Nodes (4): BlogController, JsonResponse, Request, User
### Community 500 - "Community 500"
Cohesion: 0.40
@@ -2668,6 +2690,10 @@ Nodes (4): PatientMedicalRecord, PatientMedicalRecordRepository, ManagerRegistry
Cohesion: 0.36
Nodes (4): ClinicInvitationWebController, ClinicDoctorInvitation, Request, Response
### Community 532 - "Community 532"
Cohesion: 0.36
Nodes (3): DoctorServiceController, JsonResponse, Request
### Community 533 - "Community 533"
Cohesion: 0.31
Nodes (4): BaseKernel, Closure, MicroKernelTrait, Kernel
@@ -2804,10 +2830,6 @@ Nodes (5): Errors, Notes, POST `/api/v1/notification-mobile/request-otp`, Reques
Cohesion: 0.25
Nodes (8): ۲.۲ انواع دسته‌بندی (Category Types), ۲.۲.۱ تگ (Tag), ۲.۲.۲ استان (State), ۲.۲.۳ شهر (City), ۲.۲.۴ بیمه پایه (Basic Insurance), ۲.۲.۵ بیمه مکمل (Supplementary Insurance), ۲.۲.۶ تخصص دکتر (Doctor Specialty), ۲.۲.۷ خدمات دکتر (Doctor Services)
### Community 579 - "Community 579"
Cohesion: 0.33
Nodes (5): Like, LikeRepository, Comment, ManagerRegistry, User
### Community 581 - "Community 581"
Cohesion: 0.50
Nodes (4): API های جدید که باید ساخته شوند, API های موجود (استفاده کن، تغییر نده), تغییر روی API موجود, وضعیت فعلی API (مهم — قبل از پیاده‌سازی بخوان)
@@ -2914,7 +2936,7 @@ Nodes (16): Runbook — تشخیص «ری‌استارت» سرور: recycle ع
### Community 639 - "Community 639"
Cohesion: 0.23
Nodes (5): AbstractMigration, Schema, Version20260615203529, Schema, Version20260713050114
Nodes (5): AbstractMigration, Schema, Version20260612132848, Schema, Version20260615203529
### Community 640 - "Community 640"
Cohesion: 0.38
@@ -2988,10 +3010,6 @@ Nodes (11): تشخیص «ری‌استارت» سرور روی Coolify + رفع
Cohesion: 0.53
Nodes (3): TaxRateHistoryRepository, ManagerRegistry, TaxRateHistory
### Community 677 - "Community 677"
Cohesion: 0.38
Nodes (5): Rate, RateRepository, Doctor, ManagerRegistry, User
### Community 681 - "Community 681"
Cohesion: 0.33
Nodes (4): PatientService, Appointment, PatientRecord, PatientSession
@@ -3025,8 +3043,8 @@ Cohesion: 0.67
Nodes (3): DELETE `/api/v1/sms/template/{uuid}`, Errors, Response `200`
### Community 696 - "Community 696"
Cohesion: 0.36
Nodes (3): EntityInsurancePricing, EntityInsurancePricingRepository, ManagerRegistry
Cohesion: 0.22
Nodes (3): AppException, SlotTakenException, RuntimeException
### Community 698 - "Community 698"
Cohesion: 0.17
@@ -3057,8 +3075,8 @@ Cohesion: 0.50
Nodes (4): Errors, GET `/oauth/userinfo`, Headers, Response `200`
### Community 717 - "Community 717"
Cohesion: 0.12
Nodes (6): ServiceCoverageNPlusOneTest, TenantInsuranceCleanupTest, TenantServiceCoverageRepository, TenantInsuranceCleanupService, ManagerRegistry, TenantServiceCoverage
Cohesion: 0.36
Nodes (3): TenantServiceCoverageRepository, ManagerRegistry, TenantServiceCoverage
### Community 718 - "Community 718"
Cohesion: 0.50
@@ -3080,6 +3098,10 @@ Nodes (3): ApiError, { refreshMock, logoutMock }, replaceMock
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/user/login`, Request Body, Response `200`
### Community 729 - "Community 729"
Cohesion: 0.28
Nodes (6): IbanItem, isValidIranIban(), RepProfile, RepresentationProfilePage(), toLatinDigits(), unwrap()
### Community 732 - "Community 732"
Cohesion: 0.50
Nodes (4): GET `/api/v1/admin/secretaries`, Query Parameters, Response `200`, Secretary Management
@@ -3129,8 +3151,8 @@ Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/notification-mobile/verify`, Request Body, Response `200`
### Community 757 - "Community 757"
Cohesion: 0.43
Nodes (3): SmsLogRepository, SmsLog, ManagerRegistry
Cohesion: 0.36
Nodes (4): SmsLogRepository, SmsLog, SmsService, ManagerRegistry
### Community 758 - "Community 758"
Cohesion: 0.40
@@ -3229,8 +3251,8 @@ Cohesion: 0.17
Nodes (5): Authentication, ClinicPro — API Documentation Index, Error Code Reference, Modules, Standard Response Envelope
### Community 790 - "Community 790"
Cohesion: 0.67
Nodes (3): 33. 🔵 `POST` image_clinic, هدرهای اضافی, پاسخ‌ها
Cohesion: 0.39
Nodes (3): DoctorService, DoctorServiceRepository, ManagerRegistry
### Community 791 - "Community 791"
Cohesion: 0.50
@@ -3264,6 +3286,10 @@ Nodes (4): 45. 🔵 `POST` post, مثال Request, هدرهای اضافی, پا
Cohesion: 0.50
Nodes (4): 46. 🟡 `PATCH` patch, مثال Request, هدرهای اضافی, پاسخ‌ها
### Community 801 - "Community 801"
Cohesion: 0.39
Nodes (3): ProvinceRepository, ManagerRegistry, Province
### Community 802 - "Community 802"
Cohesion: 0.50
Nodes (4): DELETE `/api/v1/doctor/{uuid}`, Errors, Path Parameters, Response `200`
@@ -3272,6 +3298,10 @@ Nodes (4): DELETE `/api/v1/doctor/{uuid}`, Errors, Path Parameters, Response `20
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/doctor`, Request Body (`application/json`), Response `201`
### Community 804 - "Community 804"
Cohesion: 0.43
Nodes (3): SmsTemplateRepository, SmsTemplate, ManagerRegistry
### Community 805 - "Community 805"
Cohesion: 0.25
Nodes (8): Auto-Creation on Appointment Confirm, DELETE `/api/v1/patient/attachment/{uuid}`, Errors, GET `/api/v1/patient/{uuid}/attachments`, Overview, Patient Records & Sessions API, POST `/api/v1/patient/{uuid}/attachment`, ضمیمه‌های بیمار (Attachments)
@@ -3288,6 +3318,14 @@ Nodes (6): Errors, GET `/api/v1/patient/{uuid}/payments`, GET `/api/v1/patient/{
Cohesion: 0.50
Nodes (4): Errors, GET `/api/v1/doctor/{uuid}`, Path Parameters, Response `200`
### Community 809 - "Community 809"
Cohesion: 0.43
Nodes (3): CategoryImportController, JsonResponse, Request
### Community 810 - "Community 810"
Cohesion: 0.47
Nodes (3): SeedSmsMessageTemplatesCommand, InputInterface, OutputInterface
### Community 812 - "Community 812"
Cohesion: 0.50
Nodes (4): Errors, POST `/file/upload/clinic_pro/doctor/field_image`, Request, Response `200`
@@ -3320,24 +3358,68 @@ Nodes (3): 42. 🔴 `DELETE` delete, هدرهای اضافی, پاسخ‌ها
Cohesion: 0.67
Nodes (3): 43. 🟢 `GET` get, هدرهای اضافی, پاسخ‌ها
### Community 822 - "Community 822"
Cohesion: 0.50
Nodes (4): Errors, GET `/api/v1/admin/insurances`, Query Parameters, Response `200`
### Community 823 - "Community 823"
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/admin/insurance`, Request Body (`application/json`), Response `201`
### Community 824 - "Community 824"
Cohesion: 0.50
Nodes (4): Errors, PATCH `/api/v1/admin/insurance/{id}`, Path Parameters, Response `200`
### Community 825 - "Community 825"
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/insurance/`, Request Body (`application/json`), Response `201`
### Community 826 - "Community 826"
Cohesion: 0.50
Nodes (4): Errors, PATCH `/api/v1/insurance/{id}`, Request Body, Response `200`
### Community 827 - "Community 827"
Cohesion: 0.50
Nodes (4): PUT `/api/v1/insurance-pricing`, Request Body, Response `200`, خطاها
### Community 828 - "Community 828"
Cohesion: 0.67
Nodes (3): GET `/api/v1/billing/tenant-insurances/{uuid}/service-coverage`, PUT `/api/v1/billing/tenant-insurances/{uuid}/service-coverage`, TenantServiceCoverage — پوشش خدمت تحت یک قرارداد بیمه (فاز ۲)
### Community 829 - "Community 829"
Cohesion: 0.67
Nodes (3): GET `/api/v1/insurance-pricing`, Response `200`, خطاها
### Community 830 - "Community 830"
Cohesion: 0.67
Nodes (3): GET `/api/v1/insurances`, Query Parameters, Response `200`
### Community 831 - "Community 831"
Cohesion: 0.67
Nodes (3): POST `/api/v1/admin/insurance/{id}/upload-logo`, Request, Response `200`
### Community 832 - "Community 832"
Cohesion: 0.67
Nodes (3): 36. 🟢 `GET` get my rate, هدرهای اضافی, پاسخ‌ها
## Knowledge Gaps
- **4378 isolated node(s):** `ALLOWED_ROLES`, `get`, `patch`, `appt`, `ModalKind` (+4373 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **180 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **182 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 `Altcha` connect `Community 367` to `Community 787`, `Community 485`?**
_High betweenness centrality (0.083) - this node is a cross-community bridge._
- **Why does `BaseController` connect `Community 108` to `Community 6`, `Community 7`, `Community 265`, `Community 138`, `Community 139`, `Community 14`, `Community 654`, `Community 655`, `Community 529`, `Community 15`, `Community 275`, `Community 532`, `Community 20`, `Community 22`, `Community 26`, `Community 295`, `Community 300`, `Community 684`, `Community 433`, `Community 58`, `Community 59`, `Community 64`, `Community 75`, `Community 77`, `Community 479`, `Community 607`, `Community 480`, `Community 739`, `Community 230`, `Community 104`, `Community 107`, `Community 109`, `Community 245`, `Community 121`, `Community 122`, `Community 252`?**
_High betweenness centrality (0.034) - this node is a cross-community bridge._
- **Why does `MellatGateway` connect `Community 206` to `Community 16`, `Community 20`, `Community 421`?**
_High betweenness centrality (0.082) - this node is a cross-community bridge._
- **Why does `MellatGateway` connect `Community 206` to `Community 16`, `Community 20`, `Community 677`?**
_High betweenness centrality (0.032) - this node is a cross-community bridge._
- **Why does `Version20260705070546` connect `Community 646` to `Community 639`?**
_High betweenness centrality (0.031) - this node is a cross-community bridge._
- **What connects `ALLOWED_ROLES`, `get`, `patch` to the rest of the system?**
_4378 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 0` be split into smaller, more focused modules?**
_Cohesion score 0.13725490196078433 - nodes in this community are weakly interconnected._
_Cohesion score 0.03989071038251366 - nodes in this community are weakly interconnected._
- **Should `Community 1` be split into smaller, more focused modules?**
_Cohesion score 0.028985507246376812 - nodes in this community are weakly interconnected._
- **Should `Community 2` be split into smaller, more focused modules?**
+1 -1
View File
File diff suppressed because one or more lines are too long
+830 -810
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -4210,13 +4210,13 @@
"semantic_hash": ""
},
"assets/admin/pages/PatientsListPage.test.tsx": {
"mtime": 1784045150.2602484,
"ast_hash": "a0bf383a2d611cf3858392aee52b0c98",
"mtime": 1784095249.1493967,
"ast_hash": "0990d19b48df00de80fb64ecf6b8619c",
"semantic_hash": ""
},
"assets/admin/pages/PatientsListPage.tsx": {
"mtime": 1784044941.3878784,
"ast_hash": "c6188426868c91e3b775ea715322b825",
"mtime": 1784095171.639665,
"ast_hash": "4461b38cdf9bfd83c08efafc4339b180",
"semantic_hash": ""
},
"migrations/Version20260713110856.php": {
@@ -4500,7 +4500,7 @@
"semantic_hash": ""
},
"tests/Billing/PatientPaymentsTest.php": {
"mtime": 1784042736.7087445,
"mtime": 1784045711.642105,
"ast_hash": "660cf2841bd70c052d1ea57e7b4f3e1a",
"semantic_hash": ""
},