@noyrax/documentation-system-plugin 1.0.4-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/.vscodeignore +41 -0
  2. package/LICENSE +21 -0
  3. package/MCP_SERVER_SETUP.md +371 -0
  4. package/README.md +663 -0
  5. package/assets/icon.svg +27 -0
  6. package/docs/LINKEDIN_ANTWORT_SEQUENZDIAGRAMME.md +190 -0
  7. package/docs/SEQUENZDIAGRAMM_BEWEIS.md +469 -0
  8. package/docs/SEQUENZDIAGRAMM_VALIDATE_FLOW.md +282 -0
  9. package/docs/adr/001-signatur-abweichung-fix.md +54 -0
  10. package/docs/adr/002-file-specific-validation-1.0.1.md +45 -0
  11. package/docs/adr/003-documentation-generation-bugs.md +134 -0
  12. package/docs/adr/004-validator-signature-matching-fix.md +121 -0
  13. package/docs/adr/005-validator-generic-simplification-tightening.md +35 -0
  14. package/docs/adr/006-parser-variable-type-extraction.md +33 -0
  15. package/docs/adr/007-ts-parser-load-libs-for-accurate-types.md +31 -0
  16. package/docs/adr/008-dependencies-cache-phase1.md +133 -0
  17. package/docs/adr/009-consolidation-union-logic-phase1-2.md +147 -0
  18. package/docs/adr/010-extension-union-integration-phase1-3-and-phase2.md +179 -0
  19. package/docs/adr/011-module-doc-change-tracking-phase3.md +190 -0
  20. package/docs/adr/012-git-deletions-change-report-phase4.md +235 -0
  21. package/docs/adr/013-system-functionality-fixes.md +279 -0
  22. package/docs/adr/014-rules-migration-und-mcp-integration.md +113 -0
  23. package/docs/adr/015-global-agent-package.md +158 -0
  24. package/docs/adr/016-produktisierung-docguard.md +193 -0
  25. package/docs/adr/017-signature-matching-optional-fields.md +128 -0
  26. package/docs/adr/018-rebranding-docguard-to-noyrax.md +109 -0
  27. package/docs/adr/019-system-schwachstellen-analyse-und-fixes.md +204 -0
  28. package/docs/adr/020-api-doc-tiefe-und-signatureformatter.md +74 -0
  29. package/docs/adr/021-semantic-api-docs-and-symbol-classifier.md +125 -0
  30. package/docs/adr/022-semantic-class-and-constants-rendering.md +82 -0
  31. package/docs/adr/023-adr-verknuepfung-modul-doku.md +54 -0
  32. package/docs/adr/024-cursor-rules-mehrdimensionaler-raum.md +230 -0
  33. package/docs/adr/025-mcp-tools-scan-validate-cli-bridge.md +202 -0
  34. package/docs/adr/026-reality-driven-development-system.md +173 -0
  35. package/docs/adr/027-scanner-excludes-and-union-logic-fix.md +189 -0
  36. package/docs/adr/028-src-coverage-union-resync.md +124 -0
  37. package/docs/adr/029-parser-flow-kopplung-und-sync-drift-modi.md +102 -0
  38. package/docs/adr/030-dependency-import-symbol-names-preservation.md +123 -0
  39. package/docs/adr/031-generate-cli-vollstaendige-dokumentation.md +99 -0
  40. package/docs/adr/032-windows-optimized-verification-scripts.md +165 -0
  41. package/docs/adr/036-enhanced-dependency-metadata.md +190 -0
  42. package/docs/adr/TEMPLATE.md +76 -0
  43. package/docs/index/symbols.jsonl +31 -0
  44. package/docs/modules/action__action.yml.md +50 -0
  45. package/docs/modules/documentation.config.schema.json.md +37 -0
  46. package/docs/modules/mcp__package.json.md +130 -0
  47. package/docs/modules/mcp__src__resources__docs.ts.md +94 -0
  48. package/docs/modules/mcp__src__server.ts.md +15 -0
  49. package/docs/modules/mcp__src__tools__drift.ts.md +110 -0
  50. package/docs/modules/mcp__src__tools__impact.ts.md +127 -0
  51. package/docs/modules/mcp__src__tools__scan.ts.md +75 -0
  52. package/docs/modules/mcp__src__tools__validate.ts.md +116 -0
  53. package/docs/modules/mcp__src__tools__verify-adrs.ts.md +106 -0
  54. package/docs/modules/mcp__tsconfig.json.md +22 -0
  55. package/docs/modules/package.json.md +131 -0
  56. package/docs/modules/packages__doc-system-agent__examples__basic-project__package.json.md +43 -0
  57. package/docs/modules/packages__doc-system-agent__examples__basic-project__src__calculator.ts.md +81 -0
  58. package/docs/modules/packages__doc-system-agent__package.json.md +154 -0
  59. package/docs/modules/packages__doc-system-agent__src__cli__index.ts.md +8 -0
  60. package/docs/modules/packages__doc-system-agent__src__cli__init.ts.md +93 -0
  61. package/docs/modules/packages__doc-system-agent__src__cli__update.ts.md +113 -0
  62. package/docs/modules/packages__doc-system-agent__src__constants.ts.md +29 -0
  63. package/docs/modules/packages__doc-system-agent__src__index.ts.md +234 -0
  64. package/docs/modules/packages__doc-system-agent__src__mcp__resources__docs.ts.md +94 -0
  65. package/docs/modules/packages__doc-system-agent__src__mcp__server.ts.md +17 -0
  66. package/docs/modules/packages__doc-system-agent__src__mcp__tools__drift.ts.md +38 -0
  67. package/docs/modules/packages__doc-system-agent__src__mcp__tools__impact.ts.md +75 -0
  68. package/docs/modules/packages__doc-system-agent__src__mcp__tools__scan.ts.md +23 -0
  69. package/docs/modules/packages__doc-system-agent__src__mcp__tools__validate.ts.md +23 -0
  70. package/docs/modules/packages__doc-system-agent__src__mcp__tools__verify-adrs.ts.md +106 -0
  71. package/docs/modules/packages__doc-system-agent__src__mcp__types.ts.md +355 -0
  72. package/docs/modules/packages__doc-system-agent__tsconfig.json.md +22 -0
  73. package/docs/modules/scripts__verify-adrs.js.md +97 -0
  74. package/docs/modules/scripts__verify-architecture.js.md +93 -0
  75. package/docs/modules/scripts__verify-imports.js.md +114 -0
  76. package/docs/modules/src____tests____setup.ts.md +8 -0
  77. package/docs/modules/src____tests____signature-formatter.test.ts.md +16 -0
  78. package/docs/modules/src____tests____snapshot-doc-generation.test.ts.md +8 -0
  79. package/docs/modules/src____tests____symbol-classifier.test.ts.md +16 -0
  80. package/docs/modules/src__cache__ast-cache.ts.md +91 -0
  81. package/docs/modules/src__cache__dependencies-cache.ts.md +89 -0
  82. package/docs/modules/src__cache__output-cache.ts.md +91 -0
  83. package/docs/modules/src__cache__signature-cache.ts.md +76 -0
  84. package/docs/modules/src__cli__generate-cli.ts.md +130 -0
  85. package/docs/modules/src__cli__scan-cli.ts.md +99 -0
  86. package/docs/modules/src__cli__validate-cli.ts.md +144 -0
  87. package/docs/modules/src__core__async.ts.md +18 -0
  88. package/docs/modules/src__core__consolidation.ts.md +158 -0
  89. package/docs/modules/src__core__git.ts.md +35 -0
  90. package/docs/modules/src__core__language-detection.ts.md +31 -0
  91. package/docs/modules/src__core__scanner.ts.md +101 -0
  92. package/docs/modules/src__core__signature-formatter.ts.md +232 -0
  93. package/docs/modules/src__core__symbol-classifier.ts.md +178 -0
  94. package/docs/modules/src__core__symbols.ts.md +31 -0
  95. package/docs/modules/src__drift__index.ts.md +53 -0
  96. package/docs/modules/src__extension.ts.md +418 -0
  97. package/docs/modules/src__generator__adr-linker.ts.md +154 -0
  98. package/docs/modules/src__generator__change-report.ts.md +85 -0
  99. package/docs/modules/src__generator__dependency-graph.ts.md +63 -0
  100. package/docs/modules/src__generator__index.ts.md +40 -0
  101. package/docs/modules/src__generator__module-doc.ts.md +242 -0
  102. package/docs/modules/src__index__index.ts.md +141 -0
  103. package/docs/modules/src__logging__index.ts.md +87 -0
  104. package/docs/modules/src__parsers__dependencies.ts.md +69 -0
  105. package/docs/modules/src__parsers__json-yaml.ts.md +81 -0
  106. package/docs/modules/src__parsers__python.ts.md +73 -0
  107. package/docs/modules/src__parsers__ts-js.ts.md +48 -0
  108. package/docs/modules/src__parsers__types.ts.md +99 -0
  109. package/docs/modules/src__ui__commands-provider.ts.md +70 -0
  110. package/docs/modules/src__ui__status-bar.ts.md +79 -0
  111. package/docs/modules/src__validator__index.ts.md +211 -0
  112. package/docs/modules/src__validator__signature-matching.ts.md +209 -0
  113. package/docs/modules/src__validator__status.ts.md +72 -0
  114. package/docs/modules/test-mcp-resources.js.md +27 -0
  115. package/docs/modules/tsconfig.json.md +22 -0
  116. package/docs/system/CHANGE_REPORT.md +19 -0
  117. package/docs/system/DEPENDENCIES.md +430 -0
  118. package/docs/system/DEPENDENCY_GRAPH.md +368 -0
  119. package/docs/system/NAVIGATION_SPACE_ANALYSIS.md +244 -0
  120. package/docs/system/NPX_CACHE_FIX.md +85 -0
  121. package/docs/system/NPX_LOCAL_USAGE.md +66 -0
  122. package/docs/system/PLUGIN_ECOSYSTEM_STATUS.md +465 -0
  123. package/docs/system/PLUGIN_UPDATE_GUIDE.md +212 -0
  124. package/docs/system/RULES_UPDATE_GUIDE.md +182 -0
  125. package/docs/system/SYSTEM_ANALYSIS.md +947 -0
  126. package/documentation.config.schema.json +77 -0
  127. package/noyrax-5d-database-plugin-0.1.8.tgz +0 -0
  128. package/out/cache/ast-cache.js +69 -0
  129. package/out/cache/ast-cache.js.map +1 -0
  130. package/out/cache/dependencies-cache.js +73 -0
  131. package/out/cache/dependencies-cache.js.map +1 -0
  132. package/out/cache/output-cache.js +69 -0
  133. package/out/cache/output-cache.js.map +1 -0
  134. package/out/cache/signature-cache.js +60 -0
  135. package/out/cache/signature-cache.js.map +1 -0
  136. package/out/cli/generate-cli.js +330 -0
  137. package/out/cli/generate-cli.js.map +1 -0
  138. package/out/cli/scan-cli.js +151 -0
  139. package/out/cli/scan-cli.js.map +1 -0
  140. package/out/cli/validate-cli.js +258 -0
  141. package/out/cli/validate-cli.js.map +1 -0
  142. package/out/core/async.js +38 -0
  143. package/out/core/async.js.map +1 -0
  144. package/out/core/consolidation.js +230 -0
  145. package/out/core/consolidation.js.map +1 -0
  146. package/out/core/git.js +48 -0
  147. package/out/core/git.js.map +1 -0
  148. package/out/core/language-detection.js +29 -0
  149. package/out/core/language-detection.js.map +1 -0
  150. package/out/core/scanner.js +179 -0
  151. package/out/core/scanner.js.map +1 -0
  152. package/out/core/signature-formatter.js +162 -0
  153. package/out/core/signature-formatter.js.map +1 -0
  154. package/out/core/symbol-classifier.js +96 -0
  155. package/out/core/symbol-classifier.js.map +1 -0
  156. package/out/core/symbols.js +24 -0
  157. package/out/core/symbols.js.map +1 -0
  158. package/out/drift/index.js +28 -0
  159. package/out/drift/index.js.map +1 -0
  160. package/out/extension.js +984 -0
  161. package/out/extension.js.map +1 -0
  162. package/out/generator/adr-linker.js +216 -0
  163. package/out/generator/adr-linker.js.map +1 -0
  164. package/out/generator/change-report.js +124 -0
  165. package/out/generator/change-report.js.map +1 -0
  166. package/out/generator/dependency-graph.js +98 -0
  167. package/out/generator/dependency-graph.js.map +1 -0
  168. package/out/generator/index.js +117 -0
  169. package/out/generator/index.js.map +1 -0
  170. package/out/generator/module-doc.js +438 -0
  171. package/out/generator/module-doc.js.map +1 -0
  172. package/out/index/index.js +147 -0
  173. package/out/index/index.js.map +1 -0
  174. package/out/logging/index.js +24 -0
  175. package/out/logging/index.js.map +1 -0
  176. package/out/parsers/dependencies.js +126 -0
  177. package/out/parsers/dependencies.js.map +1 -0
  178. package/out/parsers/json-yaml.js +90 -0
  179. package/out/parsers/json-yaml.js.map +1 -0
  180. package/out/parsers/python.js +160 -0
  181. package/out/parsers/python.js.map +1 -0
  182. package/out/parsers/ts-js.js +397 -0
  183. package/out/parsers/ts-js.js.map +1 -0
  184. package/out/parsers/types.js +3 -0
  185. package/out/parsers/types.js.map +1 -0
  186. package/out/ui/commands-provider.js +91 -0
  187. package/out/ui/commands-provider.js.map +1 -0
  188. package/out/ui/status-bar.js +85 -0
  189. package/out/ui/status-bar.js.map +1 -0
  190. package/out/validator/index.js +185 -0
  191. package/out/validator/index.js.map +1 -0
  192. package/out/validator/signature-matching.js +261 -0
  193. package/out/validator/signature-matching.js.map +1 -0
  194. package/out/validator/status.js +38 -0
  195. package/out/validator/status.js.map +1 -0
  196. package/package.json +306 -0
  197. package/publish.ps1 +21 -0
  198. package/scripts/verify-adrs.js +312 -0
  199. package/scripts/verify-architecture.js +181 -0
  200. package/scripts/verify-imports.js +274 -0
@@ -0,0 +1,63 @@
1
+ # Modul: src/generator/dependency-graph.ts
2
+
3
+ ### function: appendDependencySection
4
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
5
+ Signatur: `appendDependencySection(lines: string[], title: string, deps: ModuleDependency[]): void`
6
+ ```ts
7
+ appendDependencySection(lines: string[], title: string, deps: ModuleDependency[]): void
8
+ ```
9
+
10
+ Parameter:
11
+
12
+ | Name | Typ | Optional | Default |
13
+ |------|-----|----------|---------|
14
+ | `deps` | `ModuleDependency[]` | nein | nein |
15
+ | `lines` | `string[]` | nein | nein |
16
+ | `title` | `string` | nein | nein |
17
+
18
+ Rückgabewert: `void`
19
+
20
+ ### function: generateDependencyOverview
21
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
22
+ Signatur: `generateDependencyOverview(dependencies: ModuleDependency[]): string`
23
+ ```ts
24
+ generateDependencyOverview(dependencies: ModuleDependency[]): string
25
+ ```
26
+
27
+ Parameter:
28
+
29
+ | Name | Typ | Optional | Default |
30
+ |------|-----|----------|---------|
31
+ | `dependencies` | `ModuleDependency[]` | nein | nein |
32
+
33
+ Rückgabewert: `string`
34
+
35
+ ### function: generateMermaidGraph
36
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
37
+ Signatur: `generateMermaidGraph(dependencies: ModuleDependency[]): string`
38
+ ```ts
39
+ generateMermaidGraph(dependencies: ModuleDependency[]): string
40
+ ```
41
+
42
+ Parameter:
43
+
44
+ | Name | Typ | Optional | Default |
45
+ |------|-----|----------|---------|
46
+ | `dependencies` | `ModuleDependency[]` | nein | nein |
47
+
48
+ Rückgabewert: `string`
49
+
50
+ ### function: groupDependenciesByFrom
51
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
52
+ Signatur: `groupDependenciesByFrom(dependencies: ModuleDependency[]): Map<string, ModuleDependency[]>`
53
+ ```ts
54
+ groupDependenciesByFrom(dependencies: ModuleDependency[]): Map<string, ModuleDependency[]>
55
+ ```
56
+
57
+ Parameter:
58
+
59
+ | Name | Typ | Optional | Default |
60
+ |------|-----|----------|---------|
61
+ | `dependencies` | `ModuleDependency[]` | nein | nein |
62
+
63
+ Rückgabewert: `Map<string, ModuleDependency[]>`
@@ -0,0 +1,40 @@
1
+ # Modul: src/generator/index.ts
2
+
3
+ ## Relevante ADRs
4
+
5
+ - [ADR-003: Kritische Probleme in der generierten Dokumentation](../adr/003-documentation-generation-bugs.md)
6
+ - [ADR-011: module-doc-change-tracking-phase3](../adr/011-module-doc-change-tracking-phase3.md)
7
+ - [ADR-012: git-deletions-change-report-phase4](../adr/012-git-deletions-change-report-phase4.md)
8
+ - [ADR-023: ADR-Verknüpfung mit Modul-Dokumentation](../adr/023-adr-verknuepfung-modul-doku.md)
9
+
10
+ ### function: generatePerFileDocs
11
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
12
+ Signatur: `generatePerFileDocs(symbols: ParsedSymbol[], modulesDir: string, existingDocs: Map<string, string>): Map<string, string>`
13
+ ```ts
14
+ generatePerFileDocs(symbols: ParsedSymbol[], modulesDir: string, existingDocs: Map<string, string>): Map<string, string>
15
+ ```
16
+
17
+ Parameter:
18
+
19
+ | Name | Typ | Optional | Default |
20
+ |------|-----|----------|---------|
21
+ | `existingDocs` | `Map<string, string>` | nein | nein |
22
+ | `modulesDir` | `string` | nein | nein |
23
+ | `symbols` | `ParsedSymbol[]` | nein | nein |
24
+
25
+ Rückgabewert: `Map<string, string>`
26
+
27
+ ### function: makeSafeFileName
28
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
29
+ Signatur: `makeSafeFileName(filePath: string): string`
30
+ ```ts
31
+ makeSafeFileName(filePath: string): string
32
+ ```
33
+
34
+ Parameter:
35
+
36
+ | Name | Typ | Optional | Default |
37
+ |------|-----|----------|---------|
38
+ | `filePath` | `string` | nein | nein |
39
+
40
+ Rückgabewert: `string`
@@ -0,0 +1,242 @@
1
+ # Modul: src/generator/module-doc.ts
2
+
3
+ ## Relevante ADRs
4
+
5
+ - [ADR-011: module-doc-change-tracking-phase3](../adr/011-module-doc-change-tracking-phase3.md)
6
+ - [ADR-019: System-Schwachstellen-Analyse und proaktive Fixes](../adr/019-system-schwachstellen-analyse-und-fixes.md)
7
+ - [ADR-020: API-Doku-Tiefe & zentrale Signatur-Formatierung](../adr/020-api-doc-tiefe-und-signatureformatter.md)
8
+ - [ADR-021: Semantische API-Doku-Tiefe & SymbolClassifier](../adr/021-semantic-api-docs-and-symbol-classifier.md)
9
+ - [ADR-022: semantic-class-and-constants-rendering](../adr/022-semantic-class-and-constants-rendering.md)
10
+ - [ADR-023: ADR-Verknüpfung mit Modul-Dokumentation](../adr/023-adr-verknuepfung-modul-doku.md)
11
+
12
+ <!-- change: symbol-added name="isTrivialNormalizedSignature" kind="function" -->
13
+ ### interface: ModuleDoc
14
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
15
+ Signatur: `interface ModuleDoc {
16
+ blocks: ModuleDocBlock[];
17
+ }`
18
+ ```ts
19
+ interface ModuleDoc {
20
+ blocks: ModuleDocBlock[];
21
+ }
22
+ ```
23
+
24
+ Eigenschaften:
25
+
26
+ | Name | Typ | Optional |
27
+ |------|-----|----------|
28
+ | `blocks` | `ModuleDocBlock[]` | nein |
29
+
30
+ <!-- change: symbol-added name="normalizeSignature" kind="function" -->
31
+ ### interface: ModuleDocBlock
32
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
33
+ Signatur: `interface ModuleDocBlock {
34
+ comment: string;
35
+ symbol: ParsedSymbol;
36
+ }`
37
+ ```ts
38
+ interface ModuleDocBlock {
39
+ comment: string;
40
+ symbol: ParsedSymbol;
41
+ }
42
+ ```
43
+
44
+ Eigenschaften:
45
+
46
+ | Name | Typ | Optional |
47
+ |------|-----|----------|
48
+ | `comment` | `string` | nein |
49
+ | `symbol` | `ParsedSymbol` | nein |
50
+
51
+ <!-- change: symbol-added name="parseModuleDoc" kind="function" -->
52
+ ### interface: ParsedBlock
53
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
54
+ Signatur: `interface ParsedBlock {
55
+ fullyQualifiedName: string;
56
+ kind: ParsedSymbol['kind'];
57
+ signature: SymbolSignature;
58
+ comment: string;
59
+ symbol: ParsedSymbol;
60
+ }`
61
+ ```ts
62
+ interface ParsedBlock {
63
+ fullyQualifiedName: string;
64
+ kind: ParsedSymbol['kind'];
65
+ signature: SymbolSignature;
66
+ comment: string;
67
+ symbol: ParsedSymbol;
68
+ }
69
+ ```
70
+
71
+ Eigenschaften:
72
+
73
+ | Name | Typ | Optional |
74
+ |------|-----|----------|
75
+ | `comment` | `string` | nein |
76
+ | `fullyQualifiedName` | `string` | nein |
77
+ | `kind` | `ParsedSymbol['kind']` | nein |
78
+ | `signature` | `SymbolSignature` | nein |
79
+ | `symbol` | `ParsedSymbol` | nein |
80
+
81
+ <!-- change: symbol-added name="parseSignatureFromCode" kind="function" -->
82
+ ### interface: ParsedModuleDoc
83
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
84
+ Signatur: `interface ParsedModuleDoc {
85
+ blocks: ParsedBlock[];
86
+ }`
87
+ ```ts
88
+ interface ParsedModuleDoc {
89
+ blocks: ParsedBlock[];
90
+ }
91
+ ```
92
+
93
+ Eigenschaften:
94
+
95
+ | Name | Typ | Optional |
96
+ |------|-----|----------|
97
+ | `blocks` | `ParsedBlock[]` | nein |
98
+
99
+ <!-- change: symbol-added name="renderModuleDoc" kind="function" -->
100
+ ### function: buildModuleDocWithChanges
101
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
102
+ Signatur: `buildModuleDocWithChanges(symbols: ParsedSymbol[], existingDoc: ParsedModuleDoc): ModuleDoc`
103
+ ```ts
104
+ buildModuleDocWithChanges(symbols: ParsedSymbol[], existingDoc: ParsedModuleDoc): ModuleDoc
105
+ ```
106
+
107
+ Parameter:
108
+
109
+ | Name | Typ | Optional | Default |
110
+ |------|-----|----------|---------|
111
+ | `existingDoc` | `ParsedModuleDoc` | nein | nein |
112
+ | `symbols` | `ParsedSymbol[]` | nein | nein |
113
+
114
+ Rückgabewert: `ModuleDoc`
115
+
116
+ <!-- change: symbol-added name="signatureChanged" kind="function" -->
117
+ ### function: compareBlocks
118
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
119
+ Signatur: `compareBlocks(a: ModuleDocBlock, b: ModuleDocBlock): number`
120
+ ```ts
121
+ compareBlocks(a: ModuleDocBlock, b: ModuleDocBlock): number
122
+ ```
123
+
124
+ Parameter:
125
+
126
+ | Name | Typ | Optional | Default |
127
+ |------|-----|----------|---------|
128
+ | `a` | `ModuleDocBlock` | nein | nein |
129
+ | `b` | `ModuleDocBlock` | nein | nein |
130
+
131
+ Rückgabewert: `number`
132
+
133
+ <!-- change: symbol-added name="isFormatterMigration" kind="function" -->
134
+ ### function: isTrivialNormalizedSignature
135
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
136
+ Signatur: `isTrivialNormalizedSignature(sig: string): boolean`
137
+ ```ts
138
+ isTrivialNormalizedSignature(sig: string): boolean
139
+ ```
140
+
141
+ Parameter:
142
+
143
+ | Name | Typ | Optional | Default |
144
+ |------|-----|----------|---------|
145
+ | `sig` | `string` | nein | nein |
146
+
147
+ Rückgabewert: `boolean`
148
+
149
+ ### function: normalizeSignature
150
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
151
+ Signatur: `normalizeSignature(sig: SymbolSignature): string`
152
+ ```ts
153
+ normalizeSignature(sig: SymbolSignature): string
154
+ ```
155
+
156
+ Parameter:
157
+
158
+ | Name | Typ | Optional | Default |
159
+ |------|-----|----------|---------|
160
+ | `sig` | `SymbolSignature` | nein | nein |
161
+
162
+ Rückgabewert: `string`
163
+
164
+ ### function: parseModuleDoc
165
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
166
+ Signatur: `parseModuleDoc(content: string): ParsedModuleDoc`
167
+ ```ts
168
+ parseModuleDoc(content: string): ParsedModuleDoc
169
+ ```
170
+
171
+ Parameter:
172
+
173
+ | Name | Typ | Optional | Default |
174
+ |------|-----|----------|---------|
175
+ | `content` | `string` | nein | nein |
176
+
177
+ Rückgabewert: `ParsedModuleDoc`
178
+
179
+ ### function: parseSignatureFromCode
180
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
181
+ Signatur: `parseSignatureFromCode(code: string, kind: ParsedSymbol['kind']): SymbolSignature`
182
+ ```ts
183
+ parseSignatureFromCode(code: string, kind: ParsedSymbol['kind']): SymbolSignature
184
+ ```
185
+
186
+ Parameter:
187
+
188
+ | Name | Typ | Optional | Default |
189
+ |------|-----|----------|---------|
190
+ | `code` | `string` | nein | nein |
191
+ | `kind` | `ParsedSymbol['kind']` | nein | nein |
192
+
193
+ Rückgabewert: `SymbolSignature`
194
+
195
+ ### function: renderModuleDoc
196
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
197
+ Signatur: `renderModuleDoc(doc: ModuleDoc, filePath: string, adrLinker: AdrLinker): string`
198
+ ```ts
199
+ renderModuleDoc(doc: ModuleDoc, filePath: string, adrLinker: AdrLinker): string
200
+ ```
201
+
202
+ Parameter:
203
+
204
+ | Name | Typ | Optional | Default |
205
+ |------|-----|----------|---------|
206
+ | `adrLinker` | `AdrLinker` | nein | nein |
207
+ | `doc` | `ModuleDoc` | nein | nein |
208
+ | `filePath` | `string` | nein | nein |
209
+
210
+ Rückgabewert: `string`
211
+
212
+ ### function: signatureChanged
213
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
214
+ Signatur: `signatureChanged(a: ParsedSymbol, b: ParsedSymbol): boolean`
215
+ ```ts
216
+ signatureChanged(a: ParsedSymbol, b: ParsedSymbol): boolean
217
+ ```
218
+
219
+ Parameter:
220
+
221
+ | Name | Typ | Optional | Default |
222
+ |------|-----|----------|---------|
223
+ | `a` | `ParsedSymbol` | nein | nein |
224
+ | `b` | `ParsedSymbol` | nein | nein |
225
+
226
+ Rückgabewert: `boolean`
227
+
228
+ ### function: isFormatterMigration
229
+ Rolle: infra (Sichtbarkeit: public, Priorität: low)
230
+ Signatur: `isFormatterMigration(oldSig: string, newSig: string): boolean`
231
+ ```ts
232
+ isFormatterMigration(oldSig: string, newSig: string): boolean
233
+ ```
234
+
235
+ Parameter:
236
+
237
+ | Name | Typ | Optional | Default |
238
+ |------|-----|----------|---------|
239
+ | `newSig` | `string` | nein | nein |
240
+ | `oldSig` | `string` | nein | nein |
241
+
242
+ Rückgabewert: `boolean`
@@ -0,0 +1,141 @@
1
+ # Modul: src/index/index.ts
2
+
3
+ ## Relevante ADRs
4
+
5
+ - [ADR-029: Parser-Flow-Kopplung und Sync/Drift-Modi für die Validierung](../adr/029-parser-flow-kopplung-und-sync-drift-modi.md)
6
+ - [ADR-030: Dependency Import Symbol Names Preservation (Index JSONL)](../adr/030-dependency-import-symbol-names-preservation.md)
7
+ - [ADR-036: Enhanced Dependency Metadata (Aliasing, Type-Only, Re-Exports)](../adr/036-enhanced-dependency-metadata.md)
8
+
9
+ ### interface: DependencyAccumulator
10
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
11
+ Signatur: `interface DependencyAccumulator {
12
+ module: string;
13
+ symbols: string[];
14
+ isTypeOnly: boolean;
15
+ isReexport: boolean;
16
+ }`
17
+ ```ts
18
+ interface DependencyAccumulator {
19
+ module: string;
20
+ symbols: string[];
21
+ isTypeOnly: boolean;
22
+ isReexport: boolean;
23
+ }
24
+ ```
25
+
26
+ Eigenschaften:
27
+
28
+ | Name | Typ | Optional |
29
+ |------|-----|----------|
30
+ | `isReexport` | `boolean` | nein |
31
+ | `isTypeOnly` | `boolean` | nein |
32
+ | `module` | `string` | nein |
33
+ | `symbols` | `string[]` | nein |
34
+
35
+ ### interface: DependencyEntry
36
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
37
+ Signatur: `interface DependencyEntry {
38
+ module: string;
39
+ symbols?: string[];
40
+ isTypeOnly?: boolean;
41
+ isReexport?: boolean;
42
+ }`
43
+ ```ts
44
+ interface DependencyEntry {
45
+ module: string;
46
+ symbols?: string[];
47
+ isTypeOnly?: boolean;
48
+ isReexport?: boolean;
49
+ }
50
+ ```
51
+
52
+ Eigenschaften:
53
+
54
+ | Name | Typ | Optional |
55
+ |------|-----|----------|
56
+ | `isReexport` | `boolean` | ja |
57
+ | `isTypeOnly` | `boolean` | ja |
58
+ | `module` | `string` | nein |
59
+ | `symbols` | `string[]` | ja |
60
+
61
+ ### interface: IndexRow
62
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
63
+ Signatur: `interface IndexRow {
64
+ symbol_id: string;
65
+ path: string;
66
+ kind: string;
67
+ name: string;
68
+ signature?: SymbolSignature;
69
+ summary?: string;
70
+ dependencies?: string[] | DependencyEntry[];
71
+ }`
72
+ ```ts
73
+ interface IndexRow {
74
+ symbol_id: string;
75
+ path: string;
76
+ kind: string;
77
+ name: string;
78
+ signature?: SymbolSignature;
79
+ summary?: string;
80
+ dependencies?: string[] | DependencyEntry[];
81
+ }
82
+ ```
83
+
84
+ Eigenschaften:
85
+
86
+ | Name | Typ | Optional |
87
+ |------|-----|----------|
88
+ | `dependencies` | `string[] | DependencyEntry[]` | ja |
89
+ | `kind` | `string` | nein |
90
+ | `name` | `string` | nein |
91
+ | `path` | `string` | nein |
92
+ | `signature` | `SymbolSignature` | ja |
93
+ | `summary` | `string` | ja |
94
+ | `symbol_id` | `string` | nein |
95
+
96
+ ### function: buildIndexFromSymbols
97
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
98
+ Signatur: `buildIndexFromSymbols(symbols: ParsedSymbol[], dependencies: DependencyCacheEntry[] = …): IndexRow[]`
99
+ ```ts
100
+ buildIndexFromSymbols(symbols: ParsedSymbol[], dependencies: DependencyCacheEntry[] = …): IndexRow[]
101
+ ```
102
+
103
+ Parameter:
104
+
105
+ | Name | Typ | Optional | Default |
106
+ |------|-----|----------|---------|
107
+ | `dependencies` | `DependencyCacheEntry[]` | nein | ja |
108
+ | `symbols` | `ParsedSymbol[]` | nein | nein |
109
+
110
+ Rückgabewert: `IndexRow[]`
111
+
112
+ ### function: readSymbolsFromIndex
113
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
114
+ Signatur: `readSymbolsFromIndex(indexFile: string): ParsedSymbol[]`
115
+ ```ts
116
+ readSymbolsFromIndex(indexFile: string): ParsedSymbol[]
117
+ ```
118
+
119
+ Parameter:
120
+
121
+ | Name | Typ | Optional | Default |
122
+ |------|-----|----------|---------|
123
+ | `indexFile` | `string` | nein | nein |
124
+
125
+ Rückgabewert: `ParsedSymbol[]`
126
+
127
+ ### function: writeJsonlIndex
128
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
129
+ Signatur: `writeJsonlIndex(rows: IndexRow[], outFile: string): void`
130
+ ```ts
131
+ writeJsonlIndex(rows: IndexRow[], outFile: string): void
132
+ ```
133
+
134
+ Parameter:
135
+
136
+ | Name | Typ | Optional | Default |
137
+ |------|-----|----------|---------|
138
+ | `outFile` | `string` | nein | nein |
139
+ | `rows` | `IndexRow[]` | nein | nein |
140
+
141
+ Rückgabewert: `void`
@@ -0,0 +1,87 @@
1
+ # Modul: src/logging/index.ts
2
+
3
+ ### class: Logger
4
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
5
+ Signatur: `class Logger`
6
+ ```ts
7
+ class Logger
8
+ ```
9
+
10
+ Diese Klasse bündelt 3 Methoden. Die detaillierten Signaturen sind in den nachfolgenden `method:`-Abschnitten dokumentiert.
11
+
12
+ ### interface: LoggerOptions
13
+ Rolle: config (Sichtbarkeit: public, Priorität: normal)
14
+ Signatur: `interface LoggerOptions {
15
+ component: string;
16
+ }`
17
+ ```ts
18
+ interface LoggerOptions {
19
+ component: string;
20
+ }
21
+ ```
22
+
23
+ Eigenschaften:
24
+
25
+ | Name | Typ | Optional |
26
+ |------|-----|----------|
27
+ | `component` | `string` | nein |
28
+
29
+ ### method: Logger.error
30
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
31
+ Signatur: `error(message: string, err: unknown): void`
32
+ ```ts
33
+ error(message: string, err: unknown): void
34
+ ```
35
+
36
+ Parameter:
37
+
38
+ | Name | Typ | Optional | Default |
39
+ |------|-----|----------|---------|
40
+ | `err` | `unknown` | nein | nein |
41
+ | `message` | `string` | nein | nein |
42
+
43
+ Rückgabewert: `void`
44
+
45
+ ### method: Logger.info
46
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
47
+ Signatur: `info(message: string): void`
48
+ ```ts
49
+ info(message: string): void
50
+ ```
51
+
52
+ Parameter:
53
+
54
+ | Name | Typ | Optional | Default |
55
+ |------|-----|----------|---------|
56
+ | `message` | `string` | nein | nein |
57
+
58
+ Rückgabewert: `void`
59
+
60
+ ### method: Logger.warn
61
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
62
+ Signatur: `warn(message: string): void`
63
+ ```ts
64
+ warn(message: string): void
65
+ ```
66
+
67
+ Parameter:
68
+
69
+ | Name | Typ | Optional | Default |
70
+ |------|-----|----------|---------|
71
+ | `message` | `string` | nein | nein |
72
+
73
+ Rückgabewert: `void`
74
+
75
+ ### variable: Logger.component
76
+ Rolle: other (Sichtbarkeit: internal, Priorität: low)
77
+ Signatur: `component: string`
78
+ ```ts
79
+ component: string
80
+ ```
81
+
82
+ ### type: LogLevel
83
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
84
+ Signatur: `type LogLevel`
85
+ ```ts
86
+ type LogLevel
87
+ ```
@@ -0,0 +1,69 @@
1
+ # Modul: src/parsers/dependencies.ts
2
+
3
+ ## Relevante ADRs
4
+
5
+ - [ADR-036: Enhanced Dependency Metadata (Aliasing, Type-Only, Re-Exports)](../adr/036-enhanced-dependency-metadata.md)
6
+
7
+ ### interface: ModuleDependency
8
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
9
+ Signatur: `interface ModuleDependency {
10
+ from: string;
11
+ to: string;
12
+ type: 'import' | 'export' | 'require';
13
+ symbols?: string[];
14
+ isTypeOnly?: boolean;
15
+ isReexport?: boolean;
16
+ }`
17
+ ```ts
18
+ interface ModuleDependency {
19
+ from: string;
20
+ to: string;
21
+ type: 'import' | 'export' | 'require';
22
+ symbols?: string[];
23
+ isTypeOnly?: boolean;
24
+ isReexport?: boolean;
25
+ }
26
+ ```
27
+
28
+ Eigenschaften:
29
+
30
+ | Name | Typ | Optional |
31
+ |------|-----|----------|
32
+ | `from` | `string` | nein |
33
+ | `isReexport` | `boolean` | ja |
34
+ | `isTypeOnly` | `boolean` | ja |
35
+ | `symbols` | `string[]` | ja |
36
+ | `to` | `string` | nein |
37
+ | `type` | `'import' | 'export' | 'require'` | nein |
38
+
39
+ ### function: extractPythonDependencies
40
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
41
+ Signatur: `extractPythonDependencies(content: string, repoRelPath: string): ModuleDependency[]`
42
+ ```ts
43
+ extractPythonDependencies(content: string, repoRelPath: string): ModuleDependency[]
44
+ ```
45
+
46
+ Parameter:
47
+
48
+ | Name | Typ | Optional | Default |
49
+ |------|-----|----------|---------|
50
+ | `content` | `string` | nein | nein |
51
+ | `repoRelPath` | `string` | nein | nein |
52
+
53
+ Rückgabewert: `ModuleDependency[]`
54
+
55
+ ### function: extractTsJsDependencies
56
+ Rolle: other (Sichtbarkeit: public, Priorität: normal)
57
+ Signatur: `extractTsJsDependencies(sourceFile: SourceFile, repoRelPath: string): ModuleDependency[]`
58
+ ```ts
59
+ extractTsJsDependencies(sourceFile: SourceFile, repoRelPath: string): ModuleDependency[]
60
+ ```
61
+
62
+ Parameter:
63
+
64
+ | Name | Typ | Optional | Default |
65
+ |------|-----|----------|---------|
66
+ | `repoRelPath` | `string` | nein | nein |
67
+ | `sourceFile` | `SourceFile` | nein | nein |
68
+
69
+ Rückgabewert: `ModuleDependency[]`