Phase 1 — VVT Backend (localStorage → API): - migrations/006_vvt.sql: Neue Tabellen (vvt_organization, vvt_activities, vvt_audit_log) - compliance/db/vvt_models.py: SQLAlchemy-Models für alle VVT-Tabellen - compliance/api/vvt_routes.py: Vollständiger CRUD-Router (10 Endpoints) - compliance/api/__init__.py: VVT-Router registriert - compliance/api/schemas.py: VVT Pydantic-Schemas ergänzt - app/(sdk)/sdk/vvt/page.tsx: API-Client + camelCase↔snake_case Mapping, localStorage durch persistente DB-Calls ersetzt (POST/PUT/DELETE/GET) - tests/test_vvt_routes.py: 18 Tests (alle grün) Phase 3 — Document Generator PDF-Export: - document-generator/page.tsx: "Als PDF exportieren"-Button funktioniert jetzt via window.print() + Print-Window mit korrektem HTML - Fallback-Banner wenn Template-Service (breakpilot-core) nicht erreichbar Phase 4 — Source Policy erweiterte Filter: - SourcesTab.tsx: source_type-Filter (Rechtlich / Leitlinien / Vorlagen / etc.) - PIIRulesTab.tsx: category-Filter (E-Mail / Telefon / IBAN / etc.) - source_policy_router.py: Backend-Endpoints unterstützen jetzt source_type und category als Query-Parameter - requirements.txt: reportlab==4.2.5 ergänzt (fehlende Audit-PDF-Dependency) Phase 2 — Training (Migration-Skripte): - scripts/apply_training_migrations.sh: SSH-Skript für Mac Mini - scripts/apply_vvt_migration.sh: Vollständiges Deploy-Skript für VVT Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
51 lines
934 B
Plaintext
51 lines
934 B
Plaintext
# BreakPilot Compliance Backend Dependencies
|
|
|
|
# Web Framework
|
|
fastapi==0.123.9
|
|
uvicorn==0.38.0
|
|
starlette==0.49.3
|
|
|
|
# HTTP Client (consent-service proxy, DSR proxy)
|
|
httpx==0.28.1
|
|
requests==2.32.5
|
|
|
|
# Validation & Types
|
|
pydantic==2.12.5
|
|
pydantic_core==2.41.5
|
|
email-validator==2.3.0
|
|
annotated-types==0.7.0
|
|
|
|
# Authentication
|
|
PyJWT==2.10.1
|
|
python-multipart==0.0.20
|
|
|
|
# AI / Anthropic (compliance AI assistant)
|
|
anthropic==0.75.0
|
|
|
|
# PDF Generation (GDPR export, audit reports)
|
|
weasyprint==66.0
|
|
reportlab==4.2.5
|
|
Jinja2==3.1.6
|
|
|
|
# Document Processing (Word import for consent admin)
|
|
mammoth==1.11.0
|
|
Markdown==3.9
|
|
|
|
# PDF Text Extraction (document import analysis)
|
|
PyMuPDF==1.25.3
|
|
|
|
# Utilities
|
|
python-dateutil==2.9.0.post0
|
|
|
|
# Database
|
|
asyncpg==0.30.0
|
|
SQLAlchemy==2.0.36
|
|
psycopg2-binary==2.9.10
|
|
|
|
# Cache (Valkey/Redis - rate limiter middleware)
|
|
redis==5.2.1
|
|
|
|
# Security: Pin transitive dependencies to patched versions
|
|
idna>=3.7
|
|
cryptography>=42.0.0
|