@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
package/README.md ADDED
@@ -0,0 +1,663 @@
1
+ <p align="center">
2
+ <img src="https://via.placeholder.com/120x120/2563EB/FFFFFF?text=NX" alt="Noyrax Logo" width="120" height="120">
3
+ </p>
4
+
5
+ <h1 align="center">Noyrax</h1>
6
+
7
+ <p align="center">
8
+ <strong>Documentation that never drifts.</strong><br>
9
+ Automatische Dokumentationsgenerierung mit Validierung und Drift-Detection für moderne Entwicklungsteams.
10
+ </p>
11
+
12
+ <p align="center">
13
+ <a href="https://github.com/noyrax/noyrax/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/noyrax/noyrax/ci.yml?style=flat-square&label=CI" alt="CI"></a>
14
+ <a href="https://www.npmjs.com/package/@noyrax/cli"><img src="https://img.shields.io/npm/v/@noyrax/cli?style=flat-square&color=2563EB&label=npm" alt="npm version"></a>
15
+ <a href="https://github.com/noyrax/noyrax/stargazers"><img src="https://img.shields.io/github/stars/noyrax/noyrax?style=flat-square&color=F59E0B" alt="GitHub stars"></a>
16
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" alt="License"></a>
17
+ </p>
18
+
19
+ <p align="center">
20
+ <a href="#features">Features</a> •
21
+ <a href="#quick-start">Quick Start</a> •
22
+ <a href="#usage">Usage</a> •
23
+ <a href="#ai-integration">AI Integration</a> •
24
+ <a href="#mehrdimensionaler-navigationsraum">Navigationsraum</a> •
25
+ <a href="#pricing">Pricing</a> •
26
+ <a href="#contributing">Contributing</a>
27
+ </p>
28
+
29
+ <p align="center">
30
+ <strong>Version 1.0.4</strong> •
31
+ <a href="docs/adr/">27 Architecture Decision Records</a> •
32
+ <a href="docs/system/SYSTEM_ANALYSIS.md">Systemanalyse</a>
33
+ </p>
34
+
35
+ ---
36
+
37
+ ## Das Problem
38
+
39
+ > **80% der Dokumentation ist veraltet.** Entwickler ändern Code, aber nicht die Docs. Reviews fangen es nicht auf. CI prüft es nicht.
40
+
41
+ Noyrax löst das:
42
+
43
+ ```diff
44
+ - ❌ Manuelle Docs → veralten sofort
45
+ - ❌ TypeDoc/JSDoc → keine Validierung
46
+ - ❌ "Docs later" → passiert nie
47
+
48
+ + ✅ Automatische Generierung aus Code
49
+ + ✅ Drift-Detection bei jeder Änderung
50
+ + ✅ CI/CD-Integration mit Merge-Blocking
51
+ ```
52
+
53
+ ---
54
+
55
+ ## Features
56
+
57
+ <table>
58
+ <tr>
59
+ <td width="33%">
60
+
61
+ ### 🔄 Auto-Generate
62
+
63
+ Generiert Markdown-Dokumentation aus Code – deterministisch und reproduzierbar.
64
+
65
+ - TypeScript/JavaScript
66
+ - Python
67
+ - JSON/YAML Configs
68
+ - Multi-Language Support
69
+
70
+ </td>
71
+ <td width="33%">
72
+
73
+ ### 🛡️ Drift-Detection
74
+
75
+ Erkennt automatisch, wenn Code und Dokumentation auseinanderlaufen.
76
+
77
+ - Signatur-Validierung
78
+ - Coverage-Metriken
79
+ - Change-Tracking
80
+ - Inkrementelle Updates
81
+
82
+ </td>
83
+ <td width="33%">
84
+
85
+ ### 🤖 AI-Native
86
+
87
+ Built for Cursor, Copilot & Claude mit MCP-Server und strukturierten Workflows.
88
+
89
+ - MCP-Server Integration (99 Resources)
90
+ - Impact-Analyse
91
+ - ADR-Generierung
92
+ - Cursor Rules
93
+
94
+ </td>
95
+ </tr>
96
+ <tr>
97
+ <td width="33%">
98
+
99
+ ### 🧠 Semantische Intelligenz
100
+
101
+ Rollenbasierte Dokumentationstiefe und intelligente Signatur-Formatierung.
102
+
103
+ - **SignatureFormatter** ([ADR-020](docs/adr/020-api-doc-tiefe-und-signatureformatter.md)): Zentrale Signatur-Formatierung
104
+ - **SymbolClassifier** ([ADR-021](docs/adr/021-semantic-api-docs-and-symbol-classifier.md)): Rollenbasierte Klassifizierung (service-api, domain-model, config, infra, other)
105
+ - **Semantisches Rendering** ([ADR-022](docs/adr/022-semantic-class-and-constants-rendering.md)): Strukturierte Klassen- und Konstanten-Darstellung
106
+
107
+ </td>
108
+ <td width="33%">
109
+
110
+ ### 🗺️ Mehrdimensionaler Navigationsraum
111
+
112
+ Koordinaten-System mit 5 Dimensionen für KI-Agenten-Navigation.
113
+
114
+ - **Modul-Raum (X)**: API-Dokumentation pro Datei
115
+ - **Symbol-Raum (Y)**: Symbole mit Dependencies
116
+ - **Beziehungs-Raum (Z)**: Modul-Abhängigkeiten
117
+ - **Wissens-Raum (W)**: Architektur-Entscheidungen (ADRs)
118
+ - **Zeit-Raum (T)**: Änderungen über die Zeit ([ADR-024](docs/adr/024-cursor-rules-mehrdimensionaler-raum.md))
119
+
120
+ </td>
121
+ <td width="33%">
122
+
123
+ ### ✅ Reality-Driven Development
124
+
125
+ Verification-Loops verhindern AI-Agent-Halluzinationen.
126
+
127
+ - **Verification-Scripts** ([ADR-026](docs/adr/026-reality-driven-development-system.md)): Architektur, ADRs, Imports
128
+ - **Pre-Commit Hooks**: Automatische Verification
129
+ - **CI/CD Integration**: GitHub Actions für Reality-Checks
130
+ - **Evidence-basierte Claims**: Code ist die einzige Wahrheitsquelle
131
+
132
+ </td>
133
+ </tr>
134
+ </table>
135
+
136
+ ---
137
+
138
+ ## Quick Start
139
+
140
+ ### Via npm (Recommended for CLI Tools)
141
+
142
+ ```bash
143
+ npm install -g @noyrax/documentation-system-plugin
144
+ ```
145
+
146
+ **Available CLI Tools:**
147
+ - `noyrax-scan` - Scan codebase for documentation
148
+ - `noyrax-validate` - Validate documentation consistency
149
+ - `noyrax-generate` - Generate documentation
150
+ - `noyrax-verify-adrs` - Verify ADR claims against code
151
+ - `noyrax-verify-architecture` - Verify architecture rules
152
+ - `noyrax-verify-imports` - Verify import availability
153
+ - `noyrax-verify-all` - Run all verification checks
154
+
155
+ **Example:**
156
+ ```bash
157
+ # Scan codebase
158
+ noyrax-scan
159
+
160
+ # Generate documentation
161
+ noyrax-generate
162
+
163
+ # Validate documentation
164
+ noyrax-validate
165
+
166
+ # Verify ADRs
167
+ noyrax-verify-adrs
168
+ ```
169
+
170
+ ### Via VS Code Extension
171
+
172
+ ### Option 1: VS Code Extension
173
+
174
+ ```bash
175
+ # Extension installieren
176
+ code --install-extension noyrax.noyrax
177
+
178
+ # Oder über VS Code Marketplace suchen: "Noyrax"
179
+ ```
180
+
181
+ ### Option 2: CLI (für CI/CD)
182
+
183
+ ```bash
184
+ # Global installieren
185
+ npm install -g @noyrax/cli
186
+
187
+ # Oder als Dev-Dependency
188
+ npm install -D @noyrax/cli
189
+
190
+ # Projekt für Noyrax vorbereiten (.cursor/rules + mcp.json)
191
+ npx noyrax init
192
+
193
+ # Später Rules aktualisieren
194
+ npx noyrax update
195
+
196
+ # Installation prüfen
197
+ npx noyrax info
198
+
199
+ # Hinweis:
200
+ # Die eigentliche Pipeline (Scan → Generate → Validate)
201
+ # läuft heute über die VS Code Extension bzw. den MCP-Server,
202
+ # nicht direkt über das CLI.
203
+ ```
204
+
205
+ ### Option 3: Mit AI-Agent (Cursor)
206
+
207
+ ```bash
208
+ # Cursor Rules & MCP-Konfiguration initialisieren
209
+ npx noyrax init
210
+
211
+ # Projekt in Cursor öffnen
212
+ # - Die .cursor/rules werden automatisch geladen
213
+ # - Der MCP-Server \"doc-validation\" steht zur Verfügung
214
+
215
+ # In Cursor/VS Code:
216
+ # - Noyrax-Extension installieren
217
+ # - MCP-Tools verwenden:
218
+ # validation/runScan
219
+ # validation/runValidate
220
+ # validation/runDriftCheck
221
+ # validation/analyzeImpact
222
+ ```
223
+
224
+ ---
225
+
226
+ ## Usage
227
+
228
+ ### VS Code Commands
229
+
230
+ | Command | Shortcut | Beschreibung |
231
+ |---------|----------|--------------|
232
+ | `Noyrax: Scan` | `Ctrl+Shift+N S` | Projekt scannen |
233
+ | `Noyrax: Generate` | `Ctrl+Shift+N G` | Docs generieren |
234
+ | `Noyrax: Validate` | `Ctrl+Shift+N V` | Validierung ausführen |
235
+ | `Noyrax: Full Cycle` | `Ctrl+Shift+N F` | Scan → Generate → Validate |
236
+
237
+ ### CLI Commands
238
+
239
+ - `npx noyrax init` – Projekt für Noyrax vorbereiten (`.cursor/rules/` + `mcp.json`)
240
+ - `npx noyrax update` – Rules auf die neueste Version bringen
241
+ - `npx noyrax info` – Versionen und enthaltene Rules anzeigen
242
+
243
+ > **Hinweis:** Befehle wie `noyrax scan`, `noyrax generate`, `noyrax validate`, `noyrax drift` oder `noyrax impact`
244
+ > sind in der aktuellen Version noch nicht als CLI-Unterbefehle implementiert.
245
+ > Die entsprechenden Funktionen stehen über die VS Code Extension und die MCP-Tools
246
+ > (`validation/runScan`, `validation/runValidate`, `validation/runDriftCheck`, `validation/analyzeImpact`) zur Verfügung.
247
+
248
+ ### Konfiguration
249
+
250
+ Erstelle `noyrax.config.json` im Projekt-Root:
251
+
252
+ ```json
253
+ {
254
+ "include": ["src/**/*.ts", "lib/**/*.ts"],
255
+ "exclude": ["**/*.test.ts", "**/*.spec.ts", "node_modules/**"],
256
+ "output": {
257
+ "modules": "docs/modules",
258
+ "system": "docs/system",
259
+ "index": "docs/index"
260
+ },
261
+ "validation": {
262
+ "coverage": {
263
+ "classes": 0.9,
264
+ "functions": 0.8,
265
+ "interfaces": 0.9
266
+ },
267
+ "blockOnDrift": true
268
+ }
269
+ }
270
+ ```
271
+
272
+ ---
273
+
274
+ ## AI Integration
275
+
276
+ Noyrax ist **AI-native** – designed für die Zusammenarbeit mit Cursor, Copilot und anderen AI-Assistenten.
277
+
278
+ ### MCP-Server ([ADR-025](docs/adr/025-mcp-tools-scan-validate-cli-bridge.md))
279
+
280
+ Der MCP-Server ermöglicht strukturierte Kommunikation zwischen AI-Agent und Noyrax:
281
+
282
+ **99 Resources verfügbar:**
283
+ - **4 System-Resources**: `docs://system/graph`, `docs://system/dependencies`, `docs://system/changes`, `docs://index/symbols.jsonl`
284
+ - **71 Modul-Resources**: `docs://modules/{path}` (dynamisch geladen)
285
+ - **24 ADR-Resources**: `docs://adr/{name}` (dynamisch geladen)
286
+
287
+ **Tools (CLI-Bridge-Pattern):**
288
+ ```typescript
289
+ validation/runScan // Scan via npm run scan:cli
290
+ validation/runValidate // Validate via npm run validate:cli
291
+ validation/runDriftCheck // Drift erkennen
292
+ validation/analyzeImpact // Impact-Analyse via Symbol-Index
293
+ ```
294
+
295
+ ### Cursor Rules
296
+
297
+ Noyrax liefert vorgefertigte `.cursor/rules/` für strukturierte Workflows:
298
+
299
+ ```
300
+ ├── 000-orchestrator.mdc # Zentrale Workflow-Steuerung
301
+ ├── 001-pre-check.mdc # Pflichtschritte vor Änderungen
302
+ ├── 002-system-context.mdc # Mehrdimensionaler Navigationsraum
303
+ ├── 020-validate-workflow.mdc # Validierungs-Workflow
304
+ ├── 021-impact-analysis.mdc # Impact-Analyse
305
+ ├── 026-reality-driven-verification.mdc # Verification-Loops
306
+ └── 030-constraints.mdc # Architektur-Constraints
307
+ ```
308
+
309
+ ### Workflow-Beispiel
310
+
311
+ ```
312
+ 1. Agent liest Docs vor Änderung (Pre-Check, Systemkontext)
313
+ 2. Agent ändert max. 3 Dateien
314
+ 3. Agent ruft validation/runValidate auf
315
+ 4. Bei Drift → Agent korrigiert
316
+ 5. Bei signifikanter Änderung → ADR generieren
317
+ 6. Verification-Scripts prüfen Reality (Pre-Commit Hook)
318
+ ```
319
+
320
+ ### Reality-Driven Development ([ADR-026](docs/adr/026-reality-driven-development-system.md))
321
+
322
+ **Grundprinzip:** Code ist die einzige Wahrheitsquelle. Dokumentation und ADRs können veraltet sein.
323
+
324
+ **Verification-Loops:**
325
+ - **Vor Implementierung:** Reality-Check (Dateien, Funktionen, Imports verifizieren)
326
+ - **Während Implementierung:** Incremental Verification (sofort kompilieren, sofort testen)
327
+ - **Nach Implementierung:** End-to-End Verification (`npm run verify:all`)
328
+
329
+ **Verification-Scripts:**
330
+ - `scripts/verify-architecture.js` - Architektur-Regeln prüfen
331
+ - `scripts/verify-adrs.js` - ADR-Claims gegen Code prüfen
332
+ - `scripts/verify-imports.js` - Import-Verfügbarkeit prüfen
333
+
334
+ **Automation:**
335
+ - Pre-Commit Hook (`.husky/pre-commit`)
336
+ - GitHub Actions (`.github/workflows/verification.yml`)
337
+ - VS Code Tasks (`.vscode/tasks.json`)
338
+
339
+ ---
340
+
341
+ ## Mehrdimensionaler Navigationsraum ([ADR-024](docs/adr/024-cursor-rules-mehrdimensionaler-raum.md))
342
+
343
+ Noyrax generiert ein **Koordinaten-System** mit 5 Dimensionen, das KI-Agenten ermöglicht, sich im Code-Raum zu bewegen:
344
+
345
+ | Dimension | Artefakt | Funktion | MCP-Server Resource |
346
+ |-----------|----------|----------|---------------------|
347
+ | **Modul-Raum (X)** | `docs/modules/*.md` | API-Dokumentation pro Datei | `docs://modules/{path}` |
348
+ | **Symbol-Raum (Y)** | `docs/index/symbols.jsonl` | Symbole mit Dependencies | `docs://index/symbols.jsonl` |
349
+ | **Beziehungs-Raum (Z)** | `docs/system/DEPENDENCY_GRAPH.md` | Modul-Abhängigkeiten | `docs://system/graph` |
350
+ | **Wissens-Raum (W)** | `docs/adr/*.md` | Architektur-Entscheidungen (Landkarte) | `docs://adr/{name}` |
351
+ | **Zeit-Raum (T)** | `docs/system/CHANGE_REPORT.md` | Änderungen über die Zeit | `docs://system/changes` |
352
+
353
+ ### Navigation-Beispiel für KI-Agenten
354
+
355
+ ```typescript
356
+ // 1. Modul-Dokumentation lesen (Modul-Raum)
357
+ const moduleDoc = await readDocsResource('docs://modules/src__parsers__ts-js.ts.md');
358
+
359
+ // 2. Dependency-Graph abrufen (Beziehungs-Raum)
360
+ const graph = await readDocsResource('docs://system/graph');
361
+
362
+ // 3. Change Report abrufen (Zeit-Raum)
363
+ const changes = await readDocsResource('docs://system/changes');
364
+
365
+ // 4. ADRs lesen (Wissens-Raum)
366
+ const adrs = await readDocsResource('docs://adr/020-api-doc-tiefe-und-signatureformatter.md');
367
+
368
+ // 5. Impact-Analyse durchführen
369
+ const impact = await analyzeImpact({
370
+ file: 'src/parsers/ts-js.ts',
371
+ symbol: 'TsJsParser'
372
+ });
373
+ ```
374
+
375
+ ### ADR-Verknüpfung ([ADR-023](docs/adr/023-adr-verknuepfung-modul-doku.md))
376
+
377
+ Module zeigen automatisch relevante ADRs:
378
+ - **Module → ADR**: Welche Architektur-Entscheidungen betreffen dieses Modul?
379
+ - **ADR → Module**: Welche Module implementieren diese Entscheidung?
380
+
381
+ ---
382
+
383
+ ## Output-Struktur
384
+
385
+ Noyrax generiert eine deterministische Dokumentationsstruktur:
386
+
387
+ ```
388
+ docs/
389
+ ├── modules/ # Pro-Datei Dokumentation (Modul-Raum)
390
+ │ ├── src__core__scanner.ts.md
391
+ │ ├── src__parser__typescript.ts.md
392
+ │ └── ...
393
+ │ # Enthält: API-Signaturen, ADR-Links, semantisches Rendering
394
+ ├── system/ # System-weite Übersichten
395
+ │ ├── DEPENDENCIES.md # Import-Übersicht pro Modul
396
+ │ ├── DEPENDENCY_GRAPH.md # Mermaid-Graph (Beziehungs-Raum)
397
+ │ └── CHANGE_REPORT.md # Änderungsprotokoll (Zeit-Raum)
398
+ ├── index/ # Schneller Symbol-Index (Symbol-Raum)
399
+ │ └── symbols.jsonl # Symbole mit Dependencies (JSONL-Format)
400
+ └── adr/ # Architecture Decision Records (Wissens-Raum)
401
+ ├── 020-api-doc-tiefe-und-signatureformatter.md
402
+ ├── 021-semantic-api-docs-and-symbol-classifier.md
403
+ ├── 022-semantic-class-and-constants-rendering.md
404
+ ├── 023-adr-verknuepfung-modul-doku.md
405
+ ├── 024-cursor-rules-mehrdimensionaler-raum.md
406
+ ├── 025-mcp-tools-scan-validate-cli-bridge.md
407
+ ├── 026-reality-driven-development-system.md
408
+ ├── 027-scanner-excludes-and-union-logic-fix.md
409
+ └── ...
410
+ ```
411
+
412
+ ### Modul-Dokumentation Features
413
+
414
+ Jede Modul-Dokumentation (`docs/modules/*.md`) enthält:
415
+
416
+ - **API-Signaturen**: Formatierung via SignatureFormatter ([ADR-020](docs/adr/020-api-doc-tiefe-und-signatureformatter.md))
417
+ - **Semantische Klassifizierung**: Rollenbasierte Doku-Tiefe via SymbolClassifier ([ADR-021](docs/adr/021-semantic-api-docs-and-symbol-classifier.md))
418
+ - **Semantisches Rendering**: Strukturierte Klassen- und Konstanten-Darstellung ([ADR-022](docs/adr/022-semantic-class-and-constants-rendering.md))
419
+ - **ADR-Verknüpfungen**: Automatische Links zu relevanten Architektur-Entscheidungen ([ADR-023](docs/adr/023-adr-verknuepfung-modul-doku.md))
420
+
421
+ ### Change Report (Zeit-Raum)
422
+
423
+ Der Change Report (`docs/system/CHANGE_REPORT.md`) zeigt:
424
+ - Neu hinzugefügte Symbole
425
+ - Geänderte Signaturen
426
+ - Dependency-Änderungen
427
+ - Ermöglicht Änderungsmuster zu erkennen
428
+
429
+ ---
430
+
431
+ ## CI/CD Integration
432
+
433
+ ### GitHub Actions
434
+
435
+ ```yaml
436
+ name: Noyrax Validation
437
+
438
+ on: [push, pull_request]
439
+
440
+ jobs:
441
+ validate-docs:
442
+ runs-on: ubuntu-latest
443
+ steps:
444
+ - uses: actions/checkout@v4
445
+
446
+ - name: Setup Node.js
447
+ uses: actions/setup-node@v4
448
+ with:
449
+ node-version: '20'
450
+
451
+ - name: Install Dependencies
452
+ run: npm ci
453
+
454
+ - name: Run Noyrax
455
+ uses: noyrax/action@v1
456
+ with:
457
+ command: validate
458
+ fail-on-drift: true
459
+
460
+ - name: Comment PR
461
+ if: github.event_name == 'pull_request'
462
+ uses: noyrax/action@v1
463
+ with:
464
+ command: comment
465
+ github-token: ${{ secrets.GITHUB_TOKEN }}
466
+ ```
467
+
468
+ ### Pre-commit Hook
469
+
470
+ ```bash
471
+ # .husky/pre-commit
472
+ npx noyrax validate --quick
473
+ ```
474
+
475
+ ---
476
+
477
+ ## Pricing
478
+
479
+ <table>
480
+ <tr>
481
+ <th width="25%">Free</th>
482
+ <th width="25%">Pro</th>
483
+ <th width="25%">Team</th>
484
+ <th width="25%">Enterprise</th>
485
+ </tr>
486
+ <tr>
487
+ <td><h3>$0</h3><small>forever</small></td>
488
+ <td><h3>$19</h3><small>/month</small></td>
489
+ <td><h3>$49</h3><small>/seat/month</small></td>
490
+ <td><h3>Custom</h3><small>contact us</small></td>
491
+ </tr>
492
+ <tr>
493
+ <td>
494
+
495
+ ✅ VS Code Extension<br>
496
+ ✅ CLI & MCP-Server<br>
497
+ ✅ Local Drift-Detection<br>
498
+ ✅ Unlimited Projects<br>
499
+
500
+ </td>
501
+ <td>
502
+
503
+ Everything in Free, plus:<br><br>
504
+ ✅ Cloud Dashboard<br>
505
+ ✅ Email Drift-Alerts<br>
506
+ ✅ Priority Support<br>
507
+ ✅ Custom Themes<br>
508
+
509
+ </td>
510
+ <td>
511
+
512
+ Everything in Pro, plus:<br><br>
513
+ ✅ Team Analytics<br>
514
+ ✅ Slack/Teams Integration<br>
515
+ ✅ Shared Configurations<br>
516
+ ✅ Role-based Access<br>
517
+
518
+ </td>
519
+ <td>
520
+
521
+ Everything in Team, plus:<br><br>
522
+ ✅ SSO / SAML<br>
523
+ ✅ Audit Logs<br>
524
+ ✅ Compliance Reports<br>
525
+ ✅ Dedicated Support<br>
526
+
527
+ </td>
528
+ </tr>
529
+ </table>
530
+
531
+ ---
532
+
533
+ ## Supported Languages
534
+
535
+ | Language | Status | Features |
536
+ |----------|--------|----------|
537
+ | TypeScript/JavaScript | ✅ Full | Classes, Functions, Interfaces, Types |
538
+ | Python | ✅ Full | Classes, Functions, Decorators |
539
+ | JSON/YAML | ✅ Full | Schema extraction |
540
+ | Markdown | ✅ Full | Frontmatter, Links |
541
+ | Go | 🚧 Beta | Functions, Structs |
542
+ | Rust | 📋 Planned | Coming Q1 2026 |
543
+ | Java/Kotlin | 📋 Planned | Coming Q2 2026 |
544
+
545
+ ---
546
+
547
+ ## Strategische Vision
548
+
549
+ - **[`../../VISION.md`](../../VISION.md)** - Vision: Autonome KI-gesteuerte Softwareentwicklung
550
+ - **[`../../INNOVATION_ANALYSIS.md`](../../INNOVATION_ANALYSIS.md)** - Innovations-Analyse: Was macht das System besonders?
551
+ - **[`../../PROBLEM_SOLUTION_MAPPING.md`](../../PROBLEM_SOLUTION_MAPPING.md)** - Problem-Lösung-Mapping
552
+ - **[`../../AI_CODING_IMPLICATIONS.md`](../../AI_CODING_IMPLICATIONS.md)** - AI-Coding Implications
553
+ - **[`../../BUSINESS_IMPACT.md`](../../BUSINESS_IMPACT.md)** - Business Impact: Kosteneinsparungen
554
+ - **[`../../QUALITY_IMPROVEMENT.md`](../../QUALITY_IMPROVEMENT.md)** - Qualitätsverbesserung
555
+ - **[`../../DOMAIN_TRANSFERABILITY.md`](../../DOMAIN_TRANSFERABILITY.md)** - Domänen-Transferfähigkeit
556
+
557
+ ## Contributing
558
+
559
+ Contributions sind willkommen! Siehe [CONTRIBUTING.md](CONTRIBUTING.md) für Details.
560
+
561
+ ```bash
562
+ # Repository klonen
563
+ git clone https://github.com/noyrax/noyrax.git
564
+ cd noyrax
565
+
566
+ # Dependencies installieren
567
+ npm install
568
+
569
+ # Development Build
570
+ npm run compile
571
+
572
+ # Tests ausführen
573
+ npm test
574
+
575
+ # Extension testen (F5 in VS Code)
576
+ ```
577
+
578
+ ### Development Workflow
579
+
580
+ 1. Issue erstellen oder existierendes Issue übernehmen
581
+ 2. Branch erstellen: `git checkout -b feature/my-feature`
582
+ 3. Änderungen implementieren (max. 3 Dateien pro Commit)
583
+ 4. Tests schreiben und ausführen
584
+ 5. `npm run validate` ausführen
585
+ 6. Pull Request erstellen
586
+
587
+ ---
588
+
589
+ ## Roadmap
590
+
591
+ - [x] **v1.0** – Core: Scan, Generate, Validate
592
+ - [x] **v1.1** – Inkrementelle Generierung
593
+ - [x] **v1.2** – MCP-Server & Cursor Rules
594
+ - [x] **v1.0.4** – Semantische Intelligenz & Mehrdimensionaler Raum
595
+ - SignatureFormatter & SymbolClassifier ([ADR-020](docs/adr/020-api-doc-tiefe-und-signatureformatter.md), [ADR-021](docs/adr/021-semantic-api-docs-and-symbol-classifier.md))
596
+ - Semantisches Rendering ([ADR-022](docs/adr/022-semantic-class-and-constants-rendering.md))
597
+ - ADR-Linking ([ADR-023](docs/adr/023-adr-verknuepfung-modul-doku.md))
598
+ - Mehrdimensionaler Navigationsraum ([ADR-024](docs/adr/024-cursor-rules-mehrdimensionaler-raum.md))
599
+ - MCP-Server CLI-Bridge ([ADR-025](docs/adr/025-mcp-tools-scan-validate-cli-bridge.md))
600
+ - Reality-Driven Development ([ADR-026](docs/adr/026-reality-driven-development-system.md))
601
+ - Scanner-Excludes Fix ([ADR-027](docs/adr/027-scanner-excludes-and-union-logic-fix.md))
602
+ - [ ] **v1.3** – GitHub Action (Q1 2026)
603
+ - [ ] **v1.4** – Cloud Dashboard (Q2 2026)
604
+ - [ ] **v2.0** – Team Features (Q3 2026)
605
+
606
+ ---
607
+
608
+ ## Architecture
609
+
610
+ ```
611
+ ┌─────────────────────────────────────────────────────────────┐
612
+ │ Noyrax │
613
+ ├─────────────────────────────────────────────────────────────┤
614
+ │ │
615
+ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
616
+ │ │ Scanner │ │ Generator │ │ Validator │ │
617
+ │ │ │ │ │ │ │ │
618
+ │ │ - File I/O │ │ - Markdown │ │ - Drift │ │
619
+ │ │ - Git Diff │ │ - Templates │ │ - Coverage │ │
620
+ │ │ - Parsers │ │ - Index │ │ - Reports │ │
621
+ │ └──────────────┘ └──────────────┘ └──────────────┘ │
622
+ │ │ │ │ │
623
+ │ └─────────────────┼─────────────────┘ │
624
+ │ │ │
625
+ │ ┌──────────────┐ │
626
+ │ │ Cache │ │
627
+ │ │ - AST │ │
628
+ │ │ - Signatures│ │
629
+ │ │ - Output │ │
630
+ │ │ - Dependencies│ │
631
+ │ └──────────────┘ │
632
+ │ │ │
633
+ │ ┌──────────────┐ │
634
+ │ │ Core │ │
635
+ │ │ - Signature │ │
636
+ │ │ Formatter │ │
637
+ │ │ - Symbol │ │
638
+ │ │ Classifier│ │
639
+ │ │ - ADR │ │
640
+ │ │ Linker │ │
641
+ │ └──────────────┘ │
642
+ │ │
643
+ ├─────────────────────────────────────────────────────────────┤
644
+ │ Mehrdimensionaler Navigationsraum (5 Dimensionen) │
645
+ │ Modul-Raum │ Symbol-Raum │ Beziehungs-Raum │ │
646
+ │ Wissens-Raum │ Zeit-Raum │
647
+ ├─────────────────────────────────────────────────────────────┤
648
+ │ Integrations: VS Code │ CLI │ MCP Server │ GitHub Action │
649
+ │ Verification: Pre-Commit │ CI/CD │ VS Code Tasks │
650
+ └─────────────────────────────────────────────────────────────┘
651
+ ```
652
+
653
+ ---
654
+
655
+ ## License
656
+
657
+ MIT © [Benjamin Behrens](https://github.com/benjamin-behrens)
658
+
659
+ ---
660
+
661
+ <p align="center">
662
+ <sub>Built with ❤️ for developers who care about documentation.</sub>
663
+ </p>
@@ -0,0 +1,27 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128">
2
+ <defs>
3
+ <linearGradient id="noyraxGradient" x1="0%" y1="0%" x2="100%" y2="100%">
4
+ <stop offset="0%" style="stop-color:#2563EB;stop-opacity:1" />
5
+ <stop offset="100%" style="stop-color:#1E3A5F;stop-opacity:1" />
6
+ </linearGradient>
7
+ </defs>
8
+
9
+ <!-- Shield Background -->
10
+ <path d="M64 8 L112 24 L112 56 C112 88 92 108 64 120 C36 108 16 88 16 56 L16 24 Z"
11
+ fill="url(#noyraxGradient)"
12
+ stroke="#1E3A5F"
13
+ stroke-width="2"/>
14
+
15
+ <!-- Document Icon -->
16
+ <rect x="40" y="36" width="48" height="56" rx="4" fill="white" opacity="0.95"/>
17
+
18
+ <!-- Document Lines -->
19
+ <line x1="48" y1="52" x2="80" y2="52" stroke="#2563EB" stroke-width="3" stroke-linecap="round"/>
20
+ <line x1="48" y1="64" x2="72" y2="64" stroke="#64748B" stroke-width="2" stroke-linecap="round"/>
21
+ <line x1="48" y1="74" x2="76" y2="74" stroke="#64748B" stroke-width="2" stroke-linecap="round"/>
22
+
23
+ <!-- Checkmark -->
24
+ <circle cx="76" cy="82" r="12" fill="#10B981"/>
25
+ <path d="M70 82 L74 86 L82 78" stroke="white" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
26
+ </svg>
27
+