CTO (LegalAI)
38973f2d63
feat: add deployment script and project README
...
- deploy.sh: pulls from Gitea, rebuilds and restarts Docker containers
- README.md: setup instructions, env vars, deployment guide
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-09 07:57:00 +00:00
CTO (LegalAI)
7dfbc42b8c
feat: contract analysis API improvements and DSGVO compliance updates
...
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-09 07:56:01 +00:00
CTO (LegalAI)
0daf65ce91
fix(decisions): enforce DSGVO tenant isolation and RBAC on decisions API
...
- GET /api/decisions: Add requirePermission('decisions:read'), use
withTenantDb() for RLS enforcement, add application-level tenant
filter (own tenant OR published+anonymized)
- POST /api/decisions: Add requirePermission('decisions:write'), use
withTenantDb(), set tenantId from authenticated session context
instead of accepting it from request body (prevents tenant spoofing)
Addresses DSGVO Art. 32 (security of processing) and Art. 5(1)(f)
(integrity and confidentiality).
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-09 00:45:55 +00:00
CTO (LegalAI)
b837f4a71e
feat: Phase 4.4 — Human-in-the-Loop APIs (AIIA-27)
...
- POST /api/analyses/:id/feedback — correction/approval/rejection workflow
- GET /api/headnotes — Leitsatz-Vorschlags-Workflow (pending headnote review)
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-09 00:24:34 +00:00
CTO (LegalAI)
78ccf64948
feat: Phase 4 — WebApp-Frontend für Bühnenrecht (AIIA-27)
...
Complete frontend implementation with Next.js App Router:
- Dashboard with case/analysis/proceeding stats and quick actions
- Normen-Browser with Quellenrang hierarchy and instrument detail
- Entscheidungssuche with full-text search and detail view
- Analysemodus with streaming AI analysis (4 modes: Gutachten, Entscheidung, Vergleich, Risiko)
- Vertragsanalyse with file upload (PDF/DOCX)
- Verfahren overview (BSchGO/ArbGG)
- Auth pages (Login/Register)
- Mandantenfähigkeit: tenant switcher, RBAC-based settings
- Responsive sidebar navigation with Tailwind CSS
- Dashboard layout with session-based auth guard
- Installed missing runtime deps (pdf-parse, mammoth, devDependencies)
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-09 00:23:09 +00:00
CTO (LegalAI)
3c16fdc30f
feat: add NV Bühne non-renewal & compensation module (Phase 3.2)
...
Implement § 61 NV Bühne non-renewal deadline calculation with tiered
protection (standard 31.10., extended 31.07. for 15+ years, special
protection for over-55), tariff-based compensation calculation with
Gagenklassen and Dienstalterszulage, and Spielzeit seasonal logic
(1.8.–31.7. with Probenzeit). Includes DB schema (contracts,
compensationRules, nonRenewalDeadlines), migration, and three API
endpoints under /api/nv-buehne/.
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-08 23:25:54 +00:00
CTO (LegalAI)
a7245001ad
feat: vollständiges Datenmodell für Normen und Entscheidungen (AIIA-15)
...
Replaces placeholder schema with full legal data model:
- Normen with temporal versioning (valid_from/valid_to), source rank hierarchy,
immutable version chains, and norm-to-norm cross-references
- Entscheidungen with structured metadata (Aktenzeichen, Gremium, Leitsatz,
Tenor, Tatbestand, Entscheidungsgründe), decision-norm links with Stichtag
- NV Bühne Fachgruppen and BSchGO Arbitration Tribunals
- Cases, Analyses, and DSGVO Audit Log
- Mandantentrennung via tenant_id + PostgreSQL Row-Level Security policies
- Initial Drizzle migration and RLS migration
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-08 21:16:40 +00:00
CTO (LegalAI)
1d61b2ad8a
Initial project structure: Next.js 15 + TypeScript + Drizzle ORM
...
- Next.js 15 with App Router, TypeScript, Tailwind CSS
- Directory structure per LegalAI architecture plan
- Docker Compose setup (PostgreSQL 16, Meilisearch, App)
- Drizzle ORM with base schema (tenants, users, norms, decisions)
- AI abstraction layer structure (Vercel AI SDK)
- Normen-Engine with Quellenrang hierarchy
- Search abstraction layer
- Auth placeholder (NextAuth.js)
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-08 21:07:22 +00:00