Skip to content

Commit d1c2ee4

Browse files
0xFANGOclaude
andcommitted
chore: 修复 graphify-out 格式漂移使 vp check 通过
三个 graphify 台账产物(GRAPH_REPORT.md/graph.html/graph.json)未过 oxfmt 格式检查, 导致 main CI 的 npx vp check 步骤 Formatting issues found 失败,并连带所有 PR 变红。 运行 vp fmt 修复格式;graph.json 经 JSON 语义比对确认内容零变化,仅重排版。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e0388f4 commit d1c2ee4

3 files changed

Lines changed: 33118 additions & 15335 deletions

File tree

graphify-out/GRAPH_REPORT.md

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1-
# Graph Report - listenhub-cli--436 (2026-07-16)
1+
# Graph Report - listenhub-cli--436 (2026-07-16)
22

33
## Corpus Check
4+
45
- 64 files · ~26,713 words
56
- Verdict: corpus is large enough that graph structure adds value.
67

78
## Summary
9+
810
- 443 nodes · 998 edges · 17 communities (16 shown, 1 thin omitted)
911
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 15 edges (avg confidence: 0.56)
1012
- Token cost: 0 input · 0 output
1113

1214
## Graph Freshness
15+
1316
- Built from commit: `6a8e4f44`
1417
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
1518
- Run `graphify update .` after code changes (no API cost).
1619

1720
## Community Hubs (Navigation)
21+
1822
- [[_COMMUNITY_output.ts|output.ts]]
1923
- [[_COMMUNITY__cli.ts|_cli.ts]]
2024
- [[_COMMUNITY_video.ts|video.ts]]
@@ -32,6 +36,7 @@
3236
- [[_COMMUNITY_client.test.ts|client.test.ts]]
3337

3438
## God Nodes (most connected - your core abstractions)
39+
3540
1. `printJson()` - 61 edges
3641
2. `printDetail()` - 39 edges
3742
3. `handleError()` - 25 edges
@@ -44,84 +49,102 @@
4449
10. `ListenHub CLI` - 12 edges
4550

4651
## Surprising Connections (you probably didn't know these)
47-
- `createImage()` --calls--> `printJson()` [EXTRACTED]
48-
source/openapi/image.ts → source/_shared/output.ts
49-
- `runSpeech()` --calls--> `printJson()` [EXTRACTED]
50-
source/openapi/tts.ts → source/_shared/output.ts
51-
- `printFlowSpeechDetail()` --calls--> `printDetail()` [EXTRACTED]
52-
source/openapi/flow-speech.ts → source/_shared/output.ts
53-
- `printPodcastDetail()` --calls--> `printDetail()` [EXTRACTED]
54-
source/openapi/podcast.ts → source/_shared/output.ts
55-
- `printStorybookDetail()` --calls--> `printDetail()` [EXTRACTED]
56-
source/openapi/storybook.ts → source/_shared/output.ts
52+
53+
- `createImage()` --calls--> `printJson()` [EXTRACTED]
54+
source/openapi/image.ts → source/\_shared/output.ts
55+
- `runSpeech()` --calls--> `printJson()` [EXTRACTED]
56+
source/openapi/tts.ts → source/\_shared/output.ts
57+
- `printFlowSpeechDetail()` --calls--> `printDetail()` [EXTRACTED]
58+
source/openapi/flow-speech.ts → source/\_shared/output.ts
59+
- `printPodcastDetail()` --calls--> `printDetail()` [EXTRACTED]
60+
source/openapi/podcast.ts → source/\_shared/output.ts
61+
- `printStorybookDetail()` --calls--> `printDetail()` [EXTRACTED]
62+
source/openapi/storybook.ts → source/\_shared/output.ts
5763

5864
## Import Cycles
65+
5966
- None detected.
6067

6168
## Communities (17 total, 1 thin omitted)
6269

6370
### Community 0 - "output.ts"
71+
6472
Cohesion: 0.08
6573
Nodes (54): program, register(), deleteCreations(), getCreation(), collect(), register(), createExplainer(), ExplainerCreateOptions (+46 more)
6674

67-
### Community 1 - "_cli.ts"
75+
### Community 1 - "\_cli.ts"
76+
6877
Cohesion: 0.05
6978
Nodes (55): getOpenAPIClient(), getOpenAPIOptions(), register(), runClear(), runSetKey(), runShow(), deleteOpenAPIConfig(), getConfigDir() (+47 more)
7079

7180
### Community 2 - "video.ts"
81+
7282
Cohesion: 0.06
7383
Nodes (53): collect(), getReferenceImages(), getReferenceVideos(), isHttpUrl(), OpenAPIEstimateVideoCreditsParamsWithMetadata, OpenAPIVideoGenerationParamsWithMetadata, pixVerseAgentTypes, pixVerseAspectRatios (+45 more)
7484

7585
### Community 3 - "printJson"
86+
7687
Cohesion: 0.13
7788
Nodes (40): allowedMusicExtensions, audioExtensions, createCover(), createExtend(), createGenerate(), createInstrumental(), createRemix(), createSoundtrack() (+32 more)
7889

7990
### Community 4 - "package.json"
91+
8092
Cohesion: 0.05
8193
Nodes (39): bin, listenhub, dependencies, commander, @marswave/listenhub-sdk, open, ora, description (+31 more)
8294

8395
### Community 5 - "ListenHub CLI"
96+
8497
Cohesion: 0.06
8598
Nodes (34): Flow Speech, ListenHub CLI, OAuth 命令, OAuth:音乐生成, OpenAPI Key 命令, OpenAPI:PixVerse 视频生成, OpenAPI:播客工作流(文本 → 音频), OpenAPI:视频生成 (+26 more)
8699

87100
### Community 6 - "ListenHub CLI"
101+
88102
Cohesion: 0.06
89103
Nodes (34): Auth, Common Options, Config, Content, Content Creation, Development, Examples, Flow Speech (+26 more)
90104

91105
### Community 7 - "tts.ts"
106+
92107
Cohesion: 0.15
93108
Nodes (15): collect(), createImage(), ImageCreateOptions, isUrl(), mimeTypes, register(), resolveReference(), formatBytes() (+7 more)
94109

95110
### Community 8 - "image-dimensions.ts"
111+
96112
Cohesion: 0.40
97113
Nodes (12): byte(), ImageDimensions, matches(), parseGif(), parseJpeg(), parsePng(), parseWebp(), readImageDimensions() (+4 more)
98114

99115
### Community 9 - "lyrics.ts"
116+
100117
Cohesion: 0.30
101118
Nodes (9): register(), createGenerate(), formatDateTime(), getTask(), listTasks(), LyricsGenerateOptions, LyricsListOptions, printLyricsDetail() (+1 more)
102119

103120
### Community 10 - "upload.ts"
121+
104122
Cohesion: 0.20
105123
Nodes (9): allowedExtensions(), audioExtensions, categoryForType, FileAcceptType, FileUploadClient, imageExtensions, maxSizeBytes, mimeTypes (+1 more)
106124

107-
### Community 11 - "_cli.ts"
125+
### Community 11 - "\_cli.ts"
126+
108127
Cohesion: 0.36
109128
Nodes (6): runLogin(), runLogout(), runStatus(), register(), CallbackResult, startCallbackServer()
110129

111130
### Community 12 - "ListenHub CLI"
131+
112132
Cohesion: 0.33
113133
Nodes (5): Build, Coding Guardrails, Key Patterns, ListenHub CLI, Structure
114134

115135
### Community 13 - "tsconfig.json"
136+
116137
Cohesion: 0.33
117138
Nodes (5): compilerOptions, rootDir, types, extends, include
118139

119140
## Knowledge Gaps
141+
120142
- **163 isolated node(s):** `name`, `version`, `description`, `license`, `type` (+158 more)
121143
These have ≤1 connection - possible missing edges or undocumented components.
122144
- **1 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
123145

124146
## Suggested Questions
147+
125148
_Questions this graph is uniquely positioned to answer:_
126149

127150
- **Why does `printJson()` connect `printJson` to `output.ts`, `_cli.ts`, `video.ts`, `tts.ts`, `lyrics.ts`?**
@@ -137,4 +160,4 @@ _Questions this graph is uniquely positioned to answer:_
137160
- **Should `_cli.ts` be split into smaller, more focused modules?**
138161
_Cohesion score 0.05146242132543503 - nodes in this community are weakly interconnected._
139162
- **Should `video.ts` be split into smaller, more focused modules?**
140-
_Cohesion score 0.060814383923849816 - nodes in this community are weakly interconnected._
163+
_Cohesion score 0.060814383923849816 - nodes in this community are weakly interconnected._

graphify-out/graph.html

Lines changed: 18043 additions & 283 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)