Files
leocrm/PROGRESS.md
T

184 lines
7.4 KiB
Markdown
Raw Normal View History

# LeoPlatform — Fortschritts-Tracking
> **Letztes Update:** 2026-08-13
> **Status:** Phase A — in_progress
---
## Übersicht
| Phase | Status | Start | Ende | Tasks Done | Tasks Total |
|-------|-------|-------|------|------------|-------------|
| A — Stabilität verifizieren | `not_started` | — | — | 0 | 4 |
| B — System-Konsolidierung | `not_started` | — | — | 0 | ~50 |
| C — Core UI | `not_started` | — | — | 0 | ~18 |
| C.5 — Import/Export | `not_started` | — | — | 0 | 8 |
| D — Undo/Restore | `not_started` | — | — | 0 | ~12 |
| E — Search | `not_started` | — | — | 0 | ~24 |
| F — Agents | `not_started` | — | — | 0 | ~28 |
| G — Workflows | `not_started` | — | — | 0 | ~24 |
| H — Knowledge | `not_started` | — | — | 0 | ~18 |
| I — Integration & Workstream | `not_started` | — | — | 0 | ~25 |
| J — Self-Improvement | `not_started` | — | — | 0 | ~12 |
**Gesamt:** 0 / ~223 Tasks done
---
## Phase A — Stabilität verifizieren
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| A-VERIFY | `review` | — | ✅ Python compile, Dependencies, Frontend TSC+Build, App Import (485 routes), Redis, PostgreSQL, Worker Import, Production Health 200, Production Login 200, Auth/Resilience/Hooks 57/57 passed, Contacts/Companies/Plugins passed. ⚠️ Test-Isolation: test_tenant.py 15 failures im Batch (Einzeltests passen), DB-Lock-Konflikte. api-audit.md wiederhergestellt |
| A-TEST | `review` | — | 8-Check Pipeline: ✅ TypeScript Check (0 errors), ✅ Frontend Build (3.5s), ✅ Health 200 (prod), ✅ Login 200 (prod), ✅ Backend Tests (Auth/Resilience/Hooks 57/57, Contacts/Companies/Plugins 88/88), ✅ Frontend Tests (744/751, 7 worker crashes), ⚠️ Cross-Tenant: 7/8 passed, 1 failed (RLS policy not found — conftest.py nutzt create_all statt Alembic, RLS-Policies aus Migration 0004/0078 werden nicht erstellt), ⚠️ Test-Isolation: test_tenant.py 15 batch failures (DB-Lock-Konflikte, Einzeltests passen). RLS-Problem = T-RLS Task |
| A-PERF | `review` | — | ✅ Production Baseline: Health 33-74ms (avg ~45ms), Login 22-63ms (avg ~48ms), API Docs 404 (nicht deployed). Frontend Build 3.5s. pytest collect 2.5s. Keine DB-Query-Counts messbar ohne App-Start mit Profiling |
| A-RESTORE | `review` | — | ✅ `scripts/restore_test.sh` existiert (109 Zeilen), prüft: DB-Restore, Migrationen, Data-Integrity, RLS. Benötigt `TEST_DATABASE_URL` um zu laufen. Noch nicht als ARQ-Cron-Job eingerichtet — das ist ein Phase A Folgetask |
| A-DOC | `review` | — | ✅ `docs/test-strategy.md` aktualisiert: 8-Check-Pipeline verbindlich, Phase A Verifikationsergebnisse dokumentiert, 4 Test-Infrastruktur-Probleme bestätigt (RLS, Test-Isolation, Vitest Worker-Crashes, pytest-Laufzeit) |
---
## Phase B — System-Konsolidierung
### B.1 Zentraler LLM Client
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-LLM | `not_started` | — | — |
| B-LLM-MIG | `not_started` | — | — |
| B-LLM-TEST | `not_started` | — | — |
| B-LLM-DOC | `not_started` | — | — |
### B.2 Zentraler Redis Pool
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-RED | `not_started` | — | — |
| B-RED-TEST | `not_started` | — | — |
### B.2b pgvector HNSW Optimierung
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-VEC | `not_started` | — | — |
| B-VEC-IVF | `not_started` | — | — |
| B-VEC-BATCH | `not_started` | — | — |
| B-VEC-TEST | `not_started` | — | — |
### B.3 Gemeinsamer File Storage
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-STOR | `not_started` | — | — |
| B-STOR-MIG | `not_started` | — | — |
| B-STOR-TEST | `not_started` | — | — |
### B.4 WebSocket Helpers
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-WS | `not_started` | — | — |
| B-WS-TEST | `not_started` | — | — |
### B.5 Event-System Rollen dokumentieren
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-EVT | `not_started` | — | — |
| B-EVT-DOC | `not_started` | — | — |
### B.6 Schema Authority definieren
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-SCHEMA | `not_started` | — | — |
### B.7 Plugin-Guide (klein)
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-PLUGIN | `not_started` | — | — |
| B-PLUGIN-MANIFEST | `not_started` | — | — |
| B-PLUGIN-FE | `not_started` | — | — |
| B-PLUGIN-MINIAPP-WIRE | `not_started` | — | — |
| B-PLUGIN-UI-CONTRACT | `not_started` | — | — |
| B-PLUGIN-GUIDE | `not_started` | — | — |
### B.8 Rate-Limiting Konsistenz
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-RL | `not_started` | — | — |
### B.9 Sensitive Data Boundary
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-SENS | `not_started` | — | — |
### B.10 Lifecycle Hooks & relevante Outbox Events
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-HOOK-CORE | `not_started` | — | — |
| B-HOOK-MAIL | `not_started` | — | — |
| B-HOOK-DMS | `not_started` | — | — |
| B-HOOK-CAL | `not_started` | — | — |
| B-HOOK-TASK | `not_started` | — | — |
| B-HOOK-COMM | `not_started` | — | — |
| B-HOOK-AI | `not_started` | — | — |
| B-HOOK-WF | `not_started` | — | — |
| B-HOOK-TAG | `not_started` | — | — |
| B-HOOK-SEARCH | `not_started` | — | — |
| B-EVT-OUTBOX | `not_started` | — | — |
| B-HOOK-TEST | `not_started` | — | — |
| B-HOOK-DOC | `not_started` | — | — |
### B.11 Trigger-Kern konsolidieren
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-TRIG-GEN | `not_started` | — | — |
| B-TRIG-UI | `not_started` | — | — |
| B-TRIG-CRON | `not_started` | — | — |
| B-TRIG-MAN | `not_started` | — | — |
| B-TRIG-TEST | `not_started` | — | — |
| B-TRIG-DOC | `not_started` | — | — |
### B.12 Notification → Message-System
| Task | Status | Forgejo Issue | Verifiziert |
|------|-------|---------------|------------|
| B-NOTIF-SYS | `not_started` | — | — |
| B-NOTIF-EVT | `not_started` | — | — |
| B-NOTIF-UI | `not_started` | — | — |
| B-NOTIF-PREF | `not_started` | — | — |
| B-NOTIF-MIG | `not_started` | — | — |
| B-NOTIF-DEPREC | `not_started` | — | — |
| B-NOTIF-TEST | `not_started` | — | — |
---
## Phasen C-J
Detaillierte Task-Listen werden beim Start der jeweiligen Phase eingetragen. Siehe `PLATFORM_ROADMAP.md` für alle Tasks.
---
## Blockierte Tasks
| Task | Grund | Blockiert seit | Lösung |
|------|-------|----------------|--------|
| — | — | — | — |
---
## Verifizierte Phase-Gate-Reviews
| Phase | 8-Check-Pipeline | Deploy | Doku | Performance | Frontend-Tests | Abgeschlossen |
|-------|------------------|--------|------|------------|----------------|----------------|
| — | — | — | — | — | — | — |
---
*Diese Datei wird vom Agent bei jedem Task-Status-Wechsel aktualisiert. Sie ist die schnelle Übersicht über den Fortschritt. Detaillierte Diskussion und Bug-Tracking laufen über Forgejo Issues.*