chore(graphify): rebuild code graph after day-aware locations

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-18 14:44:51 +03:30
co-authored by Claude Opus 4.8
parent b37096048c
commit dfcf62735b
7 changed files with 716 additions and 380 deletions
-4
View File
@@ -368,10 +368,6 @@
"366": "Community 366",
"367": "Community 367",
"368": "Community 368",
"369": "Community 369",
"370": "Community 370",
"371": "Community 371",
"372": "Community 372",
"373": "Community 373",
"374": "Community 374",
"375": "Community 375",
+27 -43
View File
@@ -1,16 +1,16 @@
# Graph Report - nobat724_front (2026-07-18)
## Corpus Check
- 606 files · ~551,814 words
- 607 files · ~553,226 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 2169 nodes · 2150 edges · 380 communities (349 shown, 31 thin omitted)
- 2187 nodes · 2167 edges · 376 communities (346 shown, 30 thin omitted)
- Extraction: 95% EXTRACTED · 5% INFERRED · 0% AMBIGUOUS · INFERRED: 100 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `eba0c6a5`
- Built from commit: `b3709604`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -143,10 +143,6 @@
- [[_COMMUNITY_Community 366|Community 366]]
- [[_COMMUNITY_Community 367|Community 367]]
- [[_COMMUNITY_Community 368|Community 368]]
- [[_COMMUNITY_Community 369|Community 369]]
- [[_COMMUNITY_Community 370|Community 370]]
- [[_COMMUNITY_Community 371|Community 371]]
- [[_COMMUNITY_Community 372|Community 372]]
- [[_COMMUNITY_Community 373|Community 373]]
- [[_COMMUNITY_Community 374|Community 374]]
- [[_COMMUNITY_Community 375|Community 375]]
@@ -182,7 +178,7 @@
## Import Cycles
- None detected.
## Communities (380 total, 31 thin omitted)
## Communities (376 total, 30 thin omitted)
### Community 0 - "Community 0"
Cohesion: 0.05
@@ -209,8 +205,8 @@ Cohesion: 0.07
Nodes (23): AppointmentList(), ItemAppointment(), AboutDcotor(), ClaimProfileSection(), currentUserMobile(), initialForm, DetailDoctor(), Link() (+15 more)
### Community 6 - "Community 6"
Cohesion: 0.06
Nodes (17): Dashboard(), metadata, defineAbilitiesFor(), getUser(), formatToman(), rialToToman(), buildPatientUser(), safeJsonParse() (+9 more)
Cohesion: 0.12
Nodes (10): Dashboard(), metadata, defineAbilitiesFor(), getUser(), buildPatientUser(), safeJsonLd(), safeJsonParse(), getServerAccessToken() (+2 more)
### Community 8 - "Community 8"
Cohesion: 0.07
@@ -361,12 +357,12 @@ Cohesion: 0.14
Nodes (13): `hours/List.js`, آبجکت اسلات (از `adaptSlots` / API), تأیید و سخت‌سازی غیرفعال‌بودن اسلات‌های گذشته در صفحه‌ی نوبت, زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی (کد واقعی) (+5 more)
### Community 45 - "Community 45"
Cohesion: 0.25
Nodes (12): generateMetadata(), generateMetadata(), RootLayout(), imageUrl(), normalizeBlog(), getRequestOrigin(), safeJsonLd(), Blog() (+4 more)
Cohesion: 0.29
Nodes (6): generateMetadata(), imageUrl(), normalizeBlog(), ItemClinic(), Blog(), getBlog
### Community 46 - "Community 46"
Cohesion: 0.22
Nodes (6): Messages(), Message(), Head(), listTab, UserAccountPage(), NotfoundDashboard()
Cohesion: 0.09
Nodes (18): formatToman(), rialToToman(), Messages(), Message(), Paying(), Card(), PAYMENT_STATUS, TYPE_LABELS (+10 more)
### Community 47 - "Community 47"
Cohesion: 0.15
@@ -469,8 +465,8 @@ Cohesion: 0.22
Nodes (7): degree, Form(), gender, degree, Form(), gender, filterList()
### Community 72 - "Community 72"
Cohesion: 0.52
Nodes (6): generateMetadata(), buildCanonicalPath(), buildCanonicalUrl(), buildMainCanonicalUrl(), getCanonicalUrl(), normalizeHost()
Cohesion: 0.39
Nodes (8): generateMetadata(), RootLayout(), buildCanonicalPath(), buildCanonicalUrl(), buildMainCanonicalUrl(), getCanonicalUrl(), getRequestOrigin(), normalizeHost()
### Community 73 - "Community 73"
Cohesion: 0.32
@@ -485,8 +481,8 @@ Cohesion: 0.29
Nodes (7): Authentication & Authorization, Development Tools, Frontend Framework, State Management & Data Fetching, UI/UX, 🏗️ معماری و تکنولوژی, کتابخانه‌های تخصصی
### Community 76 - "Community 76"
Cohesion: 0.33
Nodes (5): HeadTab(), setNewData(), DetailUser(), Disease(), IsTurnsDetails()
Cohesion: 0.07
Nodes (20): Allergies(), ItemAllergie(), HeadTab(), setNewData(), DetailUser(), Disease(), FamilyHistory(), ItemHistory() (+12 more)
### Community 79 - "Community 79"
Cohesion: 0.17
@@ -536,6 +532,10 @@ Nodes (5): اسکریپت‌های موجود, راه‌اندازی با Docker
Cohesion: 0.40
Nodes (5): صفحات احراز هویت, صفحات رزرو نوبت, صفحات عمومی (Public), 📍 مسیرها و صفحات, پنل مدیریتی (Protected)
### Community 99 - "Community 99"
Cohesion: 0.11
Nodes (17): زمینه, فایل‌های مرتبط, فهرست محل‌ها وابسته به روز نیست, قرارداد API بعد از تغییر backend, مشکل / هدف, نمایش محل‌های نوبت‌دهی فقط بر اساس برنامهٔ همان روز, نکات مهم, وضعیت فعلی (+9 more)
### Community 102 - "Community 102"
Cohesion: 0.50
Nodes (3): compilerOptions, paths, @/*
@@ -569,28 +569,12 @@ Cohesion: 0.11
Nodes (17): P10 — بلاگ شهر-محور (C4), P11 — FAQPage schema و متن مقدمهٔ یکتا (M1 + M2), P1 — بررسی robots.txt (پیش‌نیاز اعتبارسنجی), P2 — هلپرهای مشترک (زیرساخت), P3 — رفع noindex سیستمیک صفحات لیست (C5 — بدترین باگ), P4 — استراتژی canonical سه‌دسته + تصمیم pagination (C1-a/b/c + M3-B), P5 — بازسازی sitemap (C2), P6 — صفحات موجودیت: Soft-404 و noindex کلینیک خالی (H4 + H7) (+9 more)
### Community 367 - "Community 367"
Cohesion: 0.19
Nodes (9): Card(), PAYMENT_STATUS, TYPE_LABELS, Head(), listTab, Transactions(), List(), PAYMENT_STATUS (+1 more)
Cohesion: 0.15
Nodes (5): clearAccessToken(), api, handleSessionExpired(), request, removeToken()
### Community 368 - "Community 368"
Cohesion: 0.40
Nodes (3): Allergies(), ItemAllergie(), ModalAddAlergie()
### Community 369 - "Community 369"
Cohesion: 0.40
Nodes (3): FamilyHistory(), ItemHistory(), ModalAddHistory()
### Community 370 - "Community 370"
Cohesion: 0.40
Nodes (3): Medications(), ItemMedication(), ModalAddMedications()
### Community 371 - "Community 371"
Cohesion: 0.40
Nodes (3): ModalAddRelatives(), Relatives(), ItemRelatives()
### Community 372 - "Community 372"
Cohesion: 0.40
Nodes (3): ModalAddSurgeries(), Surgeries(), ItemSurgeries()
Cohesion: 0.70
Nodes (4): generateMetadata(), Clinic(), computeClinicRating(), getClinic
### Community 373 - "Community 373"
Cohesion: 0.12
@@ -617,16 +601,16 @@ Cohesion: 0.60
Nodes (5): generateMetadata(), Doctor(), getBookingLocations, getDoctor, getDoctorAddresses
## Knowledge Gaps
- **779 isolated node(s):** `metadata`, `FILTER_KEYS`, `fallbackLabels`, `MaterialUISwitch`, `fixedIconData` (+774 more)
- **793 isolated node(s):** `metadata`, `FILTER_KEYS`, `fallbackLabels`, `MaterialUISwitch`, `fixedIconData` (+788 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **31 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **30 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 `imageUrl()` connect `Community 45` to `Community 0`, `Community 99`, `Community 4`, `Community 7`, `Community 81`, `Community 55`, `Community 56`, `Community 89`, `Community 378`?**
- **Why does `imageUrl()` connect `Community 45` to `Community 0`, `Community 4`, `Community 7`, `Community 368`, `Community 81`, `Community 55`, `Community 56`, `Community 89`, `Community 378`?**
_High betweenness centrality (0.037) - this node is a cross-community bridge._
- **Why does `getStateInfo()` connect `Community 29` to `Community 0`, `Community 67`, `Community 70`, `Community 6`, `Community 72`, `Community 45`, `Community 14`, `Community 16`, `Community 51`, `Community 86`, `Community 377`, `Community 378`?**
- **Why does `getStateInfo()` connect `Community 29` to `Community 0`, `Community 67`, `Community 70`, `Community 6`, `Community 72`, `Community 45`, `Community 14`, `Community 16`, `Community 368`, `Community 51`, `Community 86`, `Community 377`, `Community 378`?**
_High betweenness centrality (0.034) - this node is a cross-community bridge._
- **Why does `isRootCity()` connect `Community 51` to `Community 3`, `Community 29`?**
_High betweenness centrality (0.016) - this node is a cross-community bridge._
@@ -635,6 +619,6 @@ _Questions this graph is uniquely positioned to answer:_
- **Are the 14 inferred relationships involving `imageUrl()` (e.g. with `generateMetadata()` and `generateMetadata()`) actually correct?**
_`imageUrl()` has 14 INFERRED edges - model-reasoned connections that need verification._
- **What connects `metadata`, `FILTER_KEYS`, `fallbackLabels` to the rest of the system?**
_779 weakly-connected nodes found - possible documentation gaps or missing edges._
_793 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 0` be split into smaller, more focused modules?**
_Cohesion score 0.05263157894736842 - nodes in this community are weakly interconnected._
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+658 -308
View File
File diff suppressed because it is too large Load Diff
+25 -20
View File
@@ -420,8 +420,8 @@
"semantic_hash": ""
},
"app/doctor/[slug]/page.js": {
"mtime": 1784370103.1887627,
"ast_hash": "4752f0a3e050fd35f3e1088225766c69",
"mtime": 1784372994.657654,
"ast_hash": "b895af9c7f69b7ee5cfa72afb54157a8",
"semantic_hash": ""
},
"app/doctors/loading.js": {
@@ -515,8 +515,8 @@
"semantic_hash": ""
},
"components/appointment/Container.js": {
"mtime": 1784369779.2960467,
"ast_hash": "29460c9e42624811741df3b483583386",
"mtime": 1784372894.7871401,
"ast_hash": "8cb736f55e88a28042211b0a6035739f",
"semantic_hash": ""
},
"components/appointment/Content.js": {
@@ -540,8 +540,8 @@
"semantic_hash": ""
},
"components/appointment/date/index.js": {
"mtime": 1784369779.297043,
"ast_hash": "3c96a49098bbc757e706b531d83845a5",
"mtime": 1784372894.787585,
"ast_hash": "317bd538db236973c6e3cd99b9213457",
"semantic_hash": ""
},
"components/appointment/detail/Content.js": {
@@ -570,8 +570,8 @@
"semantic_hash": ""
},
"components/appointment/index.js": {
"mtime": 1784369779.2976522,
"ast_hash": "aea018b24d241f339bf3247052a5b2f5",
"mtime": 1784372880.5497036,
"ast_hash": "9e19a1e1b6ecb5f32b040fc6e5e65688",
"semantic_hash": ""
},
"components/appointment/information/Detail.js": {
@@ -1355,23 +1355,23 @@
"semantic_hash": ""
},
"components/doctor/detailDoctor/cards/locations/Item.js": {
"mtime": 1783788127.1120157,
"ast_hash": "cf27d72e54be4c35e6dde2cc4f1c7fd3",
"mtime": 1784373026.2506812,
"ast_hash": "9fd8a43ff7a43aa535c91d8ac0fe4461",
"semantic_hash": ""
},
"components/doctor/detailDoctor/cards/locations/index.js": {
"mtime": 1783788127.1132522,
"ast_hash": "d0134530e5e75587fec4457d2788e566",
"mtime": 1784373013.8020635,
"ast_hash": "56ff3e6bc1e054e97beb170432fc09dd",
"semantic_hash": ""
},
"components/doctor/detailDoctor/index.js": {
"mtime": 1783788127.1135013,
"ast_hash": "21992374035a388d324a58d27e76ab01",
"mtime": 1784373013.8019376,
"ast_hash": "8ac9b7256d5ced072351f10dc9fdfe67",
"semantic_hash": ""
},
"components/doctor/index.js": {
"mtime": 1783788127.114085,
"ast_hash": "3c0595e537e1da0d257206dfc4eaa713",
"mtime": 1784373003.075006,
"ast_hash": "5ac231f0d8d5d450450c548f8c4ef558",
"semantic_hash": ""
},
"components/doctor/poster/PosterLight.js": {
@@ -2710,8 +2710,8 @@
"semantic_hash": ""
},
"services/response.js": {
"mtime": 1784369779.29826,
"ast_hash": "744cbfa7c3681405620074abaaef748e",
"mtime": 1784372828.6166573,
"ast_hash": "def782ce4b119ca064b7fed204b04271",
"semantic_hash": ""
},
"services/services.test.js": {
@@ -3425,8 +3425,8 @@
"semantic_hash": ""
},
"components/appointment/location/LocationSelect.js": {
"mtime": 1784369779.3099773,
"ast_hash": "02a5c9fd087fea901d7023ba7e74e128",
"mtime": 1784372931.8799658,
"ast_hash": "bfe0f4f60c05554ca1b612656bb3b743",
"semantic_hash": ""
},
"components/appointment/service/index.js": {
@@ -3478,5 +3478,10 @@
"mtime": 1783788127.1179502,
"ast_hash": "7178f14684fde7f01a403ac8048156b0",
"semantic_hash": ""
},
".claude/prompt/booking-locations-day-aware.md": {
"mtime": 1784371536.5668268,
"ast_hash": "9ef9470308b23df8f93dae9b76d33d91",
"semantic_hash": ""
}
}