docs: 70 Architektur-Fehler (ARCH-001 bis ARCH-070) durch systematisches Code-Review dokumentiert
This commit is contained in:
@@ -1196,3 +1196,39 @@ Playwright E2E: 10 passed, 24 failed (BUG-011/012/013 — Mock-Daten und data-te
|
||||
- **Problem:** `connect-src 'self' wss: ws:` — WebSocket-Verbindungen zu jedem wss/ws Server erlaubt, nicht nur zum eigenen Server. Sollte `connect-src 'self'` sein.
|
||||
- **Schweregrad:** Medium
|
||||
- **Status:** ⏳ Nicht gefixt
|
||||
|
||||
### ARCH-065: automation/execution_engine.py — Core Model in Plugin-Code
|
||||
- **Datei:** app/plugins/builtins/automation/execution_engine.py:8
|
||||
- **Problem:** `from app.models.notification import Notification` — Plugin importiert Core Model. Plugin→Core ist erlaubt aber Notification ist deprecated (ARCH-050).
|
||||
- **Schweregrad:** Low
|
||||
- **Status:** ⏳ Nicht gefixt
|
||||
|
||||
### ARCH-066: SuggestionBadge.tsx — hardcoded deutsche Strings ohne i18n
|
||||
- **Datei:** frontend/src/components/ai/SuggestionBadge.tsx:28
|
||||
- **Problem:** `title="KI Vorschläge"` und `🤖` — ohne t().
|
||||
- **Schweregrad:** Low
|
||||
- **Status:** ⏳ Nicht gefixt
|
||||
|
||||
### ARCH-067: SuggestionBadge.tsx — EventSource ohne Auth
|
||||
- **Datei:** frontend/src/components/ai/SuggestionBadge.tsx:17
|
||||
- **Problem:** `new EventSource('/api/v1/ai-proactive/suggestions/stream')` — EventSource (SSE) sendet keine Cookies/CSRF-Token. Stream ist ungeschützt.
|
||||
- **Schweregrad:** High
|
||||
- **Status:** ⏳ Nicht gefixt
|
||||
|
||||
### ARCH-068: CommandPalette.tsx — hardcoded TYPE_LABELS/ICONS
|
||||
- **Datei:** frontend/src/components/search/CommandPalette.tsx:2
|
||||
- **Problem:** TODO: 'Replace hardcoded TYPE_LABELS/ICONS with dynamic config'. Hardcoded Labels und Icons für Search-Typen.
|
||||
- **Schweregrad:** Low
|
||||
- **Status:** ⏳ Nicht gefixt
|
||||
|
||||
### ARCH-069: OnboardingTour.tsx — hardcoded deutsche Fallback-Strings
|
||||
- **Datei:** frontend/src/components/onboarding/OnboardingTour.tsx:30-35
|
||||
- **Problem:** titleFallback und descFallback sind hardcoded deutsche Strings. Fallback sollte englisch sein oder leer.
|
||||
- **Schweregrad:** Low
|
||||
- **Status:** ⏳ Nicht gefixt
|
||||
|
||||
### ARCH-070: permission_resolver.py — zirkuläre Abhängigkeit mit entity_permission_service
|
||||
- **Datei:** app/services/permission_resolver.py:28
|
||||
- **Problem:** `from app.services.entity_permission_service import ENTITY_MODELS` — entity_permission_service importiert permission_resolver (Zeile 1-10). Zirkuläre Abhängigkeit.
|
||||
- **Schweregrad:** Medium
|
||||
- **Status:** ⏳ Nicht gefixt
|
||||
|
||||
Reference in New Issue
Block a user