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
+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._